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/tmpfdufgi2k 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_create_raid_pool_then_remove.yml ******************************* 1 plays in /tmp/tmprua6lrek/tests/tests_create_raid_pool_then_remove.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmprua6lrek/tests/tests_create_raid_pool_then_remove.yml:2 Wednesday 06 July 2022 08:31:47 +0000 (0:00:00.015) 0:00:00.015 ******** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [include_role : linux-system-roles.storage] ******************************* task path: /tmp/tmprua6lrek/tests/tests_create_raid_pool_then_remove.yml:17 Wednesday 06 July 2022 08:31:49 +0000 (0:00:01.301) 0:00:01.316 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 08:31:49 +0000 (0:00:00.038) 0:00:01.354 ******** included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 08:31:49 +0000 (0:00:00.032) 0:00:01.387 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 08:31:49 +0000 (0:00:00.541) 0:00:01.929 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 08:31:49 +0000 (0:00:00.057) 0:00:01.986 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 08:31:49 +0000 (0:00:00.029) 0:00:02.016 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 08:31:50 +0000 (0:00:00.030) 0:00:02.046 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 08:31:50 +0000 (0:00:00.048) 0:00:02.095 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 08:31:50 +0000 (0:00:00.019) 0:00:02.114 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 08:31:52 +0000 (0:00:02.335) 0:00:04.450 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 08:31:52 +0000 (0:00:00.034) 0:00:04.485 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 08:31:52 +0000 (0:00:00.031) 0:00:04.516 ******** ok: [/cache/fedora-35.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 08:31:53 +0000 (0:00:00.737) 0:00:05.254 ******** included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:2 Wednesday 06 July 2022 08:31:53 +0000 (0:00:00.040) 0:00:05.295 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item={'repository': 'rhawalsh/dm-vdo', 'packages': ['vdo', 'kmod-vdo']}) => { "ansible_loop_var": "repo", "changed": false, "repo": { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:13 Wednesday 06 July 2022 08:31:53 +0000 (0:00:00.048) 0:00:05.344 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable COPRs] ******************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:18 Wednesday 06 July 2022 08:31:53 +0000 (0:00:00.044) 0:00:05.389 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item={'repository': 'rhawalsh/dm-vdo', 'packages': ['vdo', 'kmod-vdo']}) => { "ansible_loop_var": "repo", "changed": false, "repo": { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 08:31:53 +0000 (0:00:00.045) 0:00:05.434 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 08:31:55 +0000 (0:00:01.823) 0:00:07.258 ******** ok: [/cache/fedora-35.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" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "alias" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "bluetooth.service": { "name": "bluetooth.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "console-login-helper-messages-gensnippet-os-release.service": { "name": "console-login-helper-messages-gensnippet-os-release.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "console-login-helper-messages-gensnippet-ssh-keys.service": { "name": "console-login-helper-messages-gensnippet-ssh-keys.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "dbus-broker.service": { "name": "dbus-broker.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.bluez.service": { "name": "dbus-org.bluez.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.oom1.service": { "name": "dbus-org.freedesktop.oom1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.portable1.service": { "name": "dbus-org.freedesktop.portable1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.resolve1.service": { "name": "dbus-org.freedesktop.resolve1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "active", "status": "alias" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "display-manager.service": { "name": "display-manager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "dm-event.service": { "name": "dm-event.service", "source": "systemd", "state": "stopped", "status": "static" }, "dmraid-activation.service": { "name": "dmraid-activation.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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": "stopped", "status": "static" }, "fwupd-offline-update.service": { "name": "fwupd-offline-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "fwupd-refresh.service": { "name": "fwupd-refresh.service", "source": "systemd", "state": "inactive", "status": "static" }, "fwupd.service": { "name": "fwupd.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" }, "grub2-systemd-integration.service": { "name": "grub2-systemd-integration.service", "source": "systemd", "state": "inactive", "status": "static" }, "hv_kvp_daemon.service": { "name": "hv_kvp_daemon.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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" }, "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" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "ldconfig.service": { "name": "ldconfig.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-activation-early.service": { "name": "lvm2-activation-early.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-activation.service": { "name": "lvm2-activation.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-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" }, "modprobe@.service": { "name": "modprobe@.service", "source": "systemd", "state": "unknown", "status": "static" }, "modprobe@configfs.service": { "name": "modprobe@configfs.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@drm.service": { "name": "modprobe@drm.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@fuse.service": { "name": "modprobe@fuse.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "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" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "pam_namespace.service": { "name": "pam_namespace.service", "source": "systemd", "state": "inactive", "status": "static" }, "pcscd.service": { "name": "pcscd.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "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": "inactive", "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" }, "raid-check.service": { "name": "raid-check.service", "source": "systemd", "state": "stopped", "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" }, "rpmdb-rebuild.service": { "name": "rpmdb-rebuild.service", "source": "systemd", "state": "stopped", "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" }, "selinux-check-proper-disable.service": { "name": "selinux-check-proper-disable.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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": "stopped", "status": "enabled" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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-bless-boot.service": { "name": "systemd-bless-boot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-boot-check-no-failures.service": { "name": "systemd-boot-check-no-failures.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-boot-system-token.service": { "name": "systemd-boot-system-token.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-5B84\\x2d6DD7.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-5B84\\x2d6DD7.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-disk-by\\x2duuid-5f2f82d0\\x2dae0a\\x2d4574\\x2d8811\\x2d62a31a51a870.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-5f2f82d0\\x2dae0a\\x2d4574\\x2d8811\\x2d62a31a51a870.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-homed-activate.service": { "name": "systemd-homed-activate.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-homed.service": { "name": "systemd-homed.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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-journald@.service": { "name": "systemd-journald@.service", "source": "systemd", "state": "unknown", "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-network-generator.service": { "name": "systemd-network-generator.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-networkd-wait-online.service": { "name": "systemd-networkd-wait-online.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "systemd-networkd.service": { "name": "systemd-networkd.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "systemd-oomd.service": { "name": "systemd-oomd.service", "source": "systemd", "state": "running", "status": "enabled" }, "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-pstore.service": { "name": "systemd-pstore.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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": "enabled-runtime" }, "systemd-repart.service": { "name": "systemd-repart.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-resolved.service": { "name": "systemd-resolved.service", "source": "systemd", "state": "running", "status": "enabled" }, "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-sysext.service": { "name": "systemd-sysext.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-time-wait-sync.service": { "name": "systemd-time-wait-sync.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "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-userdbd.service": { "name": "systemd-userdbd.service", "source": "systemd", "state": "running", "status": "indirect" }, "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" }, "systemd-zram-setup@.service": { "name": "systemd-zram-setup@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-zram-setup@zram0.service": { "name": "systemd-zram-setup@zram0.service", "source": "systemd", "state": "stopped", "status": "active" }, "udisks2.service": { "name": "udisks2.service", "source": "systemd", "state": "stopped", "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" } } }, "changed": false } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 08:31:57 +0000 (0:00:01.910) 0:00:09.168 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 08:31:57 +0000 (0:00:00.098) 0:00:09.267 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 08:31:57 +0000 (0:00:00.022) 0:00:09.289 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 08:31:57 +0000 (0:00:00.578) 0:00:09.868 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 08:31:57 +0000 (0:00:00.037) 0:00:09.906 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 08:31:57 +0000 (0:00:00.023) 0:00:09.929 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 08:31:57 +0000 (0:00:00.036) 0:00:09.965 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 08:31:57 +0000 (0:00:00.035) 0:00:10.000 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 08:31:58 +0000 (0:00:00.034) 0:00:10.035 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 08:31:58 +0000 (0:00:00.033) 0:00:10.069 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 08:31:58 +0000 (0:00:00.021) 0:00:10.091 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 08:31:58 +0000 (0:00:00.032) 0:00:10.123 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 08:31:58 +0000 (0:00:00.021) 0:00:10.144 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 08:31:58 +0000 (0:00:00.519) 0:00:10.664 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 08:31:58 +0000 (0:00:00.024) 0:00:10.689 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmprua6lrek/tests/tests_create_raid_pool_then_remove.yml:20 Wednesday 06 July 2022 08:31:59 +0000 (0:00:00.896) 0:00:11.585 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/tests_create_raid_pool_then_remove.yml:27 Wednesday 06 July 2022 08:31:59 +0000 (0:00:00.037) 0:00:11.623 ******** included: /tmp/tmprua6lrek/tests/get_unused_disk.yml for /cache/fedora-35.qcow2.snap TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmprua6lrek/tests/get_unused_disk.yml:2 Wednesday 06 July 2022 08:31:59 +0000 (0:00:00.038) 0:00:11.661 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "disks": [ "sda", "sdb" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmprua6lrek/tests/get_unused_disk.yml:9 Wednesday 06 July 2022 08:32:00 +0000 (0:00:00.529) 0:00:12.191 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "unused_disks": [ "sda", "sdb" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmprua6lrek/tests/get_unused_disk.yml:14 Wednesday 06 July 2022 08:32:00 +0000 (0:00:00.097) 0:00:12.289 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmprua6lrek/tests/get_unused_disk.yml:19 Wednesday 06 July 2022 08:32:00 +0000 (0:00:00.039) 0:00:12.328 ******** ok: [/cache/fedora-35.qcow2.snap] => { "unused_disks": [ "sda", "sdb" ] } TASK [Create a RAID0 device] *************************************************** task path: /tmp/tmprua6lrek/tests/tests_create_raid_pool_then_remove.yml:31 Wednesday 06 July 2022 08:32:00 +0000 (0:00:00.036) 0:00:12.364 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 08:32:00 +0000 (0:00:00.045) 0:00:12.410 ******** included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 08:32:00 +0000 (0:00:00.034) 0:00:12.444 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 08:32:00 +0000 (0:00:00.533) 0:00:12.977 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 08:32:01 +0000 (0:00:00.063) 0:00:13.041 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 08:32:01 +0000 (0:00:00.035) 0:00:13.076 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 08:32:01 +0000 (0:00:00.035) 0:00:13.111 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 08:32:01 +0000 (0:00:00.047) 0:00:13.159 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 08:32:01 +0000 (0:00:00.020) 0:00:13.180 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 08:32:01 +0000 (0:00:00.030) 0:00:13.211 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "raid_level": "raid0", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "size": "2g" }, { "mount_point": "/opt/test2", "name": "lv2", "size": "3g" }, { "mount_point": "/opt/test3", "name": "lv3", "size": "3g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 08:32:01 +0000 (0:00:00.042) 0:00:13.253 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 08:32:01 +0000 (0:00:00.036) 0:00:13.290 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 08:32:01 +0000 (0:00:00.029) 0:00:13.320 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 08:32:01 +0000 (0:00:00.027) 0:00:13.347 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 08:32:01 +0000 (0:00:00.027) 0:00:13.375 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 08:32:01 +0000 (0:00:00.027) 0:00:13.403 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 08:32:01 +0000 (0:00:00.057) 0:00:13.460 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 08:32:01 +0000 (0:00:00.022) 0:00:13.482 ******** changed: [/cache/fedora-35.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "mdmember" }, { "action": "create device", "device": "/dev/md/vg1-1", "fs_type": null }, { "action": "create format", "device": "/dev/md/vg1-1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv3", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv3", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/vg1-lv2", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv2", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/mapper/vg1-lv1", "/dev/mapper/vg1-lv2", "/dev/mapper/vg1-lv3" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" } ], "packages": [ "btrfs-progs", "dosfstools", "mdadm", "e2fsprogs", "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "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": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "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/test2", "name": "lv2", "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 }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_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/test3", "name": "lv3", "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 08:32:10 +0000 (0:00:09.034) 0:00:22.517 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 08:32:10 +0000 (0:00:00.038) 0:00:22.556 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 08:32:10 +0000 (0:00:00.024) 0:00:22.581 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "mdmember" }, { "action": "create device", "device": "/dev/md/vg1-1", "fs_type": null }, { "action": "create format", "device": "/dev/md/vg1-1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv3", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv3", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/vg1-lv2", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv2", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/mapper/vg1-lv1", "/dev/mapper/vg1-lv2", "/dev/mapper/vg1-lv3" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" } ], "packages": [ "btrfs-progs", "dosfstools", "mdadm", "e2fsprogs", "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "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": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "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/test2", "name": "lv2", "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 }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_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/test3", "name": "lv3", "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 08:32:10 +0000 (0:00:00.042) 0:00:22.623 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "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": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "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/test2", "name": "lv2", "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 }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_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/test3", "name": "lv3", "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 08:32:10 +0000 (0:00:00.070) 0:00:22.693 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 08:32:10 +0000 (0:00:00.098) 0:00:22.792 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 08:32:10 +0000 (0:00:00.058) 0:00:22.851 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 08:32:11 +0000 (0:00:01.008) 0:00:23.859 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv1', '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/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv2', 'path': '/opt/test2', '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/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv2" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv3', 'path': '/opt/test3', '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/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" }, "name": "/opt/test3", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv3" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 08:32:13 +0000 (0:00:01.542) 0:00:25.402 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 08:32:14 +0000 (0:00:00.720) 0:00:26.122 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 08:32:14 +0000 (0:00:00.386) 0:00:26.508 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 08:32:14 +0000 (0:00:00.022) 0:00:26.531 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/tests_create_raid_pool_then_remove.yml:52 Wednesday 06 July 2022 08:32:15 +0000 (0:00:01.000) 0:00:27.531 ******** included: /tmp/tmprua6lrek/tests/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:1 Wednesday 06 July 2022 08:32:15 +0000 (0:00:00.042) 0:00:27.574 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "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": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "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/test2", "name": "lv2", "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 }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_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/test3", "name": "lv3", "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/tmprua6lrek/tests/verify-role-results.yml:6 Wednesday 06 July 2022 08:32:15 +0000 (0:00:00.080) 0:00:27.654 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:14 Wednesday 06 July 2022 08:32:15 +0000 (0:00:00.038) 0:00:27.693 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "a141a8e0-ca10-4d3b-ac57-74ac2d79363f" }, "/dev/mapper/vg1-lv2": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv2", "size": "3G", "type": "lvm", "uuid": "1b0a194f-49bf-40fc-82de-22a018886226" }, "/dev/mapper/vg1-lv3": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv3", "size": "3G", "type": "lvm", "uuid": "67155acc-a6ef-4ec4-a378-ff5e9b186ded" }, "/dev/md/vg1-1": { "fstype": "LVM2_member", "label": "", "name": "/dev/md/vg1-1", "size": "20G", "type": "raid0", "uuid": "XSy8Ug-yHSU-Dh8d-Hj7W-lsph-D1oV-PNkxT1" }, "/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/sda1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "10f0e86f-00b3-35b0-7385-c70a22320185" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "10f0e86f-00b3-35b0-7385-c70a22320185" }, "/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-06-08-31-35-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/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": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/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": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/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": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:19 Wednesday 06 July 2022 08:32:16 +0000 (0:00:00.556) 0:00:28.249 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002746", "end": "2022-07-06 08:32:15.903738", "rc": 0, "start": "2022-07-06 08:32:15.900992" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 /dev/mapper/vg1-lv2 /opt/test2 xfs defaults 0 0 /dev/mapper/vg1-lv3 /opt/test3 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:24 Wednesday 06 July 2022 08:32:16 +0000 (0:00:00.495) 0:00:28.745 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002775", "end": "2022-07-06 08:32:16.289807", "failed_when_result": false, "rc": 0, "start": "2022-07-06 08:32:16.287032" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:33 Wednesday 06 July 2022 08:32:17 +0000 (0:00:00.386) 0:00:29.132 ******** included: /tmp/tmprua6lrek/tests/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', 'raid_level': 'raid0', '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': 'lv1', 'raid_level': None, 'size': '2g', '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}, {'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/test2', 'name': 'lv2', '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/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}, {'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/test3', 'name': 'lv3', '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/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool.yml:5 Wednesday 06 July 2022 08:32:17 +0000 (0:00:00.065) 0:00:29.197 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool.yml:18 Wednesday 06 July 2022 08:32:17 +0000 (0:00:00.038) 0:00:29.236 ******** included: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmprua6lrek/tests/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:1 Wednesday 06 July 2022 08:32:17 +0000 (0:00:00.050) 0:00:29.286 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/md127" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:10 Wednesday 06 July 2022 08:32:17 +0000 (0:00:00.059) 0:00:29.345 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/md127) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/md/vg1-1", "pv": "/dev/md127" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:19 Wednesday 06 July 2022 08:32:17 +0000 (0:00:00.528) 0:00:29.874 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:23 Wednesday 06 July 2022 08:32:17 +0000 (0:00:00.052) 0:00:29.927 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/md/vg1-1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:27 Wednesday 06 July 2022 08:32:17 +0000 (0:00:00.052) 0:00:29.979 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:34 Wednesday 06 July 2022 08:32:18 +0000 (0:00:00.054) 0:00:30.034 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:38 Wednesday 06 July 2022 08:32:18 +0000 (0:00:00.038) 0:00:30.073 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:42 Wednesday 06 July 2022 08:32:18 +0000 (0:00:00.054) 0:00:30.127 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "raid0" }, "changed": false } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:46 Wednesday 06 July 2022 08:32:18 +0000 (0:00:00.040) 0:00:30.168 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/md/vg1-1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/md/vg1-1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:56 Wednesday 06 July 2022 08:32:18 +0000 (0:00:00.046) 0:00:30.214 ******** included: /tmp/tmprua6lrek/tests/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:6 Wednesday 06 July 2022 08:32:18 +0000 (0:00:00.045) 0:00:30.260 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "mdadm", "--detail", "/dev/md/vg1-1" ], "delta": "0:00:00.007568", "end": "2022-07-06 08:32:17.861680", "rc": 0, "start": "2022-07-06 08:32:17.854112" } STDOUT: /dev/md/vg1-1: Version : 1.2 Creation Time : Wed Jul 6 08:32:03 2022 Raid Level : raid0 Array Size : 20951040 (19.98 GiB 21.45 GB) Raid Devices : 2 Total Devices : 2 Persistence : Superblock is persistent Update Time : Wed Jul 6 08:32:03 2022 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Layout : -unknown- Chunk Size : 512K Consistency Policy : none Name : vg1-1 UUID : 10f0e86f:00b335b0:7385c70a:22320185 Events : 0 Number Major Minor RaidDevice State 0 8 1 0 active sync /dev/sda1 1 8 17 1 active sync /dev/sdb1 TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:12 Wednesday 06 July 2022 08:32:18 +0000 (0:00:00.446) 0:00:30.706 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": "Active\\ Devices\\ :\\ None\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:16 Wednesday 06 July 2022 08:32:18 +0000 (0:00:00.061) 0:00:30.768 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_spare_devices_re": "Spare\\ Devices\\ :\\ None\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:20 Wednesday 06 July 2022 08:32:18 +0000 (0:00:00.056) 0:00:30.824 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_metadata_version_re": "Version\\ :\\ None\\\n" }, "changed": false } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:24 Wednesday 06 July 2022 08:32:18 +0000 (0:00:00.054) 0:00:30.879 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:30 Wednesday 06 July 2022 08:32:18 +0000 (0:00:00.032) 0:00:30.912 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:36 Wednesday 06 July 2022 08:32:18 +0000 (0:00:00.032) 0:00:30.944 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:44 Wednesday 06 July 2022 08:32:18 +0000 (0:00:00.035) 0:00:30.980 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-pool-members.yml:59 Wednesday 06 July 2022 08:32:18 +0000 (0:00:00.035) 0:00:31.016 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 08:32:19 +0000 (0:00:00.046) 0:00:31.063 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml for /cache/fedora-35.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': 'lv1', 'raid_level': None, 'size': '2g', '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml for /cache/fedora-35.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/test2', 'name': 'lv2', '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/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml for /cache/fedora-35.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/test3', 'name': 'lv3', '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/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 08:32:19 +0000 (0:00:00.057) 0:00:31.120 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 08:32:19 +0000 (0:00:00.028) 0:00:31.148 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 08:32:19 +0000 (0:00:00.027) 0:00:31.175 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 08:32:19 +0000 (0:00:00.027) 0:00:31.202 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 08:32:19 +0000 (0:00:00.029) 0:00:31.232 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 08:32:19 +0000 (0:00:00.030) 0:00:31.262 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 08:32:19 +0000 (0:00:00.027) 0:00:31.290 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 08:32:19 +0000 (0:00:00.027) 0:00:31.317 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 08:32:19 +0000 (0:00:00.026) 0:00:31.344 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:62 Wednesday 06 July 2022 08:32:19 +0000 (0:00:00.029) 0:00:31.374 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 08:32:19 +0000 (0:00:00.049) 0:00:31.423 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml for /cache/fedora-35.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': 'lv1', 'raid_level': None, 'size': '2g', '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml for /cache/fedora-35.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/test2', 'name': 'lv2', '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/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml for /cache/fedora-35.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/test3', 'name': 'lv3', '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/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 08:32:19 +0000 (0:00:00.059) 0:00:31.483 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 08:32:19 +0000 (0:00:00.030) 0:00:31.513 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 08:32:19 +0000 (0:00:00.029) 0:00:31.543 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 08:32:19 +0000 (0:00:00.028) 0:00:31.571 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 08:32:19 +0000 (0:00:00.025) 0:00:31.597 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 08:32:19 +0000 (0:00:00.025) 0:00:31.622 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 08:32:19 +0000 (0:00:00.025) 0:00:31.647 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 08:32:19 +0000 (0:00:00.026) 0:00:31.674 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 08:32:19 +0000 (0:00:00.026) 0:00:31.701 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 08:32:19 +0000 (0:00:00.025) 0:00:31.726 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 08:32:19 +0000 (0:00:00.026) 0:00:31.753 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 08:32:19 +0000 (0:00:00.029) 0:00:31.782 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:65 Wednesday 06 July 2022 08:32:19 +0000 (0:00:00.062) 0:00:31.845 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 08:32:19 +0000 (0:00:00.048) 0:00:31.893 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 08:32:19 +0000 (0:00:00.050) 0:00:31.943 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=/dev/md/vg1-1) => { "_storage_test_pool_member_path": "/dev/md/vg1-1", "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/tmprua6lrek/tests/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 08:32:19 +0000 (0:00:00.029) 0:00:31.973 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/md/vg1-1) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 08:32:20 +0000 (0:00:00.046) 0:00:32.019 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:6 Wednesday 06 July 2022 08:32:20 +0000 (0:00:00.051) 0:00:32.071 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:11 Wednesday 06 July 2022 08:32:20 +0000 (0:00:00.059) 0:00:32.130 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:17 Wednesday 06 July 2022 08:32:20 +0000 (0:00:00.052) 0:00:32.183 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:23 Wednesday 06 July 2022 08:32:20 +0000 (0:00:00.048) 0:00:32.231 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:29 Wednesday 06 July 2022 08:32:20 +0000 (0:00:00.038) 0:00:32.270 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 08:32:20 +0000 (0:00:00.038) 0:00:32.308 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:68 Wednesday 06 July 2022 08:32:20 +0000 (0:00:00.036) 0:00:32.344 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 08:32:20 +0000 (0:00:00.049) 0:00:32.394 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml for /cache/fedora-35.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': 'lv1', 'raid_level': None, 'size': '2g', '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml for /cache/fedora-35.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/test2', 'name': 'lv2', '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/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml for /cache/fedora-35.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/test3', 'name': 'lv3', '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/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 08:32:20 +0000 (0:00:00.059) 0:00:32.454 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 08:32:20 +0000 (0:00:00.024) 0:00:32.479 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 08:32:20 +0000 (0:00:00.025) 0:00:32.504 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 08:32:20 +0000 (0:00:00.027) 0:00:32.532 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 08:32:20 +0000 (0:00:00.028) 0:00:32.560 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 08:32:20 +0000 (0:00:00.024) 0:00:32.584 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 08:32:20 +0000 (0:00:00.025) 0:00:32.610 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 08:32:20 +0000 (0:00:00.025) 0:00:32.636 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 08:32:20 +0000 (0:00:00.032) 0:00:32.668 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 08:32:20 +0000 (0:00:00.023) 0:00:32.692 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 08:32:20 +0000 (0:00:00.024) 0:00:32.716 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 08:32:20 +0000 (0:00:00.028) 0:00:32.745 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 08:32:20 +0000 (0:00:00.025) 0:00:32.770 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 08:32:20 +0000 (0:00:00.025) 0:00:32.796 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 08:32:20 +0000 (0:00:00.025) 0:00:32.821 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 08:32:20 +0000 (0:00:00.026) 0:00:32.848 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 08:32:20 +0000 (0:00:00.036) 0:00:32.884 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 08:32:20 +0000 (0:00:00.025) 0:00:32.910 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 08:32:20 +0000 (0:00:00.024) 0:00:32.934 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 08:32:20 +0000 (0:00:00.026) 0:00:32.961 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 08:32:20 +0000 (0:00:00.025) 0:00:32.987 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 08:32:20 +0000 (0:00:00.024) 0:00:33.011 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 08:32:21 +0000 (0:00:00.025) 0:00:33.037 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 08:32:21 +0000 (0:00:00.056) 0:00:33.093 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:71 Wednesday 06 July 2022 08:32:21 +0000 (0:00:00.034) 0:00:33.128 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 08:32:21 +0000 (0:00:00.035) 0:00:33.164 ******** included: /tmp/tmprua6lrek/tests/test-verify-volume.yml for /cache/fedora-35.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': 'lv1', 'raid_level': None, 'size': '2g', '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmprua6lrek/tests/test-verify-volume.yml for /cache/fedora-35.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/test2', 'name': 'lv2', '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/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmprua6lrek/tests/test-verify-volume.yml for /cache/fedora-35.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/test3', 'name': 'lv3', '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/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 08:32:21 +0000 (0:00:00.055) 0:00:33.219 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 08:32:21 +0000 (0:00:00.052) 0:00:33.271 ******** included: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 08:32:21 +0000 (0:00:00.087) 0:00:33.358 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 08:32:21 +0000 (0:00:00.053) 0:00:33.412 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 508753, "block_size": 4096, "block_total": 520704, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 2083852288, "size_total": 2132803584, "uuid": "a141a8e0-ca10-4d3b-ac57-74ac2d79363f" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 508753, "block_size": 4096, "block_total": 520704, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 2083852288, "size_total": 2132803584, "uuid": "a141a8e0-ca10-4d3b-ac57-74ac2d79363f" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 08:32:21 +0000 (0:00:00.063) 0:00:33.475 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 08:32:21 +0000 (0:00:00.058) 0:00:33.534 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 08:32:21 +0000 (0:00:00.054) 0:00:33.589 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 08:32:21 +0000 (0:00:00.050) 0:00:33.640 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 08:32:21 +0000 (0:00:00.024) 0:00:33.664 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 08:32:21 +0000 (0:00:00.024) 0:00:33.689 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 08:32:21 +0000 (0:00:00.022) 0:00:33.712 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 08:32:21 +0000 (0:00:00.038) 0:00:33.750 ******** ok: [/cache/fedora-35.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/vg1-lv1 " ], "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/tmprua6lrek/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 08:32:21 +0000 (0:00:00.064) 0:00:33.814 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 08:32:21 +0000 (0:00:00.051) 0:00:33.866 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 08:32:21 +0000 (0:00:00.052) 0:00:33.918 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 08:32:21 +0000 (0:00:00.040) 0:00:33.959 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 08:32:21 +0000 (0:00:00.039) 0:00:33.998 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 08:32:22 +0000 (0:00:00.040) 0:00:34.038 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 08:32:22 +0000 (0:00:00.043) 0:00:34.081 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657096332.6237173, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657096329.5857174, "dev": 5, "device_type": 64770, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 547, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657096329.5857174, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "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/tmprua6lrek/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 08:32:22 +0000 (0:00:00.416) 0:00:34.498 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 08:32:22 +0000 (0:00:00.041) 0:00:34.539 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 08:32:22 +0000 (0:00:00.041) 0:00:34.581 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 08:32:22 +0000 (0:00:00.040) 0:00:34.621 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 08:32:22 +0000 (0:00:00.026) 0:00:34.648 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 08:32:22 +0000 (0:00:00.082) 0:00:34.730 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 08:32:22 +0000 (0:00:00.027) 0:00:34.757 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 08:32:24 +0000 (0:00:01.844) 0:00:36.602 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 08:32:24 +0000 (0:00:00.027) 0:00:36.629 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 08:32:24 +0000 (0:00:00.025) 0:00:36.655 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 08:32:24 +0000 (0:00:00.061) 0:00:36.717 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 08:32:24 +0000 (0:00:00.027) 0:00:36.744 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 08:32:24 +0000 (0:00:00.027) 0:00:36.772 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 08:32:24 +0000 (0:00:00.025) 0:00:36.797 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 08:32:24 +0000 (0:00:00.028) 0:00:36.825 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 08:32:24 +0000 (0:00:00.027) 0:00:36.852 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 08:32:24 +0000 (0:00:00.051) 0:00:36.904 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 08:32:24 +0000 (0:00:00.049) 0:00:36.953 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 08:32:24 +0000 (0:00:00.047) 0:00:37.001 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 08:32:25 +0000 (0:00:00.038) 0:00:37.039 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 08:32:25 +0000 (0:00:00.037) 0:00:37.077 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 08:32:25 +0000 (0:00:00.037) 0:00:37.115 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 08:32:25 +0000 (0:00:00.047) 0:00:37.162 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 08:32:25 +0000 (0:00:00.038) 0:00:37.201 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 08:32:25 +0000 (0:00:00.038) 0:00:37.240 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 08:32:25 +0000 (0:00:00.038) 0:00:37.278 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 08:32:25 +0000 (0:00:00.037) 0:00:37.315 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 08:32:25 +0000 (0:00:00.038) 0:00:37.354 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 08:32:25 +0000 (0:00:00.039) 0:00:37.394 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 08:32:25 +0000 (0:00:00.531) 0:00:37.925 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 08:32:26 +0000 (0:00:00.456) 0:00:38.382 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 08:32:26 +0000 (0:00:00.081) 0:00:38.464 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 08:32:26 +0000 (0:00:00.068) 0:00:38.532 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 08:32:26 +0000 (0:00:00.074) 0:00:38.606 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 08:32:26 +0000 (0:00:00.041) 0:00:38.648 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 08:32:26 +0000 (0:00:00.038) 0:00:38.686 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 08:32:26 +0000 (0:00:00.039) 0:00:38.725 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 08:32:26 +0000 (0:00:00.039) 0:00:38.765 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 08:32:26 +0000 (0:00:00.037) 0:00:38.802 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 08:32:26 +0000 (0:00:00.036) 0:00:38.839 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 08:32:26 +0000 (0:00:00.053) 0:00:38.892 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.044528", "end": "2022-07-06 08:32:26.496639", "rc": 0, "start": "2022-07-06 08:32:26.452111" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 08:32:27 +0000 (0:00:00.449) 0:00:39.341 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 08:32:27 +0000 (0:00:00.052) 0:00:39.394 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 08:32:27 +0000 (0:00:00.056) 0:00:39.450 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 08:32:27 +0000 (0:00:00.041) 0:00:39.492 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 08:32:27 +0000 (0:00:00.040) 0:00:39.532 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 08:32:27 +0000 (0:00:00.036) 0:00:39.569 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 08:32:27 +0000 (0:00:00.038) 0:00:39.608 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 08:32:27 +0000 (0:00:00.037) 0:00:39.646 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 08:32:27 +0000 (0:00:00.050) 0:00:39.697 ******** included: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 08:32:27 +0000 (0:00:00.078) 0:00:39.775 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv2" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 08:32:27 +0000 (0:00:00.041) 0:00:39.817 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv2", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "1b0a194f-49bf-40fc-82de-22a018886226" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv2", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "1b0a194f-49bf-40fc-82de-22a018886226" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 08:32:27 +0000 (0:00:00.061) 0:00:39.878 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 08:32:27 +0000 (0:00:00.054) 0:00:39.933 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 08:32:27 +0000 (0:00:00.057) 0:00:39.990 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 08:32:28 +0000 (0:00:00.054) 0:00:40.044 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 08:32:28 +0000 (0:00:00.027) 0:00:40.072 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 08:32:28 +0000 (0:00:00.026) 0:00:40.098 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 08:32:28 +0000 (0:00:00.024) 0:00:40.122 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 08:32:28 +0000 (0:00:00.035) 0:00:40.158 ******** ok: [/cache/fedora-35.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/vg1-lv2 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 08:32:28 +0000 (0:00:00.106) 0:00:40.265 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 08:32:28 +0000 (0:00:00.086) 0:00:40.352 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 08:32:28 +0000 (0:00:00.084) 0:00:40.436 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 08:32:28 +0000 (0:00:00.036) 0:00:40.472 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 08:32:28 +0000 (0:00:00.035) 0:00:40.508 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 08:32:28 +0000 (0:00:00.043) 0:00:40.552 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 08:32:28 +0000 (0:00:00.042) 0:00:40.594 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657096332.5957174, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657096329.3777173, "dev": 5, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 540, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657096329.3777173, "nlink": 1, "path": "/dev/mapper/vg1-lv2", "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/tmprua6lrek/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 08:32:28 +0000 (0:00:00.394) 0:00:40.989 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 08:32:29 +0000 (0:00:00.040) 0:00:41.030 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 08:32:29 +0000 (0:00:00.040) 0:00:41.070 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 08:32:29 +0000 (0:00:00.037) 0:00:41.108 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 08:32:29 +0000 (0:00:00.025) 0:00:41.133 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 08:32:29 +0000 (0:00:00.040) 0:00:41.174 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 08:32:29 +0000 (0:00:00.023) 0:00:41.197 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 08:32:30 +0000 (0:00:01.781) 0:00:42.979 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 08:32:30 +0000 (0:00:00.025) 0:00:43.005 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 08:32:31 +0000 (0:00:00.026) 0:00:43.032 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 08:32:31 +0000 (0:00:00.050) 0:00:43.082 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 08:32:31 +0000 (0:00:00.023) 0:00:43.106 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 08:32:31 +0000 (0:00:00.025) 0:00:43.132 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 08:32:31 +0000 (0:00:00.028) 0:00:43.160 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 08:32:31 +0000 (0:00:00.026) 0:00:43.187 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 08:32:31 +0000 (0:00:00.026) 0:00:43.213 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 08:32:31 +0000 (0:00:00.084) 0:00:43.297 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 08:32:31 +0000 (0:00:00.051) 0:00:43.349 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 08:32:31 +0000 (0:00:00.038) 0:00:43.388 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 08:32:31 +0000 (0:00:00.038) 0:00:43.426 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 08:32:31 +0000 (0:00:00.072) 0:00:43.499 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 08:32:31 +0000 (0:00:00.037) 0:00:43.537 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 08:32:31 +0000 (0:00:00.040) 0:00:43.577 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 08:32:31 +0000 (0:00:00.042) 0:00:43.620 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 08:32:31 +0000 (0:00:00.039) 0:00:43.659 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 08:32:31 +0000 (0:00:00.038) 0:00:43.697 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 08:32:31 +0000 (0:00:00.039) 0:00:43.737 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 08:32:31 +0000 (0:00:00.044) 0:00:43.782 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 08:32:31 +0000 (0:00:00.038) 0:00:43.820 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 08:32:32 +0000 (0:00:00.408) 0:00:44.229 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 08:32:32 +0000 (0:00:00.411) 0:00:44.641 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 08:32:32 +0000 (0:00:00.050) 0:00:44.692 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 08:32:32 +0000 (0:00:00.040) 0:00:44.732 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 08:32:32 +0000 (0:00:00.038) 0:00:44.771 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 08:32:32 +0000 (0:00:00.038) 0:00:44.810 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 08:32:32 +0000 (0:00:00.036) 0:00:44.847 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 08:32:32 +0000 (0:00:00.039) 0:00:44.887 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 08:32:32 +0000 (0:00:00.037) 0:00:44.924 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 08:32:32 +0000 (0:00:00.036) 0:00:44.960 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 08:32:32 +0000 (0:00:00.037) 0:00:44.998 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 08:32:33 +0000 (0:00:00.058) 0:00:45.056 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv2" ], "delta": "0:00:00.038758", "end": "2022-07-06 08:32:32.639103", "rc": 0, "start": "2022-07-06 08:32:32.600345" } STDOUT: LVM2_LV_NAME=lv2 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 08:32:33 +0000 (0:00:00.426) 0:00:45.482 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 08:32:33 +0000 (0:00:00.051) 0:00:45.534 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 08:32:33 +0000 (0:00:00.051) 0:00:45.586 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 08:32:33 +0000 (0:00:00.036) 0:00:45.623 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 08:32:33 +0000 (0:00:00.035) 0:00:45.658 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 08:32:33 +0000 (0:00:00.063) 0:00:45.722 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 08:32:33 +0000 (0:00:00.037) 0:00:45.759 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 08:32:33 +0000 (0:00:00.033) 0:00:45.793 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 08:32:33 +0000 (0:00:00.047) 0:00:45.840 ******** included: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 08:32:33 +0000 (0:00:00.082) 0:00:45.922 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv3" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 08:32:33 +0000 (0:00:00.041) 0:00:45.964 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv3", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "67155acc-a6ef-4ec4-a378-ff5e9b186ded" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv3", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "67155acc-a6ef-4ec4-a378-ff5e9b186ded" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 08:32:34 +0000 (0:00:00.057) 0:00:46.022 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 08:32:34 +0000 (0:00:00.055) 0:00:46.077 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 08:32:34 +0000 (0:00:00.048) 0:00:46.125 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 08:32:34 +0000 (0:00:00.050) 0:00:46.176 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 08:32:34 +0000 (0:00:00.027) 0:00:46.203 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 08:32:34 +0000 (0:00:00.024) 0:00:46.227 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 08:32:34 +0000 (0:00:00.024) 0:00:46.252 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 08:32:34 +0000 (0:00:00.034) 0:00:46.287 ******** ok: [/cache/fedora-35.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/vg1-lv3 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test3 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test3 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 08:32:34 +0000 (0:00:00.066) 0:00:46.353 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 08:32:34 +0000 (0:00:00.051) 0:00:46.404 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 08:32:34 +0000 (0:00:00.051) 0:00:46.455 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 08:32:34 +0000 (0:00:00.042) 0:00:46.497 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 08:32:34 +0000 (0:00:00.036) 0:00:46.534 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 08:32:34 +0000 (0:00:00.040) 0:00:46.575 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 08:32:34 +0000 (0:00:00.044) 0:00:46.620 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657096332.6077173, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657096329.1637173, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 532, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657096329.1637173, "nlink": 1, "path": "/dev/mapper/vg1-lv3", "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/tmprua6lrek/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 08:32:35 +0000 (0:00:00.420) 0:00:47.040 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 08:32:35 +0000 (0:00:00.042) 0:00:47.082 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 08:32:35 +0000 (0:00:00.040) 0:00:47.122 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 08:32:35 +0000 (0:00:00.038) 0:00:47.161 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 08:32:35 +0000 (0:00:00.026) 0:00:47.187 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 08:32:35 +0000 (0:00:00.041) 0:00:47.228 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 08:32:35 +0000 (0:00:00.025) 0:00:47.254 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 08:32:37 +0000 (0:00:01.868) 0:00:49.122 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 08:32:37 +0000 (0:00:00.025) 0:00:49.148 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 08:32:37 +0000 (0:00:00.024) 0:00:49.172 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 08:32:37 +0000 (0:00:00.052) 0:00:49.225 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 08:32:37 +0000 (0:00:00.026) 0:00:49.252 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 08:32:37 +0000 (0:00:00.024) 0:00:49.276 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 08:32:37 +0000 (0:00:00.025) 0:00:49.302 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 08:32:37 +0000 (0:00:00.026) 0:00:49.328 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 08:32:37 +0000 (0:00:00.027) 0:00:49.355 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 08:32:37 +0000 (0:00:00.058) 0:00:49.413 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 08:32:37 +0000 (0:00:00.061) 0:00:49.475 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 08:32:37 +0000 (0:00:00.038) 0:00:49.514 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 08:32:37 +0000 (0:00:00.035) 0:00:49.550 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 08:32:37 +0000 (0:00:00.036) 0:00:49.586 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 08:32:37 +0000 (0:00:00.032) 0:00:49.618 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 08:32:37 +0000 (0:00:00.038) 0:00:49.657 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 08:32:37 +0000 (0:00:00.038) 0:00:49.696 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 08:32:37 +0000 (0:00:00.042) 0:00:49.739 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 08:32:37 +0000 (0:00:00.037) 0:00:49.776 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 08:32:37 +0000 (0:00:00.037) 0:00:49.814 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 08:32:37 +0000 (0:00:00.037) 0:00:49.851 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 08:32:37 +0000 (0:00:00.041) 0:00:49.892 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 08:32:38 +0000 (0:00:00.385) 0:00:50.278 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 08:32:38 +0000 (0:00:00.405) 0:00:50.683 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 08:32:38 +0000 (0:00:00.079) 0:00:50.762 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 08:32:38 +0000 (0:00:00.077) 0:00:50.840 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 08:32:38 +0000 (0:00:00.045) 0:00:50.885 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 08:32:38 +0000 (0:00:00.044) 0:00:50.929 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 08:32:38 +0000 (0:00:00.040) 0:00:50.970 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 08:32:39 +0000 (0:00:00.101) 0:00:51.072 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 08:32:39 +0000 (0:00:00.038) 0:00:51.110 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 08:32:39 +0000 (0:00:00.039) 0:00:51.150 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 08:32:39 +0000 (0:00:00.040) 0:00:51.190 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 08:32:39 +0000 (0:00:00.053) 0:00:51.244 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv3" ], "delta": "0:00:00.040517", "end": "2022-07-06 08:32:38.863555", "rc": 0, "start": "2022-07-06 08:32:38.823038" } STDOUT: LVM2_LV_NAME=lv3 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 08:32:39 +0000 (0:00:00.465) 0:00:51.709 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 08:32:39 +0000 (0:00:00.052) 0:00:51.762 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 08:32:39 +0000 (0:00:00.054) 0:00:51.817 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 08:32:39 +0000 (0:00:00.041) 0:00:51.858 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 08:32:39 +0000 (0:00:00.040) 0:00:51.899 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 08:32:39 +0000 (0:00:00.039) 0:00:51.938 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 08:32:39 +0000 (0:00:00.039) 0:00:51.978 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:40 Wednesday 06 July 2022 08:32:40 +0000 (0:00:00.039) 0:00:52.017 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:47 Wednesday 06 July 2022 08:32:40 +0000 (0:00:00.036) 0:00:52.054 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:57 Wednesday 06 July 2022 08:32:40 +0000 (0:00:00.023) 0:00:52.077 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmprua6lrek/tests/tests_create_raid_pool_then_remove.yml:54 Wednesday 06 July 2022 08:32:40 +0000 (0:00:00.038) 0:00:52.116 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 08:32:40 +0000 (0:00:00.050) 0:00:52.166 ******** included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 08:32:40 +0000 (0:00:00.039) 0:00:52.206 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 08:32:40 +0000 (0:00:00.542) 0:00:52.748 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 08:32:40 +0000 (0:00:00.070) 0:00:52.818 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 08:32:40 +0000 (0:00:00.043) 0:00:52.862 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 08:32:40 +0000 (0:00:00.040) 0:00:52.903 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 08:32:40 +0000 (0:00:00.053) 0:00:52.956 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 08:32:40 +0000 (0:00:00.059) 0:00:53.016 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 08:32:41 +0000 (0:00:00.032) 0:00:53.048 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "raid_level": "raid0", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "size": "2g" }, { "mount_point": "/opt/test2", "name": "lv2", "size": "3g" }, { "mount_point": "/opt/test3", "name": "lv3", "size": "3g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 08:32:41 +0000 (0:00:00.044) 0:00:53.092 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 08:32:41 +0000 (0:00:00.040) 0:00:53.133 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 08:32:41 +0000 (0:00:00.032) 0:00:53.165 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 08:32:41 +0000 (0:00:00.029) 0:00:53.195 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 08:32:41 +0000 (0:00:00.032) 0:00:53.228 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 08:32:41 +0000 (0:00:00.031) 0:00:53.259 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 08:32:41 +0000 (0:00:00.063) 0:00:53.322 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 08:32:41 +0000 (0:00:00.023) 0:00:53.345 ******** ok: [/cache/fedora-35.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/vg1-lv1", "/dev/mapper/vg1-lv2", "/dev/mapper/vg1-lv3", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" } ], "packages": [ "lvm2", "dosfstools", "xfsprogs", "mdadm", "btrfs-progs", "e2fsprogs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "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 }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 08:32:44 +0000 (0:00:02.837) 0:00:56.183 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 08:32:44 +0000 (0:00:00.047) 0:00:56.230 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 08:32:44 +0000 (0:00:00.028) 0:00:56.259 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/vg1-lv1", "/dev/mapper/vg1-lv2", "/dev/mapper/vg1-lv3", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" } ], "packages": [ "lvm2", "dosfstools", "xfsprogs", "mdadm", "btrfs-progs", "e2fsprogs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "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 }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 08:32:44 +0000 (0:00:00.048) 0:00:56.308 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "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 }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 08:32:44 +0000 (0:00:00.044) 0:00:56.353 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 08:32:44 +0000 (0:00:00.036) 0:00:56.389 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 08:32:44 +0000 (0:00:00.039) 0:00:56.429 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 08:32:45 +0000 (0:00:00.720) 0:00:57.149 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/fedora-35.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/fedora-35.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv2', 'path': '/opt/test2', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv2" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/fedora-35.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv3', 'path': '/opt/test3', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" }, "name": "/opt/test3", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv3" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 08:32:46 +0000 (0:00:01.224) 0:00:58.374 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 08:32:47 +0000 (0:00:00.713) 0:00:59.087 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 08:32:47 +0000 (0:00:00.443) 0:00:59.531 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 08:32:47 +0000 (0:00:00.024) 0:00:59.555 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/tests_create_raid_pool_then_remove.yml:75 Wednesday 06 July 2022 08:32:48 +0000 (0:00:00.985) 0:01:00.541 ******** included: /tmp/tmprua6lrek/tests/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:1 Wednesday 06 July 2022 08:32:48 +0000 (0:00:00.047) 0:01:00.589 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "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 }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "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/tmprua6lrek/tests/verify-role-results.yml:6 Wednesday 06 July 2022 08:32:48 +0000 (0:00:00.053) 0:01:00.642 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:14 Wednesday 06 July 2022 08:32:48 +0000 (0:00:00.035) 0:01:00.677 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "a141a8e0-ca10-4d3b-ac57-74ac2d79363f" }, "/dev/mapper/vg1-lv2": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv2", "size": "3G", "type": "lvm", "uuid": "1b0a194f-49bf-40fc-82de-22a018886226" }, "/dev/mapper/vg1-lv3": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv3", "size": "3G", "type": "lvm", "uuid": "67155acc-a6ef-4ec4-a378-ff5e9b186ded" }, "/dev/md/vg1-1": { "fstype": "LVM2_member", "label": "", "name": "/dev/md/vg1-1", "size": "20G", "type": "raid0", "uuid": "XSy8Ug-yHSU-Dh8d-Hj7W-lsph-D1oV-PNkxT1" }, "/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/sda1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "10f0e86f-00b3-35b0-7385-c70a22320185" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "10f0e86f-00b3-35b0-7385-c70a22320185" }, "/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-06-08-31-35-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/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": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/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": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/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": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:19 Wednesday 06 July 2022 08:32:49 +0000 (0:00:00.401) 0:01:01.079 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002931", "end": "2022-07-06 08:32:48.632207", "rc": 0, "start": "2022-07-06 08:32:48.629276" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 /dev/mapper/vg1-lv2 /opt/test2 xfs defaults 0 0 /dev/mapper/vg1-lv3 /opt/test3 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:24 Wednesday 06 July 2022 08:32:49 +0000 (0:00:00.396) 0:01:01.476 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003018", "end": "2022-07-06 08:32:49.034749", "failed_when_result": false, "rc": 0, "start": "2022-07-06 08:32:49.031731" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:33 Wednesday 06 July 2022 08:32:49 +0000 (0:00:00.410) 0:01:01.887 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', 'raid_level': 'raid0', 'raid_device_count': 2, 'raid_spare_count': 0, 'raid_metadata_version': '1.2', '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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}, {'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/test2', 'name': 'lv2', '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': ['sda', 'sdb'], '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/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}, {'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/test3', 'name': 'lv3', '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': ['sda', 'sdb'], '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/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': '512 KiB'}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool.yml:5 Wednesday 06 July 2022 08:32:49 +0000 (0:00:00.067) 0:01:01.954 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool.yml:18 Wednesday 06 July 2022 08:32:49 +0000 (0:00:00.040) 0:01:01.995 ******** included: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmprua6lrek/tests/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:1 Wednesday 06 July 2022 08:32:50 +0000 (0:00:00.049) 0:01:02.044 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/md127" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:10 Wednesday 06 July 2022 08:32:50 +0000 (0:00:00.092) 0:01:02.136 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/md127) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/md/vg1-1", "pv": "/dev/md127" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:19 Wednesday 06 July 2022 08:32:50 +0000 (0:00:00.431) 0:01:02.568 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:23 Wednesday 06 July 2022 08:32:50 +0000 (0:00:00.052) 0:01:02.621 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/md/vg1-1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:27 Wednesday 06 July 2022 08:32:50 +0000 (0:00:00.052) 0:01:02.674 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:34 Wednesday 06 July 2022 08:32:50 +0000 (0:00:00.050) 0:01:02.725 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:38 Wednesday 06 July 2022 08:32:50 +0000 (0:00:00.041) 0:01:02.767 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:42 Wednesday 06 July 2022 08:32:50 +0000 (0:00:00.054) 0:01:02.821 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "raid0" }, "changed": false } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:46 Wednesday 06 July 2022 08:32:50 +0000 (0:00:00.038) 0:01:02.860 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/md/vg1-1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/md/vg1-1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:56 Wednesday 06 July 2022 08:32:50 +0000 (0:00:00.046) 0:01:02.906 ******** included: /tmp/tmprua6lrek/tests/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:6 Wednesday 06 July 2022 08:32:50 +0000 (0:00:00.046) 0:01:02.953 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "mdadm", "--detail", "/dev/md/vg1-1" ], "delta": "0:00:00.007582", "end": "2022-07-06 08:32:50.504604", "rc": 0, "start": "2022-07-06 08:32:50.497022" } STDOUT: /dev/md/vg1-1: Version : 1.2 Creation Time : Wed Jul 6 08:32:03 2022 Raid Level : raid0 Array Size : 20951040 (19.98 GiB 21.45 GB) Raid Devices : 2 Total Devices : 2 Persistence : Superblock is persistent Update Time : Wed Jul 6 08:32:03 2022 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Layout : -unknown- Chunk Size : 512K Consistency Policy : none Name : vg1-1 UUID : 10f0e86f:00b335b0:7385c70a:22320185 Events : 0 Number Major Minor RaidDevice State 0 8 1 0 active sync /dev/sda1 1 8 17 1 active sync /dev/sdb1 TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:12 Wednesday 06 July 2022 08:32:51 +0000 (0:00:00.394) 0:01:03.348 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": "Active\\ Devices\\ :\\ 2\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:16 Wednesday 06 July 2022 08:32:51 +0000 (0:00:00.057) 0:01:03.405 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_spare_devices_re": "Spare\\ Devices\\ :\\ 0\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:20 Wednesday 06 July 2022 08:32:51 +0000 (0:00:00.056) 0:01:03.462 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_metadata_version_re": "Version\\ :\\ 1\\.2\\\n" }, "changed": false } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:24 Wednesday 06 July 2022 08:32:51 +0000 (0:00:00.059) 0:01:03.521 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:30 Wednesday 06 July 2022 08:32:51 +0000 (0:00:00.049) 0:01:03.571 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:36 Wednesday 06 July 2022 08:32:51 +0000 (0:00:00.047) 0:01:03.618 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:44 Wednesday 06 July 2022 08:32:51 +0000 (0:00:00.047) 0:01:03.665 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-pool-members.yml:59 Wednesday 06 July 2022 08:32:51 +0000 (0:00:00.045) 0:01:03.711 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 08:32:51 +0000 (0:00:00.051) 0:01:03.762 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml for /cache/fedora-35.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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml for /cache/fedora-35.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/test2', 'name': 'lv2', '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': ['sda', 'sdb'], '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/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml for /cache/fedora-35.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/test3', 'name': 'lv3', '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': ['sda', 'sdb'], '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/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 08:32:51 +0000 (0:00:00.058) 0:01:03.821 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 08:32:51 +0000 (0:00:00.028) 0:01:03.849 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 08:32:51 +0000 (0:00:00.029) 0:01:03.879 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 08:32:51 +0000 (0:00:00.034) 0:01:03.913 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 08:32:51 +0000 (0:00:00.030) 0:01:03.944 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 08:32:51 +0000 (0:00:00.030) 0:01:03.974 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 08:32:51 +0000 (0:00:00.030) 0:01:04.004 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 08:32:52 +0000 (0:00:00.031) 0:01:04.036 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 08:32:52 +0000 (0:00:00.078) 0:01:04.114 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:62 Wednesday 06 July 2022 08:32:52 +0000 (0:00:00.031) 0:01:04.145 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 08:32:52 +0000 (0:00:00.048) 0:01:04.194 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml for /cache/fedora-35.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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml for /cache/fedora-35.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/test2', 'name': 'lv2', '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': ['sda', 'sdb'], '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/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml for /cache/fedora-35.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/test3', 'name': 'lv3', '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': ['sda', 'sdb'], '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/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 08:32:52 +0000 (0:00:00.058) 0:01:04.253 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 08:32:52 +0000 (0:00:00.027) 0:01:04.280 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 08:32:52 +0000 (0:00:00.025) 0:01:04.306 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 08:32:52 +0000 (0:00:00.025) 0:01:04.331 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 08:32:52 +0000 (0:00:00.024) 0:01:04.356 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 08:32:52 +0000 (0:00:00.027) 0:01:04.383 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 08:32:52 +0000 (0:00:00.024) 0:01:04.407 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 08:32:52 +0000 (0:00:00.030) 0:01:04.438 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 08:32:52 +0000 (0:00:00.026) 0:01:04.465 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 08:32:52 +0000 (0:00:00.027) 0:01:04.492 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 08:32:52 +0000 (0:00:00.025) 0:01:04.518 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 08:32:52 +0000 (0:00:00.026) 0:01:04.544 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:65 Wednesday 06 July 2022 08:32:52 +0000 (0:00:00.024) 0:01:04.568 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 08:32:52 +0000 (0:00:00.050) 0:01:04.619 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 08:32:52 +0000 (0:00:00.049) 0:01:04.669 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=/dev/md/vg1-1) => { "_storage_test_pool_member_path": "/dev/md/vg1-1", "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/tmprua6lrek/tests/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 08:32:52 +0000 (0:00:00.029) 0:01:04.699 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/md/vg1-1) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 08:32:52 +0000 (0:00:00.047) 0:01:04.746 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:6 Wednesday 06 July 2022 08:32:52 +0000 (0:00:00.052) 0:01:04.799 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:11 Wednesday 06 July 2022 08:32:52 +0000 (0:00:00.053) 0:01:04.852 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:17 Wednesday 06 July 2022 08:32:52 +0000 (0:00:00.039) 0:01:04.891 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:23 Wednesday 06 July 2022 08:32:52 +0000 (0:00:00.038) 0:01:04.930 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:29 Wednesday 06 July 2022 08:32:52 +0000 (0:00:00.039) 0:01:04.970 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 08:32:52 +0000 (0:00:00.040) 0:01:05.010 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:68 Wednesday 06 July 2022 08:32:53 +0000 (0:00:00.037) 0:01:05.048 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 08:32:53 +0000 (0:00:00.050) 0:01:05.098 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml for /cache/fedora-35.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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml for /cache/fedora-35.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/test2', 'name': 'lv2', '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': ['sda', 'sdb'], '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/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml for /cache/fedora-35.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/test3', 'name': 'lv3', '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': ['sda', 'sdb'], '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/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 08:32:53 +0000 (0:00:00.072) 0:01:05.171 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 08:32:53 +0000 (0:00:00.028) 0:01:05.199 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 08:32:53 +0000 (0:00:00.032) 0:01:05.232 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 08:32:53 +0000 (0:00:00.031) 0:01:05.264 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 08:32:53 +0000 (0:00:00.028) 0:01:05.292 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 08:32:53 +0000 (0:00:00.030) 0:01:05.323 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 08:32:53 +0000 (0:00:00.076) 0:01:05.399 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 08:32:53 +0000 (0:00:00.027) 0:01:05.426 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 08:32:53 +0000 (0:00:00.039) 0:01:05.466 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 08:32:53 +0000 (0:00:00.026) 0:01:05.493 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 08:32:53 +0000 (0:00:00.028) 0:01:05.522 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 08:32:53 +0000 (0:00:00.027) 0:01:05.549 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 08:32:53 +0000 (0:00:00.025) 0:01:05.575 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 08:32:53 +0000 (0:00:00.026) 0:01:05.601 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 08:32:53 +0000 (0:00:00.030) 0:01:05.631 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 08:32:53 +0000 (0:00:00.026) 0:01:05.658 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 08:32:53 +0000 (0:00:00.035) 0:01:05.693 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 08:32:53 +0000 (0:00:00.026) 0:01:05.719 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 08:32:53 +0000 (0:00:00.027) 0:01:05.746 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 08:32:53 +0000 (0:00:00.027) 0:01:05.774 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 08:32:53 +0000 (0:00:00.026) 0:01:05.800 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 08:32:53 +0000 (0:00:00.024) 0:01:05.825 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 08:32:53 +0000 (0:00:00.027) 0:01:05.853 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 08:32:53 +0000 (0:00:00.029) 0:01:05.882 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:71 Wednesday 06 July 2022 08:32:53 +0000 (0:00:00.037) 0:01:05.920 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 08:32:53 +0000 (0:00:00.038) 0:01:05.959 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-volume.yml for /cache/fedora-35.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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmprua6lrek/tests/test-verify-volume.yml for /cache/fedora-35.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/test2', 'name': 'lv2', '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': ['sda', 'sdb'], '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/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmprua6lrek/tests/test-verify-volume.yml for /cache/fedora-35.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/test3', 'name': 'lv3', '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': ['sda', 'sdb'], '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/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 08:32:54 +0000 (0:00:00.061) 0:01:06.021 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 08:32:54 +0000 (0:00:00.052) 0:01:06.074 ******** included: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 08:32:54 +0000 (0:00:00.083) 0:01:06.158 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 08:32:54 +0000 (0:00:00.050) 0:01:06.208 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 508753, "block_size": 4096, "block_total": 520704, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 2083852288, "size_total": 2132803584, "uuid": "a141a8e0-ca10-4d3b-ac57-74ac2d79363f" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 508753, "block_size": 4096, "block_total": 520704, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 2083852288, "size_total": 2132803584, "uuid": "a141a8e0-ca10-4d3b-ac57-74ac2d79363f" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 08:32:54 +0000 (0:00:00.062) 0:01:06.270 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 08:32:54 +0000 (0:00:00.052) 0:01:06.322 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 08:32:54 +0000 (0:00:00.048) 0:01:06.371 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 08:32:54 +0000 (0:00:00.051) 0:01:06.422 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 08:32:54 +0000 (0:00:00.027) 0:01:06.450 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 08:32:54 +0000 (0:00:00.027) 0:01:06.478 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 08:32:54 +0000 (0:00:00.026) 0:01:06.505 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 08:32:54 +0000 (0:00:00.036) 0:01:06.541 ******** ok: [/cache/fedora-35.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/vg1-lv1 " ], "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/tmprua6lrek/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 08:32:54 +0000 (0:00:00.066) 0:01:06.607 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 08:32:54 +0000 (0:00:00.089) 0:01:06.697 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 08:32:54 +0000 (0:00:00.091) 0:01:06.788 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 08:32:54 +0000 (0:00:00.080) 0:01:06.869 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 08:32:54 +0000 (0:00:00.034) 0:01:06.904 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 08:32:54 +0000 (0:00:00.042) 0:01:06.947 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 08:32:54 +0000 (0:00:00.045) 0:01:06.992 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657096332.6237173, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657096329.5857174, "dev": 5, "device_type": 64770, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 547, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657096329.5857174, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "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/tmprua6lrek/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 08:32:55 +0000 (0:00:00.411) 0:01:07.403 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 08:32:55 +0000 (0:00:00.049) 0:01:07.453 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 08:32:55 +0000 (0:00:00.046) 0:01:07.499 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 08:32:55 +0000 (0:00:00.043) 0:01:07.543 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 08:32:55 +0000 (0:00:00.027) 0:01:07.571 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 08:32:55 +0000 (0:00:00.047) 0:01:07.619 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 08:32:55 +0000 (0:00:00.026) 0:01:07.646 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 08:32:57 +0000 (0:00:01.881) 0:01:09.528 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 08:32:57 +0000 (0:00:00.027) 0:01:09.555 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 08:32:57 +0000 (0:00:00.026) 0:01:09.581 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 08:32:57 +0000 (0:00:00.058) 0:01:09.640 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 08:32:57 +0000 (0:00:00.025) 0:01:09.665 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 08:32:57 +0000 (0:00:00.026) 0:01:09.692 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 08:32:57 +0000 (0:00:00.024) 0:01:09.716 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 08:32:57 +0000 (0:00:00.024) 0:01:09.740 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 08:32:57 +0000 (0:00:00.025) 0:01:09.766 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 08:32:57 +0000 (0:00:00.055) 0:01:09.821 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 08:32:57 +0000 (0:00:00.052) 0:01:09.874 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 08:32:57 +0000 (0:00:00.037) 0:01:09.911 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 08:32:57 +0000 (0:00:00.037) 0:01:09.949 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 08:32:57 +0000 (0:00:00.037) 0:01:09.986 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 08:32:58 +0000 (0:00:00.082) 0:01:10.068 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 08:32:58 +0000 (0:00:00.041) 0:01:10.110 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 08:32:58 +0000 (0:00:00.080) 0:01:10.190 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 08:32:58 +0000 (0:00:00.041) 0:01:10.232 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 08:32:58 +0000 (0:00:00.038) 0:01:10.270 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 08:32:58 +0000 (0:00:00.042) 0:01:10.313 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 08:32:58 +0000 (0:00:00.037) 0:01:10.351 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 08:32:58 +0000 (0:00:00.036) 0:01:10.387 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 08:32:58 +0000 (0:00:00.384) 0:01:10.772 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 08:32:59 +0000 (0:00:00.408) 0:01:11.181 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 08:32:59 +0000 (0:00:00.054) 0:01:11.235 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 08:32:59 +0000 (0:00:00.038) 0:01:11.274 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 08:32:59 +0000 (0:00:00.038) 0:01:11.313 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 08:32:59 +0000 (0:00:00.040) 0:01:11.353 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 08:32:59 +0000 (0:00:00.041) 0:01:11.394 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 08:32:59 +0000 (0:00:00.040) 0:01:11.435 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 08:32:59 +0000 (0:00:00.039) 0:01:11.474 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 08:32:59 +0000 (0:00:00.040) 0:01:11.515 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 08:32:59 +0000 (0:00:00.041) 0:01:11.557 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 08:32:59 +0000 (0:00:00.053) 0:01:11.611 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.036939", "end": "2022-07-06 08:32:59.232050", "rc": 0, "start": "2022-07-06 08:32:59.195111" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 08:33:00 +0000 (0:00:00.467) 0:01:12.079 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 08:33:00 +0000 (0:00:00.055) 0:01:12.134 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 08:33:00 +0000 (0:00:00.057) 0:01:12.192 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 08:33:00 +0000 (0:00:00.045) 0:01:12.237 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 08:33:00 +0000 (0:00:00.038) 0:01:12.275 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 08:33:00 +0000 (0:00:00.037) 0:01:12.313 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 08:33:00 +0000 (0:00:00.038) 0:01:12.351 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 08:33:00 +0000 (0:00:00.037) 0:01:12.389 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 08:33:00 +0000 (0:00:00.096) 0:01:12.485 ******** included: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 08:33:00 +0000 (0:00:00.129) 0:01:12.614 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv2" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 08:33:00 +0000 (0:00:00.045) 0:01:12.660 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv2", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "1b0a194f-49bf-40fc-82de-22a018886226" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv2", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "1b0a194f-49bf-40fc-82de-22a018886226" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 08:33:00 +0000 (0:00:00.056) 0:01:12.717 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 08:33:00 +0000 (0:00:00.051) 0:01:12.768 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 08:33:00 +0000 (0:00:00.058) 0:01:12.827 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 08:33:00 +0000 (0:00:00.053) 0:01:12.880 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 08:33:00 +0000 (0:00:00.026) 0:01:12.906 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 08:33:00 +0000 (0:00:00.027) 0:01:12.934 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 08:33:00 +0000 (0:00:00.024) 0:01:12.958 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 08:33:00 +0000 (0:00:00.034) 0:01:12.993 ******** ok: [/cache/fedora-35.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/vg1-lv2 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 08:33:01 +0000 (0:00:00.063) 0:01:13.056 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 08:33:01 +0000 (0:00:00.055) 0:01:13.111 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 08:33:01 +0000 (0:00:00.052) 0:01:13.164 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 08:33:01 +0000 (0:00:00.040) 0:01:13.204 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 08:33:01 +0000 (0:00:00.042) 0:01:13.247 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 08:33:01 +0000 (0:00:00.040) 0:01:13.287 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 08:33:01 +0000 (0:00:00.042) 0:01:13.330 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657096332.5957174, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657096329.3777173, "dev": 5, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 540, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657096329.3777173, "nlink": 1, "path": "/dev/mapper/vg1-lv2", "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/tmprua6lrek/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 08:33:01 +0000 (0:00:00.386) 0:01:13.716 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 08:33:01 +0000 (0:00:00.041) 0:01:13.758 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 08:33:01 +0000 (0:00:00.039) 0:01:13.798 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 08:33:01 +0000 (0:00:00.040) 0:01:13.838 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 08:33:01 +0000 (0:00:00.027) 0:01:13.865 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 08:33:01 +0000 (0:00:00.038) 0:01:13.904 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 08:33:01 +0000 (0:00:00.023) 0:01:13.928 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 08:33:03 +0000 (0:00:01.786) 0:01:15.714 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 08:33:03 +0000 (0:00:00.025) 0:01:15.740 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 08:33:03 +0000 (0:00:00.026) 0:01:15.766 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 08:33:03 +0000 (0:00:00.050) 0:01:15.817 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 08:33:03 +0000 (0:00:00.033) 0:01:15.851 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 08:33:03 +0000 (0:00:00.028) 0:01:15.879 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 08:33:03 +0000 (0:00:00.027) 0:01:15.907 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 08:33:03 +0000 (0:00:00.025) 0:01:15.933 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 08:33:03 +0000 (0:00:00.026) 0:01:15.959 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 08:33:03 +0000 (0:00:00.053) 0:01:16.013 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 08:33:04 +0000 (0:00:00.052) 0:01:16.065 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 08:33:04 +0000 (0:00:00.037) 0:01:16.102 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 08:33:04 +0000 (0:00:00.036) 0:01:16.139 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 08:33:04 +0000 (0:00:00.044) 0:01:16.183 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 08:33:04 +0000 (0:00:00.041) 0:01:16.225 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 08:33:04 +0000 (0:00:00.040) 0:01:16.266 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 08:33:04 +0000 (0:00:00.042) 0:01:16.309 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 08:33:04 +0000 (0:00:00.044) 0:01:16.353 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 08:33:04 +0000 (0:00:00.039) 0:01:16.393 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 08:33:04 +0000 (0:00:00.038) 0:01:16.431 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 08:33:04 +0000 (0:00:00.043) 0:01:16.474 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 08:33:04 +0000 (0:00:00.039) 0:01:16.514 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 08:33:04 +0000 (0:00:00.405) 0:01:16.920 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 08:33:05 +0000 (0:00:00.404) 0:01:17.325 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 08:33:05 +0000 (0:00:00.101) 0:01:17.427 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 08:33:05 +0000 (0:00:00.084) 0:01:17.512 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 08:33:05 +0000 (0:00:00.040) 0:01:17.552 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 08:33:05 +0000 (0:00:00.039) 0:01:17.592 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 08:33:05 +0000 (0:00:00.041) 0:01:17.634 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 08:33:05 +0000 (0:00:00.039) 0:01:17.674 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 08:33:05 +0000 (0:00:00.039) 0:01:17.713 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 08:33:05 +0000 (0:00:00.041) 0:01:17.755 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 08:33:05 +0000 (0:00:00.038) 0:01:17.794 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 08:33:05 +0000 (0:00:00.056) 0:01:17.850 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv2" ], "delta": "0:00:00.041405", "end": "2022-07-06 08:33:05.451249", "rc": 0, "start": "2022-07-06 08:33:05.409844" } STDOUT: LVM2_LV_NAME=lv2 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 08:33:06 +0000 (0:00:00.446) 0:01:18.296 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 08:33:06 +0000 (0:00:00.058) 0:01:18.355 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 08:33:06 +0000 (0:00:00.057) 0:01:18.412 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 08:33:06 +0000 (0:00:00.039) 0:01:18.452 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 08:33:06 +0000 (0:00:00.037) 0:01:18.490 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 08:33:06 +0000 (0:00:00.037) 0:01:18.527 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 08:33:06 +0000 (0:00:00.047) 0:01:18.575 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 08:33:06 +0000 (0:00:00.036) 0:01:18.611 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 08:33:06 +0000 (0:00:00.051) 0:01:18.663 ******** included: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 08:33:06 +0000 (0:00:00.077) 0:01:18.740 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv3" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 08:33:06 +0000 (0:00:00.042) 0:01:18.782 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv3", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "67155acc-a6ef-4ec4-a378-ff5e9b186ded" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv3", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "67155acc-a6ef-4ec4-a378-ff5e9b186ded" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 08:33:06 +0000 (0:00:00.055) 0:01:18.838 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 08:33:06 +0000 (0:00:00.052) 0:01:18.890 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 08:33:06 +0000 (0:00:00.052) 0:01:18.943 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 08:33:06 +0000 (0:00:00.052) 0:01:18.995 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 08:33:07 +0000 (0:00:00.026) 0:01:19.021 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 08:33:07 +0000 (0:00:00.026) 0:01:19.047 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 08:33:07 +0000 (0:00:00.026) 0:01:19.074 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 08:33:07 +0000 (0:00:00.077) 0:01:19.152 ******** ok: [/cache/fedora-35.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/vg1-lv3 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test3 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test3 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 08:33:07 +0000 (0:00:00.134) 0:01:19.286 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 08:33:07 +0000 (0:00:00.050) 0:01:19.337 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 08:33:07 +0000 (0:00:00.062) 0:01:19.399 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 08:33:07 +0000 (0:00:00.057) 0:01:19.457 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 08:33:07 +0000 (0:00:00.045) 0:01:19.502 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 08:33:07 +0000 (0:00:00.046) 0:01:19.549 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 08:33:07 +0000 (0:00:00.044) 0:01:19.594 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657096332.6077173, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657096329.1637173, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 532, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657096329.1637173, "nlink": 1, "path": "/dev/mapper/vg1-lv3", "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/tmprua6lrek/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 08:33:07 +0000 (0:00:00.393) 0:01:19.987 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 08:33:08 +0000 (0:00:00.041) 0:01:20.029 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 08:33:08 +0000 (0:00:00.038) 0:01:20.068 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 08:33:08 +0000 (0:00:00.035) 0:01:20.103 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 08:33:08 +0000 (0:00:00.023) 0:01:20.127 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 08:33:08 +0000 (0:00:00.039) 0:01:20.166 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 08:33:08 +0000 (0:00:00.022) 0:01:20.189 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 08:33:09 +0000 (0:00:01.774) 0:01:21.963 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 08:33:09 +0000 (0:00:00.027) 0:01:21.991 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 08:33:10 +0000 (0:00:00.028) 0:01:22.019 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 08:33:10 +0000 (0:00:00.058) 0:01:22.078 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 08:33:10 +0000 (0:00:00.026) 0:01:22.104 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 08:33:10 +0000 (0:00:00.027) 0:01:22.132 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 08:33:10 +0000 (0:00:00.027) 0:01:22.159 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 08:33:10 +0000 (0:00:00.027) 0:01:22.187 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 08:33:10 +0000 (0:00:00.026) 0:01:22.214 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 08:33:10 +0000 (0:00:00.096) 0:01:22.310 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 08:33:10 +0000 (0:00:00.053) 0:01:22.364 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 08:33:10 +0000 (0:00:00.038) 0:01:22.403 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 08:33:10 +0000 (0:00:00.040) 0:01:22.444 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 08:33:10 +0000 (0:00:00.040) 0:01:22.484 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 08:33:10 +0000 (0:00:00.037) 0:01:22.521 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 08:33:10 +0000 (0:00:00.039) 0:01:22.561 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 08:33:10 +0000 (0:00:00.041) 0:01:22.602 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 08:33:10 +0000 (0:00:00.082) 0:01:22.684 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 08:33:10 +0000 (0:00:00.042) 0:01:22.727 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 08:33:10 +0000 (0:00:00.040) 0:01:22.767 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 08:33:10 +0000 (0:00:00.040) 0:01:22.808 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 08:33:10 +0000 (0:00:00.039) 0:01:22.847 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 08:33:11 +0000 (0:00:00.389) 0:01:23.237 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 08:33:11 +0000 (0:00:00.576) 0:01:23.813 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 08:33:11 +0000 (0:00:00.068) 0:01:23.882 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 08:33:11 +0000 (0:00:00.039) 0:01:23.922 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 08:33:11 +0000 (0:00:00.038) 0:01:23.960 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 08:33:11 +0000 (0:00:00.039) 0:01:23.999 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 08:33:12 +0000 (0:00:00.040) 0:01:24.040 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 08:33:12 +0000 (0:00:00.045) 0:01:24.085 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 08:33:12 +0000 (0:00:00.045) 0:01:24.130 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 08:33:12 +0000 (0:00:00.040) 0:01:24.171 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 08:33:12 +0000 (0:00:00.043) 0:01:24.214 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 08:33:12 +0000 (0:00:00.056) 0:01:24.271 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv3" ], "delta": "0:00:00.037587", "end": "2022-07-06 08:33:11.866970", "rc": 0, "start": "2022-07-06 08:33:11.829383" } STDOUT: LVM2_LV_NAME=lv3 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 08:33:12 +0000 (0:00:00.441) 0:01:24.712 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 08:33:12 +0000 (0:00:00.053) 0:01:24.765 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 08:33:12 +0000 (0:00:00.065) 0:01:24.831 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 08:33:12 +0000 (0:00:00.042) 0:01:24.874 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 08:33:12 +0000 (0:00:00.041) 0:01:24.915 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 08:33:12 +0000 (0:00:00.039) 0:01:24.954 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 08:33:12 +0000 (0:00:00.038) 0:01:24.993 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:40 Wednesday 06 July 2022 08:33:13 +0000 (0:00:00.039) 0:01:25.033 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:47 Wednesday 06 July 2022 08:33:13 +0000 (0:00:00.036) 0:01:25.070 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:57 Wednesday 06 July 2022 08:33:13 +0000 (0:00:00.024) 0:01:25.094 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Remove the device created above] ***************************************** task path: /tmp/tmprua6lrek/tests/tests_create_raid_pool_then_remove.yml:77 Wednesday 06 July 2022 08:33:13 +0000 (0:00:00.102) 0:01:25.197 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 08:33:13 +0000 (0:00:00.061) 0:01:25.258 ******** included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 08:33:13 +0000 (0:00:00.040) 0:01:25.299 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 08:33:13 +0000 (0:00:00.549) 0:01:25.848 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 08:33:13 +0000 (0:00:00.066) 0:01:25.915 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 08:33:13 +0000 (0:00:00.037) 0:01:25.953 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 08:33:13 +0000 (0:00:00.032) 0:01:25.986 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 08:33:14 +0000 (0:00:00.047) 0:01:26.033 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 08:33:14 +0000 (0:00:00.020) 0:01:26.054 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 08:33:14 +0000 (0:00:00.026) 0:01:26.080 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "raid_level": "raid0", "state": "absent", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "size": "2g" }, { "mount_point": "/opt/test2", "name": "lv2", "size": "3g" }, { "mount_point": "/opt/test3", "name": "lv3", "size": "3g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 08:33:14 +0000 (0:00:00.043) 0:01:26.124 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 08:33:14 +0000 (0:00:00.046) 0:01:26.171 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 08:33:14 +0000 (0:00:00.035) 0:01:26.206 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 08:33:14 +0000 (0:00:00.033) 0:01:26.240 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 08:33:14 +0000 (0:00:00.034) 0:01:26.274 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 08:33:14 +0000 (0:00:00.032) 0:01:26.307 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 08:33:14 +0000 (0:00:00.062) 0:01:26.370 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 08:33:14 +0000 (0:00:00.025) 0:01:26.395 ******** changed: [/cache/fedora-35.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv3", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv3", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/vg1-lv2", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv2", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/md/vg1-1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/md/vg1-1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "e2fsprogs", "btrfs-progs", "dosfstools" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "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 }, { "_device": "/dev/mapper/vg1-lv3", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 08:33:19 +0000 (0:00:04.932) 0:01:31.328 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 08:33:19 +0000 (0:00:00.086) 0:01:31.414 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 08:33:19 +0000 (0:00:00.023) 0:01:31.438 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv3", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv3", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/vg1-lv2", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv2", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/md/vg1-1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/md/vg1-1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "e2fsprogs", "btrfs-progs", "dosfstools" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "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 }, { "_device": "/dev/mapper/vg1-lv3", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 08:33:19 +0000 (0:00:00.043) 0:01:31.481 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "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 }, { "_device": "/dev/mapper/vg1-lv3", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 08:33:19 +0000 (0:00:00.042) 0:01:31.523 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 08:33:19 +0000 (0:00:00.037) 0:01:31.561 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv3', 'path': '/opt/test3', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "absent" }, "name": "/opt/test3", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv3" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv2', 'path': '/opt/test2', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "absent" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv2" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 08:33:20 +0000 (0:00:01.148) 0:01:32.709 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 08:33:21 +0000 (0:00:00.751) 0:01:33.461 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 08:33:21 +0000 (0:00:00.041) 0:01:33.503 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 08:33:22 +0000 (0:00:00.739) 0:01:34.242 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 08:33:22 +0000 (0:00:00.403) 0:01:34.646 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 08:33:22 +0000 (0:00:00.025) 0:01:34.671 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/tests_create_raid_pool_then_remove.yml:98 Wednesday 06 July 2022 08:33:23 +0000 (0:00:00.936) 0:01:35.608 ******** included: /tmp/tmprua6lrek/tests/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:1 Wednesday 06 July 2022 08:33:23 +0000 (0:00:00.047) 0:01:35.655 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "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 }, { "_device": "/dev/mapper/vg1-lv3", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "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/tmprua6lrek/tests/verify-role-results.yml:6 Wednesday 06 July 2022 08:33:23 +0000 (0:00:00.087) 0:01:35.743 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:14 Wednesday 06 July 2022 08:33:23 +0000 (0:00:00.039) 0:01:35.782 ******** ok: [/cache/fedora-35.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-06-08-31-35-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/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": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/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": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/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": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:19 Wednesday 06 July 2022 08:33:24 +0000 (0:00:00.475) 0:01:36.257 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003428", "end": "2022-07-06 08:33:23.814781", "rc": 0, "start": "2022-07-06 08:33:23.811353" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:24 Wednesday 06 July 2022 08:33:24 +0000 (0:00:00.402) 0:01:36.660 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002866", "end": "2022-07-06 08:33:24.216752", "failed_when_result": false, "rc": 0, "start": "2022-07-06 08:33:24.213886" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:33 Wednesday 06 July 2022 08:33:25 +0000 (0:00:00.404) 0:01:37.064 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', 'raid_level': 'raid0', 'raid_device_count': 2, 'raid_spare_count': 0, 'raid_metadata_version': '1.2', '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': '/opt/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}, {'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/test2', 'name': 'lv2', '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': ['sda', 'sdb'], '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/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2'}, {'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/test3', 'name': 'lv3', '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': ['sda', 'sdb'], '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/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3'}], 'raid_chunk_size': '512 KiB'}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool.yml:5 Wednesday 06 July 2022 08:33:25 +0000 (0:00:00.065) 0:01:37.130 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool.yml:18 Wednesday 06 July 2022 08:33:25 +0000 (0:00:00.035) 0:01:37.166 ******** included: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmprua6lrek/tests/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:1 Wednesday 06 July 2022 08:33:25 +0000 (0:00:00.049) 0:01:37.215 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-pool-members.yml:10 Wednesday 06 July 2022 08:33:25 +0000 (0:00:00.055) 0:01:37.271 ******** TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:19 Wednesday 06 July 2022 08:33:25 +0000 (0:00:00.023) 0:01:37.294 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:23 Wednesday 06 July 2022 08:33:25 +0000 (0:00:00.051) 0:01:37.346 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:27 Wednesday 06 July 2022 08:33:25 +0000 (0:00:00.053) 0:01:37.400 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:34 Wednesday 06 July 2022 08:33:25 +0000 (0:00:00.055) 0:01:37.455 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:38 Wednesday 06 July 2022 08:33:25 +0000 (0:00:00.041) 0:01:37.496 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:42 Wednesday 06 July 2022 08:33:25 +0000 (0:00:00.053) 0:01:37.549 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "raid0" }, "changed": false } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:46 Wednesday 06 July 2022 08:33:25 +0000 (0:00:00.041) 0:01:37.591 ******** TASK [Check MD RAID] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:56 Wednesday 06 July 2022 08:33:25 +0000 (0:00:00.024) 0:01:37.615 ******** included: /tmp/tmprua6lrek/tests/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:6 Wednesday 06 July 2022 08:33:25 +0000 (0:00:00.045) 0:01:37.660 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:12 Wednesday 06 July 2022 08:33:25 +0000 (0:00:00.025) 0:01:37.685 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:16 Wednesday 06 July 2022 08:33:25 +0000 (0:00:00.025) 0:01:37.711 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:20 Wednesday 06 July 2022 08:33:25 +0000 (0:00:00.024) 0:01:37.735 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:24 Wednesday 06 July 2022 08:33:25 +0000 (0:00:00.024) 0:01:37.760 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:30 Wednesday 06 July 2022 08:33:25 +0000 (0:00:00.025) 0:01:37.785 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:36 Wednesday 06 July 2022 08:33:25 +0000 (0:00:00.026) 0:01:37.812 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:44 Wednesday 06 July 2022 08:33:25 +0000 (0:00:00.025) 0:01:37.838 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-pool-members.yml:59 Wednesday 06 July 2022 08:33:25 +0000 (0:00:00.072) 0:01:37.910 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 08:33:25 +0000 (0:00:00.081) 0:01:37.991 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml for /cache/fedora-35.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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) included: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml for /cache/fedora-35.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/test2', 'name': 'lv2', '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': ['sda', 'sdb'], '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/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2'}) included: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml for /cache/fedora-35.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/test3', 'name': 'lv3', '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': ['sda', 'sdb'], '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/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 08:33:26 +0000 (0:00:00.057) 0:01:38.049 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 08:33:26 +0000 (0:00:00.030) 0:01:38.080 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 08:33:26 +0000 (0:00:00.028) 0:01:38.109 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 08:33:26 +0000 (0:00:00.030) 0:01:38.139 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 08:33:26 +0000 (0:00:00.028) 0:01:38.167 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 08:33:26 +0000 (0:00:00.031) 0:01:38.198 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 08:33:26 +0000 (0:00:00.030) 0:01:38.229 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 08:33:26 +0000 (0:00:00.030) 0:01:38.259 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 08:33:26 +0000 (0:00:00.029) 0:01:38.289 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:62 Wednesday 06 July 2022 08:33:26 +0000 (0:00:00.028) 0:01:38.318 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 08:33:26 +0000 (0:00:00.044) 0:01:38.362 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml for /cache/fedora-35.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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) included: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml for /cache/fedora-35.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/test2', 'name': 'lv2', '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': ['sda', 'sdb'], '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/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2'}) included: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml for /cache/fedora-35.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/test3', 'name': 'lv3', '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': ['sda', 'sdb'], '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/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 08:33:26 +0000 (0:00:00.056) 0:01:38.418 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 08:33:26 +0000 (0:00:00.025) 0:01:38.444 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 08:33:26 +0000 (0:00:00.025) 0:01:38.470 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 08:33:26 +0000 (0:00:00.026) 0:01:38.496 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 08:33:26 +0000 (0:00:00.023) 0:01:38.520 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 08:33:26 +0000 (0:00:00.024) 0:01:38.545 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 08:33:26 +0000 (0:00:00.034) 0:01:38.580 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 08:33:26 +0000 (0:00:00.028) 0:01:38.608 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 08:33:26 +0000 (0:00:00.025) 0:01:38.633 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 08:33:26 +0000 (0:00:00.024) 0:01:38.658 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 08:33:26 +0000 (0:00:00.023) 0:01:38.681 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 08:33:26 +0000 (0:00:00.024) 0:01:38.705 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:65 Wednesday 06 July 2022 08:33:26 +0000 (0:00:00.024) 0:01:38.729 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 08:33:26 +0000 (0:00:00.046) 0:01:38.776 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 08:33:26 +0000 (0:00:00.050) 0:01:38.826 ******** TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 08:33:26 +0000 (0:00:00.022) 0:01:38.849 ******** TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 08:33:26 +0000 (0:00:00.023) 0:01:38.873 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:68 Wednesday 06 July 2022 08:33:26 +0000 (0:00:00.038) 0:01:38.911 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 08:33:26 +0000 (0:00:00.049) 0:01:38.961 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml for /cache/fedora-35.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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) included: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml for /cache/fedora-35.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/test2', 'name': 'lv2', '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': ['sda', 'sdb'], '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/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2'}) included: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml for /cache/fedora-35.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/test3', 'name': 'lv3', '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': ['sda', 'sdb'], '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/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 08:33:27 +0000 (0:00:00.065) 0:01:39.026 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 08:33:27 +0000 (0:00:00.026) 0:01:39.053 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 08:33:27 +0000 (0:00:00.026) 0:01:39.079 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 08:33:27 +0000 (0:00:00.070) 0:01:39.150 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 08:33:27 +0000 (0:00:00.026) 0:01:39.176 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 08:33:27 +0000 (0:00:00.024) 0:01:39.201 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 08:33:27 +0000 (0:00:00.025) 0:01:39.226 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 08:33:27 +0000 (0:00:00.028) 0:01:39.255 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 08:33:27 +0000 (0:00:00.035) 0:01:39.290 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 08:33:27 +0000 (0:00:00.024) 0:01:39.314 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 08:33:27 +0000 (0:00:00.023) 0:01:39.338 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 08:33:27 +0000 (0:00:00.025) 0:01:39.364 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 08:33:27 +0000 (0:00:00.026) 0:01:39.390 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 08:33:27 +0000 (0:00:00.026) 0:01:39.417 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 08:33:27 +0000 (0:00:00.027) 0:01:39.445 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 08:33:27 +0000 (0:00:00.030) 0:01:39.475 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 08:33:27 +0000 (0:00:00.039) 0:01:39.515 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 08:33:27 +0000 (0:00:00.026) 0:01:39.542 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 08:33:27 +0000 (0:00:00.027) 0:01:39.569 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 08:33:27 +0000 (0:00:00.025) 0:01:39.595 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 08:33:27 +0000 (0:00:00.023) 0:01:39.618 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 08:33:27 +0000 (0:00:00.025) 0:01:39.644 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 08:33:27 +0000 (0:00:00.024) 0:01:39.669 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 08:33:27 +0000 (0:00:00.034) 0:01:39.703 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:71 Wednesday 06 July 2022 08:33:27 +0000 (0:00:00.037) 0:01:39.741 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 08:33:27 +0000 (0:00:00.035) 0:01:39.776 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-volume.yml for /cache/fedora-35.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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) included: /tmp/tmprua6lrek/tests/test-verify-volume.yml for /cache/fedora-35.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/test2', 'name': 'lv2', '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': ['sda', 'sdb'], '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/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2'}) included: /tmp/tmprua6lrek/tests/test-verify-volume.yml for /cache/fedora-35.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/test3', 'name': 'lv3', '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': ['sda', 'sdb'], '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/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3'}) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 08:33:27 +0000 (0:00:00.053) 0:01:39.830 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 08:33:27 +0000 (0:00:00.048) 0:01:39.879 ******** included: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 08:33:27 +0000 (0:00:00.075) 0:01:39.954 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 08:33:27 +0000 (0:00:00.041) 0:01:39.996 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 08:33:28 +0000 (0:00:00.057) 0:01:40.053 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 08:33:28 +0000 (0:00:00.025) 0:01:40.079 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 08:33:28 +0000 (0:00:00.055) 0:01:40.135 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 08:33:28 +0000 (0:00:00.041) 0:01:40.177 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 08:33:28 +0000 (0:00:00.026) 0:01:40.203 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 08:33:28 +0000 (0:00:00.026) 0:01:40.229 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 08:33:28 +0000 (0:00:00.025) 0:01:40.254 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 08:33:28 +0000 (0:00:00.037) 0:01:40.292 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 08:33:28 +0000 (0:00:00.061) 0:01:40.353 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 08:33:28 +0000 (0:00:00.024) 0:01:40.378 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 08:33:28 +0000 (0:00:00.153) 0:01:40.531 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 08:33:28 +0000 (0:00:00.037) 0:01:40.569 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 08:33:28 +0000 (0:00:00.039) 0:01:40.609 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 08:33:28 +0000 (0:00:00.026) 0:01:40.635 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 08:33:28 +0000 (0:00:00.027) 0:01:40.663 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 08:33:29 +0000 (0:00:00.397) 0:01:41.061 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 08:33:29 +0000 (0:00:00.039) 0:01:41.100 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 08:33:29 +0000 (0:00:00.023) 0:01:41.124 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 08:33:29 +0000 (0:00:00.036) 0:01:41.160 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 08:33:29 +0000 (0:00:00.023) 0:01:41.183 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 08:33:29 +0000 (0:00:00.023) 0:01:41.207 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 08:33:29 +0000 (0:00:00.023) 0:01:41.230 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 08:33:31 +0000 (0:00:01.824) 0:01:43.054 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 08:33:31 +0000 (0:00:00.027) 0:01:43.081 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 08:33:31 +0000 (0:00:00.025) 0:01:43.107 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 08:33:31 +0000 (0:00:00.025) 0:01:43.132 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 08:33:31 +0000 (0:00:00.027) 0:01:43.159 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 08:33:31 +0000 (0:00:00.025) 0:01:43.185 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 08:33:31 +0000 (0:00:00.026) 0:01:43.211 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 08:33:31 +0000 (0:00:00.025) 0:01:43.236 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 08:33:31 +0000 (0:00:00.033) 0:01:43.270 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 08:33:31 +0000 (0:00:00.054) 0:01:43.324 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 08:33:31 +0000 (0:00:00.050) 0:01:43.374 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 08:33:31 +0000 (0:00:00.037) 0:01:43.412 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 08:33:31 +0000 (0:00:00.040) 0:01:43.453 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 08:33:31 +0000 (0:00:00.038) 0:01:43.492 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 08:33:31 +0000 (0:00:00.080) 0:01:43.573 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 08:33:31 +0000 (0:00:00.043) 0:01:43.616 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 08:33:31 +0000 (0:00:00.037) 0:01:43.653 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 08:33:31 +0000 (0:00:00.039) 0:01:43.692 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 08:33:31 +0000 (0:00:00.035) 0:01:43.728 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 08:33:31 +0000 (0:00:00.040) 0:01:43.768 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 08:33:31 +0000 (0:00:00.035) 0:01:43.804 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 08:33:31 +0000 (0:00:00.037) 0:01:43.841 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 08:33:31 +0000 (0:00:00.026) 0:01:43.868 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 08:33:31 +0000 (0:00:00.072) 0:01:43.940 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 08:33:31 +0000 (0:00:00.037) 0:01:43.977 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 08:33:32 +0000 (0:00:00.040) 0:01:44.017 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 08:33:32 +0000 (0:00:00.040) 0:01:44.057 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 08:33:32 +0000 (0:00:00.041) 0:01:44.099 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 08:33:32 +0000 (0:00:00.042) 0:01:44.141 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 08:33:32 +0000 (0:00:00.041) 0:01:44.182 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 08:33:32 +0000 (0:00:00.040) 0:01:44.223 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 08:33:32 +0000 (0:00:00.039) 0:01:44.263 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 08:33:32 +0000 (0:00:00.037) 0:01:44.301 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 08:33:32 +0000 (0:00:00.026) 0:01:44.327 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 08:33:32 +0000 (0:00:00.025) 0:01:44.353 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 08:33:32 +0000 (0:00:00.025) 0:01:44.379 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 08:33:32 +0000 (0:00:00.025) 0:01:44.404 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 08:33:32 +0000 (0:00:00.026) 0:01:44.431 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 08:33:32 +0000 (0:00:00.028) 0:01:44.460 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 08:33:32 +0000 (0:00:00.030) 0:01:44.490 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 08:33:32 +0000 (0:00:00.023) 0:01:44.514 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 08:33:32 +0000 (0:00:00.041) 0:01:44.555 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 08:33:32 +0000 (0:00:00.050) 0:01:44.606 ******** included: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 08:33:32 +0000 (0:00:00.078) 0:01:44.684 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv2" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 08:33:32 +0000 (0:00:00.043) 0:01:44.728 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 08:33:32 +0000 (0:00:00.057) 0:01:44.785 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 08:33:32 +0000 (0:00:00.025) 0:01:44.810 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 08:33:32 +0000 (0:00:00.054) 0:01:44.865 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 08:33:32 +0000 (0:00:00.039) 0:01:44.904 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 08:33:32 +0000 (0:00:00.025) 0:01:44.930 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 08:33:32 +0000 (0:00:00.025) 0:01:44.955 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 08:33:32 +0000 (0:00:00.027) 0:01:44.982 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 08:33:33 +0000 (0:00:00.035) 0:01:45.018 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 08:33:33 +0000 (0:00:00.064) 0:01:45.082 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 08:33:33 +0000 (0:00:00.025) 0:01:45.107 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 08:33:33 +0000 (0:00:00.051) 0:01:45.159 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 08:33:33 +0000 (0:00:00.036) 0:01:45.195 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 08:33:33 +0000 (0:00:00.036) 0:01:45.231 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 08:33:33 +0000 (0:00:00.026) 0:01:45.257 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 08:33:33 +0000 (0:00:00.025) 0:01:45.283 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 08:33:33 +0000 (0:00:00.419) 0:01:45.703 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 08:33:33 +0000 (0:00:00.038) 0:01:45.742 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 08:33:33 +0000 (0:00:00.025) 0:01:45.767 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 08:33:33 +0000 (0:00:00.035) 0:01:45.803 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 08:33:33 +0000 (0:00:00.026) 0:01:45.829 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 08:33:33 +0000 (0:00:00.024) 0:01:45.854 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 08:33:33 +0000 (0:00:00.025) 0:01:45.879 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 08:33:35 +0000 (0:00:01.831) 0:01:47.710 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 08:33:35 +0000 (0:00:00.032) 0:01:47.743 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 08:33:35 +0000 (0:00:00.026) 0:01:47.769 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 08:33:35 +0000 (0:00:00.024) 0:01:47.794 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 08:33:35 +0000 (0:00:00.026) 0:01:47.820 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 08:33:35 +0000 (0:00:00.025) 0:01:47.845 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 08:33:35 +0000 (0:00:00.027) 0:01:47.873 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 08:33:35 +0000 (0:00:00.024) 0:01:47.897 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 08:33:35 +0000 (0:00:00.025) 0:01:47.923 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 08:33:35 +0000 (0:00:00.052) 0:01:47.976 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 08:33:36 +0000 (0:00:00.051) 0:01:48.028 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 08:33:36 +0000 (0:00:00.038) 0:01:48.066 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 08:33:36 +0000 (0:00:00.041) 0:01:48.107 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 08:33:36 +0000 (0:00:00.038) 0:01:48.146 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 08:33:36 +0000 (0:00:00.041) 0:01:48.188 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 08:33:36 +0000 (0:00:00.044) 0:01:48.232 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 08:33:36 +0000 (0:00:00.041) 0:01:48.274 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 08:33:36 +0000 (0:00:00.041) 0:01:48.315 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 08:33:36 +0000 (0:00:00.037) 0:01:48.353 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 08:33:36 +0000 (0:00:00.040) 0:01:48.393 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 08:33:36 +0000 (0:00:00.037) 0:01:48.431 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 08:33:36 +0000 (0:00:00.038) 0:01:48.469 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 08:33:36 +0000 (0:00:00.025) 0:01:48.494 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 08:33:36 +0000 (0:00:00.039) 0:01:48.533 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 08:33:36 +0000 (0:00:00.104) 0:01:48.638 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 08:33:36 +0000 (0:00:00.036) 0:01:48.674 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 08:33:36 +0000 (0:00:00.036) 0:01:48.711 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 08:33:36 +0000 (0:00:00.038) 0:01:48.750 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 08:33:36 +0000 (0:00:00.037) 0:01:48.787 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 08:33:36 +0000 (0:00:00.036) 0:01:48.823 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 08:33:36 +0000 (0:00:00.042) 0:01:48.866 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 08:33:36 +0000 (0:00:00.042) 0:01:48.908 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 08:33:36 +0000 (0:00:00.038) 0:01:48.946 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 08:33:36 +0000 (0:00:00.026) 0:01:48.973 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 08:33:36 +0000 (0:00:00.026) 0:01:49.000 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 08:33:37 +0000 (0:00:00.028) 0:01:49.028 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 08:33:37 +0000 (0:00:00.026) 0:01:49.055 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 08:33:37 +0000 (0:00:00.027) 0:01:49.082 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 08:33:37 +0000 (0:00:00.024) 0:01:49.107 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 08:33:37 +0000 (0:00:00.028) 0:01:49.136 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 08:33:37 +0000 (0:00:00.027) 0:01:49.163 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 08:33:37 +0000 (0:00:00.038) 0:01:49.202 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 08:33:37 +0000 (0:00:00.056) 0:01:49.259 ******** included: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 08:33:37 +0000 (0:00:00.082) 0:01:49.341 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv3" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 08:33:37 +0000 (0:00:00.044) 0:01:49.385 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 08:33:37 +0000 (0:00:00.060) 0:01:49.445 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 08:33:37 +0000 (0:00:00.028) 0:01:49.473 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 08:33:37 +0000 (0:00:00.053) 0:01:49.527 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 08:33:37 +0000 (0:00:00.038) 0:01:49.565 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 08:33:37 +0000 (0:00:00.026) 0:01:49.591 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 08:33:37 +0000 (0:00:00.025) 0:01:49.616 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 08:33:37 +0000 (0:00:00.027) 0:01:49.644 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 08:33:37 +0000 (0:00:00.036) 0:01:49.681 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 08:33:37 +0000 (0:00:00.065) 0:01:49.746 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 08:33:37 +0000 (0:00:00.026) 0:01:49.773 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 08:33:37 +0000 (0:00:00.051) 0:01:49.824 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 08:33:37 +0000 (0:00:00.036) 0:01:49.861 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 08:33:37 +0000 (0:00:00.034) 0:01:49.896 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 08:33:37 +0000 (0:00:00.027) 0:01:49.923 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 08:33:37 +0000 (0:00:00.023) 0:01:49.947 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 08:33:38 +0000 (0:00:00.422) 0:01:50.369 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 08:33:38 +0000 (0:00:00.040) 0:01:50.409 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 08:33:38 +0000 (0:00:00.026) 0:01:50.436 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 08:33:38 +0000 (0:00:00.036) 0:01:50.472 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 08:33:38 +0000 (0:00:00.023) 0:01:50.496 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 08:33:38 +0000 (0:00:00.027) 0:01:50.524 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 08:33:38 +0000 (0:00:00.029) 0:01:50.553 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 08:33:40 +0000 (0:00:01.782) 0:01:52.336 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 08:33:40 +0000 (0:00:00.024) 0:01:52.360 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 08:33:40 +0000 (0:00:00.023) 0:01:52.384 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 08:33:40 +0000 (0:00:00.023) 0:01:52.407 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 08:33:40 +0000 (0:00:00.023) 0:01:52.430 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 08:33:40 +0000 (0:00:00.024) 0:01:52.454 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 08:33:40 +0000 (0:00:00.022) 0:01:52.477 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 08:33:40 +0000 (0:00:00.022) 0:01:52.500 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 08:33:40 +0000 (0:00:00.025) 0:01:52.526 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 08:33:40 +0000 (0:00:00.049) 0:01:52.575 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 08:33:40 +0000 (0:00:00.047) 0:01:52.623 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 08:33:40 +0000 (0:00:00.036) 0:01:52.659 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 08:33:40 +0000 (0:00:00.047) 0:01:52.707 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 08:33:40 +0000 (0:00:00.037) 0:01:52.744 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 08:33:40 +0000 (0:00:00.036) 0:01:52.781 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 08:33:40 +0000 (0:00:00.036) 0:01:52.817 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 08:33:40 +0000 (0:00:00.039) 0:01:52.857 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 08:33:40 +0000 (0:00:00.035) 0:01:52.893 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 08:33:40 +0000 (0:00:00.037) 0:01:52.930 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 08:33:40 +0000 (0:00:00.040) 0:01:52.971 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 08:33:40 +0000 (0:00:00.040) 0:01:53.011 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 08:33:41 +0000 (0:00:00.037) 0:01:53.049 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 08:33:41 +0000 (0:00:00.025) 0:01:53.074 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 08:33:41 +0000 (0:00:00.036) 0:01:53.111 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 08:33:41 +0000 (0:00:00.040) 0:01:53.152 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 08:33:41 +0000 (0:00:00.035) 0:01:53.187 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 08:33:41 +0000 (0:00:00.038) 0:01:53.225 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 08:33:41 +0000 (0:00:00.038) 0:01:53.264 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 08:33:41 +0000 (0:00:00.085) 0:01:53.349 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 08:33:41 +0000 (0:00:00.037) 0:01:53.386 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 08:33:41 +0000 (0:00:00.037) 0:01:53.424 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 08:33:41 +0000 (0:00:00.041) 0:01:53.465 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 08:33:41 +0000 (0:00:00.043) 0:01:53.509 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 08:33:41 +0000 (0:00:00.026) 0:01:53.535 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 08:33:41 +0000 (0:00:00.026) 0:01:53.562 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 08:33:41 +0000 (0:00:00.026) 0:01:53.589 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 08:33:41 +0000 (0:00:00.028) 0:01:53.617 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 08:33:41 +0000 (0:00:00.026) 0:01:53.643 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 08:33:41 +0000 (0:00:00.026) 0:01:53.670 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 08:33:41 +0000 (0:00:00.026) 0:01:53.697 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 08:33:41 +0000 (0:00:00.027) 0:01:53.724 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:40 Wednesday 06 July 2022 08:33:41 +0000 (0:00:00.033) 0:01:53.758 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:47 Wednesday 06 July 2022 08:33:41 +0000 (0:00:00.034) 0:01:53.792 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:57 Wednesday 06 July 2022 08:33:41 +0000 (0:00:00.021) 0:01:53.814 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Create a RAID1 lvm raid device] ****************************************** task path: /tmp/tmprua6lrek/tests/tests_create_raid_pool_then_remove.yml:100 Wednesday 06 July 2022 08:33:41 +0000 (0:00:00.046) 0:01:53.860 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 08:33:41 +0000 (0:00:00.062) 0:01:53.923 ******** included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 08:33:41 +0000 (0:00:00.041) 0:01:53.964 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 08:33:42 +0000 (0:00:00.556) 0:01:54.520 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 08:33:42 +0000 (0:00:00.063) 0:01:54.584 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 08:33:42 +0000 (0:00:00.036) 0:01:54.621 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 08:33:42 +0000 (0:00:00.035) 0:01:54.656 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 08:33:42 +0000 (0:00:00.049) 0:01:54.706 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 08:33:42 +0000 (0:00:00.023) 0:01:54.729 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 08:33:42 +0000 (0:00:00.030) 0:01:54.759 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "size": "2g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 08:33:42 +0000 (0:00:00.044) 0:01:54.804 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 08:33:42 +0000 (0:00:00.039) 0:01:54.843 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 08:33:42 +0000 (0:00:00.030) 0:01:54.874 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 08:33:42 +0000 (0:00:00.029) 0:01:54.904 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 08:33:42 +0000 (0:00:00.029) 0:01:54.934 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 08:33:42 +0000 (0:00:00.031) 0:01:54.966 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 08:33:43 +0000 (0:00:00.094) 0:01:55.061 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 08:33:43 +0000 (0:00:00.022) 0:01:55.083 ******** changed: [/cache/fedora-35.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/mapper/vg1-lv1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "lvm2", "btrfs-progs", "xfsprogs", "e2fsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "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": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 08:33:46 +0000 (0:00:03.455) 0:01:58.538 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 08:33:46 +0000 (0:00:00.038) 0:01:58.577 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 08:33:46 +0000 (0:00:00.023) 0:01:58.600 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/mapper/vg1-lv1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "lvm2", "btrfs-progs", "xfsprogs", "e2fsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "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": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 08:33:46 +0000 (0:00:00.042) 0:01:58.642 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "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": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 08:33:46 +0000 (0:00:00.040) 0:01:58.683 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 08:33:46 +0000 (0:00:00.034) 0:01:58.718 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 08:33:46 +0000 (0:00:00.039) 0:01:58.758 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 08:33:47 +0000 (0:00:00.756) 0:01:59.514 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv1', '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/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 08:33:47 +0000 (0:00:00.461) 0:01:59.976 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 08:33:48 +0000 (0:00:00.744) 0:02:00.720 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 08:33:49 +0000 (0:00:00.396) 0:02:01.117 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 08:33:49 +0000 (0:00:00.027) 0:02:01.145 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/tests_create_raid_pool_then_remove.yml:116 Wednesday 06 July 2022 08:33:50 +0000 (0:00:00.946) 0:02:02.092 ******** included: /tmp/tmprua6lrek/tests/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:1 Wednesday 06 July 2022 08:33:50 +0000 (0:00:00.088) 0:02:02.180 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "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": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmprua6lrek/tests/verify-role-results.yml:6 Wednesday 06 July 2022 08:33:50 +0000 (0:00:00.054) 0:02:02.235 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:14 Wednesday 06 July 2022 08:33:50 +0000 (0:00:00.042) 0:02:02.277 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "800c0b14-5921-40b4-806c-b650f2becce2" }, "/dev/mapper/vg1-lv1_rimage_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_0", "size": "2G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rimage_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_1", "size": "2G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rmeta_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rmeta_0", "size": "4M", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rmeta_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rmeta_1", "size": "4M", "type": "lvm", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "8X1fUH-0Ibi-13Y1-3cbW-uPSR-0pi4-ZQyfxu" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "s0GZFf-r1I3-sqK9-J6C4-XWgK-8x1F-lBi06Z" }, "/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-06-08-31-35-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/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": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/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": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/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": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:19 Wednesday 06 July 2022 08:33:50 +0000 (0:00:00.409) 0:02:02.686 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.004179", "end": "2022-07-06 08:33:51.225036", "rc": 0, "start": "2022-07-06 08:33:50.220857" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:24 Wednesday 06 July 2022 08:33:52 +0000 (0:00:01.386) 0:02:04.073 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002810", "end": "2022-07-06 08:33:51.631240", "failed_when_result": false, "rc": 0, "start": "2022-07-06 08:33:51.628430" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:33 Wednesday 06 July 2022 08:33:52 +0000 (0:00:00.406) 0:02:04.479 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', '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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool.yml:5 Wednesday 06 July 2022 08:33:52 +0000 (0:00:00.062) 0:02:04.542 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool.yml:18 Wednesday 06 July 2022 08:33:52 +0000 (0:00:00.034) 0:02:04.576 ******** included: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmprua6lrek/tests/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:1 Wednesday 06 July 2022 08:33:52 +0000 (0:00:00.049) 0:02:04.626 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "2", "_storage_test_pool_pvs_lvm": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:10 Wednesday 06 July 2022 08:33:52 +0000 (0:00:00.085) 0:02:04.711 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda1", "pv": "/dev/sda1" } ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sdb1", "pv": "/dev/sdb1" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:19 Wednesday 06 July 2022 08:33:53 +0000 (0:00:00.809) 0:02:05.521 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "2" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:23 Wednesday 06 July 2022 08:33:53 +0000 (0:00:00.092) 0:02:05.614 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:27 Wednesday 06 July 2022 08:33:53 +0000 (0:00:00.054) 0:02:05.668 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:34 Wednesday 06 July 2022 08:33:53 +0000 (0:00:00.103) 0:02:05.772 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:38 Wednesday 06 July 2022 08:33:53 +0000 (0:00:00.083) 0:02:05.856 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:42 Wednesday 06 July 2022 08:33:53 +0000 (0:00:00.083) 0:02:05.939 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:46 Wednesday 06 July 2022 08:33:53 +0000 (0:00:00.026) 0:02:05.966 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda1" } MSG: All assertions passed ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sdb1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:56 Wednesday 06 July 2022 08:33:54 +0000 (0:00:00.093) 0:02:06.059 ******** included: /tmp/tmprua6lrek/tests/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:6 Wednesday 06 July 2022 08:33:54 +0000 (0:00:00.045) 0:02:06.104 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:12 Wednesday 06 July 2022 08:33:54 +0000 (0:00:00.058) 0:02:06.163 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:16 Wednesday 06 July 2022 08:33:54 +0000 (0:00:00.025) 0:02:06.188 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:20 Wednesday 06 July 2022 08:33:54 +0000 (0:00:00.026) 0:02:06.215 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:24 Wednesday 06 July 2022 08:33:54 +0000 (0:00:00.026) 0:02:06.241 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:30 Wednesday 06 July 2022 08:33:54 +0000 (0:00:00.028) 0:02:06.270 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:36 Wednesday 06 July 2022 08:33:54 +0000 (0:00:00.030) 0:02:06.300 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:44 Wednesday 06 July 2022 08:33:54 +0000 (0:00:00.024) 0:02:06.324 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-pool-members.yml:59 Wednesday 06 July 2022 08:33:54 +0000 (0:00:00.036) 0:02:06.361 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 08:33:54 +0000 (0:00:00.049) 0:02:06.410 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 08:33:54 +0000 (0:00:00.047) 0:02:06.458 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheading", "-o", "lv_name", "--select", "lv_name=lv1&&lv_layout=raid1", "vg1" ], "delta": "0:00:00.042533", "end": "2022-07-06 08:33:54.093692", "rc": 0, "start": "2022-07-06 08:33:54.051159" } STDOUT: lv1 TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 08:33:54 +0000 (0:00:00.492) 0:02:06.951 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 08:33:55 +0000 (0:00:00.067) 0:02:07.018 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lvmraid_status": null }, "changed": false } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:62 Wednesday 06 July 2022 08:33:55 +0000 (0:00:00.050) 0:02:07.068 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 08:33:55 +0000 (0:00:00.052) 0:02:07.121 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 08:33:55 +0000 (0:00:00.047) 0:02:07.168 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 08:33:55 +0000 (0:00:00.025) 0:02:07.194 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 08:33:55 +0000 (0:00:00.028) 0:02:07.222 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 08:33:55 +0000 (0:00:00.028) 0:02:07.251 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:65 Wednesday 06 July 2022 08:33:55 +0000 (0:00:00.027) 0:02:07.279 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 08:33:55 +0000 (0:00:00.051) 0:02:07.330 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 08:33:55 +0000 (0:00:00.054) 0:02:07.385 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=/dev/sda1) => { "_storage_test_pool_member_path": "/dev/sda1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=/dev/sdb1) => { "_storage_test_pool_member_path": "/dev/sdb1", "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/tmprua6lrek/tests/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 08:33:55 +0000 (0:00:00.032) 0:02:07.417 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/sda1) included: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/sdb1) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 08:33:55 +0000 (0:00:00.051) 0:02:07.469 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:6 Wednesday 06 July 2022 08:33:55 +0000 (0:00:00.053) 0:02:07.522 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:11 Wednesday 06 July 2022 08:33:55 +0000 (0:00:00.050) 0:02:07.573 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:17 Wednesday 06 July 2022 08:33:55 +0000 (0:00:00.042) 0:02:07.616 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:23 Wednesday 06 July 2022 08:33:55 +0000 (0:00:00.045) 0:02:07.661 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:29 Wednesday 06 July 2022 08:33:55 +0000 (0:00:00.039) 0:02:07.701 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 08:33:55 +0000 (0:00:00.124) 0:02:07.826 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:6 Wednesday 06 July 2022 08:33:55 +0000 (0:00:00.049) 0:02:07.875 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:11 Wednesday 06 July 2022 08:33:55 +0000 (0:00:00.051) 0:02:07.927 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:17 Wednesday 06 July 2022 08:33:55 +0000 (0:00:00.040) 0:02:07.967 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:23 Wednesday 06 July 2022 08:33:55 +0000 (0:00:00.036) 0:02:08.004 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:29 Wednesday 06 July 2022 08:33:56 +0000 (0:00:00.038) 0:02:08.042 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 08:33:56 +0000 (0:00:00.041) 0:02:08.083 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:68 Wednesday 06 July 2022 08:33:56 +0000 (0:00:00.037) 0:02:08.121 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 08:33:56 +0000 (0:00:00.052) 0:02:08.173 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 08:33:56 +0000 (0:00:00.059) 0:02:08.232 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 08:33:56 +0000 (0:00:00.030) 0:02:08.263 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 08:33:56 +0000 (0:00:00.027) 0:02:08.291 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 08:33:56 +0000 (0:00:00.027) 0:02:08.318 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 08:33:56 +0000 (0:00:00.027) 0:02:08.346 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 08:33:56 +0000 (0:00:00.027) 0:02:08.373 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 08:33:56 +0000 (0:00:00.028) 0:02:08.402 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 08:33:56 +0000 (0:00:00.026) 0:02:08.428 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:71 Wednesday 06 July 2022 08:33:56 +0000 (0:00:00.039) 0:02:08.467 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 08:33:56 +0000 (0:00:00.036) 0:02:08.504 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-volume.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 08:33:56 +0000 (0:00:00.047) 0:02:08.552 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 08:33:56 +0000 (0:00:00.052) 0:02:08.604 ******** included: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 08:33:56 +0000 (0:00:00.081) 0:02:08.685 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 08:33:56 +0000 (0:00:00.054) 0:02:08.739 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 508813, "block_size": 4096, "block_total": 520704, "block_used": 11891, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 2084098048, "size_total": 2132803584, "uuid": "800c0b14-5921-40b4-806c-b650f2becce2" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 508813, "block_size": 4096, "block_total": 520704, "block_used": 11891, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 2084098048, "size_total": 2132803584, "uuid": "800c0b14-5921-40b4-806c-b650f2becce2" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 08:33:56 +0000 (0:00:00.057) 0:02:08.796 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 08:33:56 +0000 (0:00:00.051) 0:02:08.847 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 08:33:56 +0000 (0:00:00.050) 0:02:08.898 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 08:33:56 +0000 (0:00:00.051) 0:02:08.950 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 08:33:56 +0000 (0:00:00.026) 0:02:08.977 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 08:33:56 +0000 (0:00:00.027) 0:02:09.004 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 08:33:57 +0000 (0:00:00.025) 0:02:09.030 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 08:33:57 +0000 (0:00:00.033) 0:02:09.064 ******** ok: [/cache/fedora-35.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/vg1-lv1 " ], "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/tmprua6lrek/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 08:33:57 +0000 (0:00:00.100) 0:02:09.164 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 08:33:57 +0000 (0:00:00.102) 0:02:09.267 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 08:33:57 +0000 (0:00:00.051) 0:02:09.319 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 08:33:57 +0000 (0:00:00.038) 0:02:09.358 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 08:33:57 +0000 (0:00:00.040) 0:02:09.399 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 08:33:57 +0000 (0:00:00.048) 0:02:09.448 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 08:33:57 +0000 (0:00:00.048) 0:02:09.496 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657096427.1247175, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657096425.6277173, "dev": 5, "device_type": 64772, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 597, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657096425.6277173, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "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/tmprua6lrek/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 08:33:57 +0000 (0:00:00.427) 0:02:09.924 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 08:33:57 +0000 (0:00:00.042) 0:02:09.967 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 08:33:57 +0000 (0:00:00.044) 0:02:10.011 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 08:33:58 +0000 (0:00:00.038) 0:02:10.049 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 08:33:58 +0000 (0:00:00.025) 0:02:10.075 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 08:33:58 +0000 (0:00:00.039) 0:02:10.115 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 08:33:58 +0000 (0:00:00.032) 0:02:10.148 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 08:34:00 +0000 (0:00:01.923) 0:02:12.071 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 08:34:00 +0000 (0:00:00.028) 0:02:12.100 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 08:34:00 +0000 (0:00:00.029) 0:02:12.129 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 08:34:00 +0000 (0:00:00.055) 0:02:12.184 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 08:34:00 +0000 (0:00:00.025) 0:02:12.210 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 08:34:00 +0000 (0:00:00.024) 0:02:12.235 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 08:34:00 +0000 (0:00:00.025) 0:02:12.260 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 08:34:00 +0000 (0:00:00.023) 0:02:12.284 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 08:34:00 +0000 (0:00:00.024) 0:02:12.308 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 08:34:00 +0000 (0:00:00.100) 0:02:12.408 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 08:34:00 +0000 (0:00:00.094) 0:02:12.503 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 08:34:00 +0000 (0:00:00.040) 0:02:12.543 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 08:34:00 +0000 (0:00:00.098) 0:02:12.642 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 08:34:00 +0000 (0:00:00.036) 0:02:12.678 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 08:34:00 +0000 (0:00:00.113) 0:02:12.791 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 08:34:00 +0000 (0:00:00.040) 0:02:12.832 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 08:34:00 +0000 (0:00:00.039) 0:02:12.872 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 08:34:00 +0000 (0:00:00.037) 0:02:12.909 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 08:34:00 +0000 (0:00:00.045) 0:02:12.955 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 08:34:00 +0000 (0:00:00.038) 0:02:12.993 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 08:34:01 +0000 (0:00:00.040) 0:02:13.034 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 08:34:01 +0000 (0:00:00.042) 0:02:13.077 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 08:34:01 +0000 (0:00:00.397) 0:02:13.474 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 08:34:01 +0000 (0:00:00.405) 0:02:13.880 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 08:34:01 +0000 (0:00:00.052) 0:02:13.932 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 08:34:01 +0000 (0:00:00.040) 0:02:13.972 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 08:34:01 +0000 (0:00:00.041) 0:02:14.014 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 08:34:02 +0000 (0:00:00.040) 0:02:14.054 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 08:34:02 +0000 (0:00:00.043) 0:02:14.098 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 08:34:02 +0000 (0:00:00.045) 0:02:14.144 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 08:34:02 +0000 (0:00:00.042) 0:02:14.186 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 08:34:02 +0000 (0:00:00.042) 0:02:14.229 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 08:34:02 +0000 (0:00:00.039) 0:02:14.269 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 08:34:02 +0000 (0:00:00.055) 0:02:14.324 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.039816", "end": "2022-07-06 08:34:01.914157", "rc": 0, "start": "2022-07-06 08:34:01.874341" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=rwi-aor--- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=raid1 TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 08:34:02 +0000 (0:00:00.435) 0:02:14.760 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "raid1" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 08:34:02 +0000 (0:00:00.057) 0:02:14.818 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 08:34:02 +0000 (0:00:00.087) 0:02:14.906 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 08:34:02 +0000 (0:00:00.051) 0:02:14.957 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 08:34:03 +0000 (0:00:00.093) 0:02:15.051 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 08:34:03 +0000 (0:00:00.041) 0:02:15.093 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 08:34:03 +0000 (0:00:00.042) 0:02:15.135 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:40 Wednesday 06 July 2022 08:34:03 +0000 (0:00:00.089) 0:02:15.225 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:47 Wednesday 06 July 2022 08:34:03 +0000 (0:00:00.036) 0:02:15.261 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:57 Wednesday 06 July 2022 08:34:03 +0000 (0:00:00.024) 0:02:15.285 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmprua6lrek/tests/tests_create_raid_pool_then_remove.yml:118 Wednesday 06 July 2022 08:34:03 +0000 (0:00:00.038) 0:02:15.324 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 08:34:03 +0000 (0:00:00.076) 0:02:15.400 ******** included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 08:34:03 +0000 (0:00:00.036) 0:02:15.437 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 08:34:03 +0000 (0:00:00.531) 0:02:15.968 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 08:34:04 +0000 (0:00:00.065) 0:02:16.034 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 08:34:04 +0000 (0:00:00.035) 0:02:16.069 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 08:34:04 +0000 (0:00:00.033) 0:02:16.103 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 08:34:04 +0000 (0:00:00.047) 0:02:16.151 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 08:34:04 +0000 (0:00:00.020) 0:02:16.171 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 08:34:04 +0000 (0:00:00.028) 0:02:16.200 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "size": "2g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 08:34:04 +0000 (0:00:00.043) 0:02:16.243 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 08:34:04 +0000 (0:00:00.041) 0:02:16.285 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 08:34:04 +0000 (0:00:00.028) 0:02:16.313 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 08:34:04 +0000 (0:00:00.031) 0:02:16.345 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 08:34:04 +0000 (0:00:00.030) 0:02:16.375 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 08:34:04 +0000 (0:00:00.033) 0:02:16.408 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 08:34:04 +0000 (0:00:00.059) 0:02:16.467 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 08:34:04 +0000 (0:00:00.022) 0:02:16.490 ******** changed: [/cache/fedora-35.qcow2.snap] => { "actions": [ { "action": "resize device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/vg1-lv1", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "xfsprogs", "btrfs-progs", "dosfstools", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 08:34:08 +0000 (0:00:03.632) 0:02:20.123 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 08:34:08 +0000 (0:00:00.040) 0:02:20.163 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 08:34:08 +0000 (0:00:00.024) 0:02:20.187 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "resize device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/vg1-lv1", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "xfsprogs", "btrfs-progs", "dosfstools", "e2fsprogs", "lvm2" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 08:34:08 +0000 (0:00:00.043) 0:02:20.231 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 08:34:08 +0000 (0:00:00.040) 0:02:20.271 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 08:34:08 +0000 (0:00:00.042) 0:02:20.313 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 08:34:08 +0000 (0:00:00.040) 0:02:20.354 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 08:34:09 +0000 (0:00:00.716) 0:02:21.071 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv1', '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/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 08:34:09 +0000 (0:00:00.486) 0:02:21.558 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 08:34:10 +0000 (0:00:00.739) 0:02:22.297 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 08:34:10 +0000 (0:00:00.389) 0:02:22.686 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 08:34:10 +0000 (0:00:00.023) 0:02:22.710 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/tests_create_raid_pool_then_remove.yml:134 Wednesday 06 July 2022 08:34:11 +0000 (0:00:00.995) 0:02:23.706 ******** included: /tmp/tmprua6lrek/tests/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:1 Wednesday 06 July 2022 08:34:11 +0000 (0:00:00.057) 0:02:23.763 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmprua6lrek/tests/verify-role-results.yml:6 Wednesday 06 July 2022 08:34:11 +0000 (0:00:00.107) 0:02:23.870 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:14 Wednesday 06 July 2022 08:34:11 +0000 (0:00:00.086) 0:02:23.957 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "800c0b14-5921-40b4-806c-b650f2becce2" }, "/dev/mapper/vg1-lv1_rimage_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_0", "size": "2G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rimage_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_1", "size": "2G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rmeta_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rmeta_0", "size": "4M", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rmeta_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rmeta_1", "size": "4M", "type": "lvm", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "8X1fUH-0Ibi-13Y1-3cbW-uPSR-0pi4-ZQyfxu" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "s0GZFf-r1I3-sqK9-J6C4-XWgK-8x1F-lBi06Z" }, "/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-06-08-31-35-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/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": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/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": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/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": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:19 Wednesday 06 July 2022 08:34:12 +0000 (0:00:00.407) 0:02:24.365 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002867", "end": "2022-07-06 08:34:11.917969", "rc": 0, "start": "2022-07-06 08:34:11.915102" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:24 Wednesday 06 July 2022 08:34:12 +0000 (0:00:00.401) 0:02:24.767 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003050", "end": "2022-07-06 08:34:12.322794", "failed_when_result": false, "rc": 0, "start": "2022-07-06 08:34:12.319744" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:33 Wednesday 06 July 2022 08:34:13 +0000 (0:00:00.403) 0:02:25.170 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', '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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool.yml:5 Wednesday 06 July 2022 08:34:13 +0000 (0:00:00.063) 0:02:25.233 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool.yml:18 Wednesday 06 July 2022 08:34:13 +0000 (0:00:00.034) 0:02:25.268 ******** included: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmprua6lrek/tests/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:1 Wednesday 06 July 2022 08:34:13 +0000 (0:00:00.046) 0:02:25.315 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "2", "_storage_test_pool_pvs_lvm": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:10 Wednesday 06 July 2022 08:34:13 +0000 (0:00:00.053) 0:02:25.368 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda1", "pv": "/dev/sda1" } ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sdb1", "pv": "/dev/sdb1" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:19 Wednesday 06 July 2022 08:34:14 +0000 (0:00:00.741) 0:02:26.110 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "2" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:23 Wednesday 06 July 2022 08:34:14 +0000 (0:00:00.049) 0:02:26.159 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:27 Wednesday 06 July 2022 08:34:14 +0000 (0:00:00.056) 0:02:26.216 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:34 Wednesday 06 July 2022 08:34:14 +0000 (0:00:00.059) 0:02:26.275 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:38 Wednesday 06 July 2022 08:34:14 +0000 (0:00:00.041) 0:02:26.317 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:42 Wednesday 06 July 2022 08:34:14 +0000 (0:00:00.052) 0:02:26.369 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:46 Wednesday 06 July 2022 08:34:14 +0000 (0:00:00.028) 0:02:26.397 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda1" } MSG: All assertions passed ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sdb1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:56 Wednesday 06 July 2022 08:34:14 +0000 (0:00:00.058) 0:02:26.456 ******** included: /tmp/tmprua6lrek/tests/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:6 Wednesday 06 July 2022 08:34:14 +0000 (0:00:00.046) 0:02:26.502 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:12 Wednesday 06 July 2022 08:34:14 +0000 (0:00:00.026) 0:02:26.528 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:16 Wednesday 06 July 2022 08:34:14 +0000 (0:00:00.024) 0:02:26.553 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:20 Wednesday 06 July 2022 08:34:14 +0000 (0:00:00.026) 0:02:26.580 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:24 Wednesday 06 July 2022 08:34:14 +0000 (0:00:00.027) 0:02:26.608 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:30 Wednesday 06 July 2022 08:34:14 +0000 (0:00:00.026) 0:02:26.634 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:36 Wednesday 06 July 2022 08:34:14 +0000 (0:00:00.024) 0:02:26.659 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:44 Wednesday 06 July 2022 08:34:14 +0000 (0:00:00.023) 0:02:26.683 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-pool-members.yml:59 Wednesday 06 July 2022 08:34:14 +0000 (0:00:00.112) 0:02:26.796 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 08:34:14 +0000 (0:00:00.048) 0:02:26.844 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 08:34:14 +0000 (0:00:00.048) 0:02:26.893 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheading", "-o", "lv_name", "--select", "lv_name=lv1&&lv_layout=raid1", "vg1" ], "delta": "0:00:00.035635", "end": "2022-07-06 08:34:14.468059", "rc": 0, "start": "2022-07-06 08:34:14.432424" } STDOUT: lv1 TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 08:34:15 +0000 (0:00:00.421) 0:02:27.315 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 08:34:15 +0000 (0:00:00.065) 0:02:27.380 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lvmraid_status": null }, "changed": false } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:62 Wednesday 06 July 2022 08:34:15 +0000 (0:00:00.044) 0:02:27.425 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 08:34:15 +0000 (0:00:00.058) 0:02:27.483 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 08:34:15 +0000 (0:00:00.048) 0:02:27.531 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 08:34:15 +0000 (0:00:00.024) 0:02:27.556 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 08:34:15 +0000 (0:00:00.024) 0:02:27.580 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 08:34:15 +0000 (0:00:00.023) 0:02:27.604 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:65 Wednesday 06 July 2022 08:34:15 +0000 (0:00:00.024) 0:02:27.628 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 08:34:15 +0000 (0:00:00.048) 0:02:27.676 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 08:34:15 +0000 (0:00:00.047) 0:02:27.724 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=/dev/sda1) => { "_storage_test_pool_member_path": "/dev/sda1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=/dev/sdb1) => { "_storage_test_pool_member_path": "/dev/sdb1", "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/tmprua6lrek/tests/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 08:34:15 +0000 (0:00:00.029) 0:02:27.754 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/sda1) included: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/sdb1) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 08:34:15 +0000 (0:00:00.052) 0:02:27.806 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:6 Wednesday 06 July 2022 08:34:15 +0000 (0:00:00.053) 0:02:27.859 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:11 Wednesday 06 July 2022 08:34:15 +0000 (0:00:00.056) 0:02:27.916 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:17 Wednesday 06 July 2022 08:34:15 +0000 (0:00:00.036) 0:02:27.952 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:23 Wednesday 06 July 2022 08:34:15 +0000 (0:00:00.039) 0:02:27.992 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:29 Wednesday 06 July 2022 08:34:16 +0000 (0:00:00.039) 0:02:28.031 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 08:34:16 +0000 (0:00:00.040) 0:02:28.072 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:6 Wednesday 06 July 2022 08:34:16 +0000 (0:00:00.051) 0:02:28.124 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:11 Wednesday 06 July 2022 08:34:16 +0000 (0:00:00.068) 0:02:28.192 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:17 Wednesday 06 July 2022 08:34:16 +0000 (0:00:00.038) 0:02:28.231 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:23 Wednesday 06 July 2022 08:34:16 +0000 (0:00:00.035) 0:02:28.267 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:29 Wednesday 06 July 2022 08:34:16 +0000 (0:00:00.038) 0:02:28.305 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 08:34:16 +0000 (0:00:00.080) 0:02:28.386 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:68 Wednesday 06 July 2022 08:34:16 +0000 (0:00:00.080) 0:02:28.466 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 08:34:16 +0000 (0:00:00.049) 0:02:28.516 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 08:34:16 +0000 (0:00:00.048) 0:02:28.565 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 08:34:16 +0000 (0:00:00.024) 0:02:28.590 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 08:34:16 +0000 (0:00:00.024) 0:02:28.614 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 08:34:16 +0000 (0:00:00.023) 0:02:28.638 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 08:34:16 +0000 (0:00:00.023) 0:02:28.661 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 08:34:16 +0000 (0:00:00.025) 0:02:28.687 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 08:34:16 +0000 (0:00:00.025) 0:02:28.713 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 08:34:16 +0000 (0:00:00.023) 0:02:28.736 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:71 Wednesday 06 July 2022 08:34:16 +0000 (0:00:00.034) 0:02:28.771 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 08:34:16 +0000 (0:00:00.038) 0:02:28.809 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-volume.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 08:34:16 +0000 (0:00:00.045) 0:02:28.855 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 08:34:16 +0000 (0:00:00.051) 0:02:28.906 ******** included: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 08:34:16 +0000 (0:00:00.079) 0:02:28.986 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 08:34:17 +0000 (0:00:00.042) 0:02:29.029 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 509814, "block_size": 4096, "block_total": 521728, "block_used": 11914, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048573, "inode_total": 1048576, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 2088198144, "size_total": 2136997888, "uuid": "800c0b14-5921-40b4-806c-b650f2becce2" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 509814, "block_size": 4096, "block_total": 521728, "block_used": 11914, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048573, "inode_total": 1048576, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 2088198144, "size_total": 2136997888, "uuid": "800c0b14-5921-40b4-806c-b650f2becce2" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 08:34:17 +0000 (0:00:00.058) 0:02:29.087 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 08:34:17 +0000 (0:00:00.052) 0:02:29.140 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 08:34:17 +0000 (0:00:00.052) 0:02:29.192 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 08:34:17 +0000 (0:00:00.054) 0:02:29.246 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 08:34:17 +0000 (0:00:00.025) 0:02:29.272 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 08:34:17 +0000 (0:00:00.029) 0:02:29.301 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 08:34:17 +0000 (0:00:00.031) 0:02:29.333 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 08:34:17 +0000 (0:00:00.040) 0:02:29.374 ******** ok: [/cache/fedora-35.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/vg1-lv1 " ], "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/tmprua6lrek/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 08:34:17 +0000 (0:00:00.074) 0:02:29.448 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 08:34:17 +0000 (0:00:00.053) 0:02:29.502 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 08:34:17 +0000 (0:00:00.048) 0:02:29.551 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 08:34:17 +0000 (0:00:00.034) 0:02:29.585 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 08:34:17 +0000 (0:00:00.035) 0:02:29.621 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 08:34:17 +0000 (0:00:00.037) 0:02:29.658 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 08:34:17 +0000 (0:00:00.082) 0:02:29.740 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657096448.6997173, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657096447.2087173, "dev": 5, "device_type": 64772, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 597, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657096447.2087173, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "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/tmprua6lrek/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 08:34:18 +0000 (0:00:00.436) 0:02:30.177 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 08:34:18 +0000 (0:00:00.039) 0:02:30.216 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 08:34:18 +0000 (0:00:00.039) 0:02:30.256 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 08:34:18 +0000 (0:00:00.040) 0:02:30.297 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 08:34:18 +0000 (0:00:00.024) 0:02:30.322 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 08:34:18 +0000 (0:00:00.039) 0:02:30.361 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 08:34:18 +0000 (0:00:00.025) 0:02:30.386 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 08:34:20 +0000 (0:00:01.819) 0:02:32.206 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 08:34:20 +0000 (0:00:00.027) 0:02:32.233 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 08:34:20 +0000 (0:00:00.027) 0:02:32.260 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 08:34:20 +0000 (0:00:00.058) 0:02:32.319 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 08:34:20 +0000 (0:00:00.025) 0:02:32.345 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 08:34:20 +0000 (0:00:00.023) 0:02:32.369 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 08:34:20 +0000 (0:00:00.023) 0:02:32.392 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 08:34:20 +0000 (0:00:00.025) 0:02:32.418 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 08:34:20 +0000 (0:00:00.028) 0:02:32.446 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 08:34:20 +0000 (0:00:00.054) 0:02:32.501 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 08:34:20 +0000 (0:00:00.050) 0:02:32.551 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 08:34:20 +0000 (0:00:00.037) 0:02:32.589 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 08:34:20 +0000 (0:00:00.035) 0:02:32.625 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 08:34:20 +0000 (0:00:00.035) 0:02:32.660 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 08:34:20 +0000 (0:00:00.035) 0:02:32.696 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 08:34:20 +0000 (0:00:00.037) 0:02:32.734 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 08:34:20 +0000 (0:00:00.038) 0:02:32.773 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 08:34:20 +0000 (0:00:00.040) 0:02:32.813 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 08:34:20 +0000 (0:00:00.041) 0:02:32.855 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 08:34:20 +0000 (0:00:00.041) 0:02:32.896 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 08:34:20 +0000 (0:00:00.035) 0:02:32.932 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 08:34:20 +0000 (0:00:00.035) 0:02:32.968 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 08:34:21 +0000 (0:00:00.423) 0:02:33.391 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 08:34:21 +0000 (0:00:00.426) 0:02:33.818 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 08:34:21 +0000 (0:00:00.054) 0:02:33.872 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 08:34:21 +0000 (0:00:00.038) 0:02:33.910 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 08:34:21 +0000 (0:00:00.038) 0:02:33.949 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 08:34:21 +0000 (0:00:00.038) 0:02:33.987 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 08:34:22 +0000 (0:00:00.043) 0:02:34.030 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 08:34:22 +0000 (0:00:00.040) 0:02:34.070 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 08:34:22 +0000 (0:00:00.043) 0:02:34.114 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 08:34:22 +0000 (0:00:00.046) 0:02:34.160 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 08:34:22 +0000 (0:00:00.038) 0:02:34.199 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 08:34:22 +0000 (0:00:00.055) 0:02:34.254 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.041828", "end": "2022-07-06 08:34:21.867833", "rc": 0, "start": "2022-07-06 08:34:21.826005" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=rwi-aor--- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=raid1 TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 08:34:22 +0000 (0:00:00.459) 0:02:34.714 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "raid1" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 08:34:22 +0000 (0:00:00.053) 0:02:34.768 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 08:34:22 +0000 (0:00:00.053) 0:02:34.822 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 08:34:22 +0000 (0:00:00.036) 0:02:34.858 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 08:34:22 +0000 (0:00:00.036) 0:02:34.895 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 08:34:22 +0000 (0:00:00.035) 0:02:34.930 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 08:34:22 +0000 (0:00:00.039) 0:02:34.969 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:40 Wednesday 06 July 2022 08:34:22 +0000 (0:00:00.032) 0:02:35.001 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:47 Wednesday 06 July 2022 08:34:23 +0000 (0:00:00.033) 0:02:35.034 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:57 Wednesday 06 July 2022 08:34:23 +0000 (0:00:00.020) 0:02:35.055 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Remove the device created above] ***************************************** task path: /tmp/tmprua6lrek/tests/tests_create_raid_pool_then_remove.yml:136 Wednesday 06 July 2022 08:34:23 +0000 (0:00:00.034) 0:02:35.089 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 08:34:23 +0000 (0:00:00.075) 0:02:35.164 ******** included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 08:34:23 +0000 (0:00:00.035) 0:02:35.200 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 08:34:23 +0000 (0:00:00.535) 0:02:35.735 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 08:34:23 +0000 (0:00:00.073) 0:02:35.808 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 08:34:23 +0000 (0:00:00.042) 0:02:35.851 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 08:34:23 +0000 (0:00:00.041) 0:02:35.892 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 08:34:23 +0000 (0:00:00.052) 0:02:35.945 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 08:34:23 +0000 (0:00:00.022) 0:02:35.968 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 08:34:23 +0000 (0:00:00.030) 0:02:35.998 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "state": "absent", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "size": "2g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 08:34:24 +0000 (0:00:00.041) 0:02:36.039 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 08:34:24 +0000 (0:00:00.039) 0:02:36.078 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 08:34:24 +0000 (0:00:00.031) 0:02:36.110 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 08:34:24 +0000 (0:00:00.031) 0:02:36.142 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 08:34:24 +0000 (0:00:00.036) 0:02:36.179 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 08:34:24 +0000 (0:00:00.031) 0:02:36.210 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 08:34:24 +0000 (0:00:00.062) 0:02:36.273 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 08:34:24 +0000 (0:00:00.025) 0:02:36.298 ******** changed: [/cache/fedora-35.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "btrfs-progs", "e2fsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 08:34:28 +0000 (0:00:03.913) 0:02:40.212 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 08:34:28 +0000 (0:00:00.038) 0:02:40.250 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 08:34:28 +0000 (0:00:00.022) 0:02:40.273 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "btrfs-progs", "e2fsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 08:34:28 +0000 (0:00:00.080) 0:02:40.353 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 08:34:28 +0000 (0:00:00.043) 0:02:40.397 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 08:34:28 +0000 (0:00:00.036) 0:02:40.433 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 08:34:28 +0000 (0:00:00.514) 0:02:40.948 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 08:34:29 +0000 (0:00:00.698) 0:02:41.647 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 08:34:29 +0000 (0:00:00.039) 0:02:41.686 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 08:34:30 +0000 (0:00:00.711) 0:02:42.397 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 08:34:30 +0000 (0:00:00.410) 0:02:42.808 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 08:34:30 +0000 (0:00:00.023) 0:02:42.832 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/tests_create_raid_pool_then_remove.yml:152 Wednesday 06 July 2022 08:34:31 +0000 (0:00:00.960) 0:02:43.793 ******** included: /tmp/tmprua6lrek/tests/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:1 Wednesday 06 July 2022 08:34:31 +0000 (0:00:00.056) 0:02:43.849 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmprua6lrek/tests/verify-role-results.yml:6 Wednesday 06 July 2022 08:34:31 +0000 (0:00:00.054) 0:02:43.904 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:14 Wednesday 06 July 2022 08:34:31 +0000 (0:00:00.038) 0:02:43.942 ******** ok: [/cache/fedora-35.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-06-08-31-35-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/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": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/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": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/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": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:19 Wednesday 06 July 2022 08:34:32 +0000 (0:00:00.414) 0:02:44.357 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.004485", "end": "2022-07-06 08:34:32.901489", "rc": 0, "start": "2022-07-06 08:34:31.897004" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:24 Wednesday 06 July 2022 08:34:33 +0000 (0:00:01.391) 0:02:45.749 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003452", "end": "2022-07-06 08:34:33.300710", "failed_when_result": false, "rc": 0, "start": "2022-07-06 08:34:33.297258" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:33 Wednesday 06 July 2022 08:34:34 +0000 (0:00:00.399) 0:02:46.149 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', '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': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool.yml:5 Wednesday 06 July 2022 08:34:34 +0000 (0:00:00.059) 0:02:46.208 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool.yml:18 Wednesday 06 July 2022 08:34:34 +0000 (0:00:00.032) 0:02:46.241 ******** included: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmprua6lrek/tests/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:1 Wednesday 06 July 2022 08:34:34 +0000 (0:00:00.047) 0:02:46.289 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-pool-members.yml:10 Wednesday 06 July 2022 08:34:34 +0000 (0:00:00.097) 0:02:46.386 ******** TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:19 Wednesday 06 July 2022 08:34:34 +0000 (0:00:00.021) 0:02:46.408 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:23 Wednesday 06 July 2022 08:34:34 +0000 (0:00:00.048) 0:02:46.456 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:27 Wednesday 06 July 2022 08:34:34 +0000 (0:00:00.050) 0:02:46.507 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:34 Wednesday 06 July 2022 08:34:34 +0000 (0:00:00.053) 0:02:46.560 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:38 Wednesday 06 July 2022 08:34:34 +0000 (0:00:00.040) 0:02:46.601 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:42 Wednesday 06 July 2022 08:34:34 +0000 (0:00:00.054) 0:02:46.655 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:46 Wednesday 06 July 2022 08:34:34 +0000 (0:00:00.024) 0:02:46.680 ******** TASK [Check MD RAID] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:56 Wednesday 06 July 2022 08:34:34 +0000 (0:00:00.023) 0:02:46.703 ******** included: /tmp/tmprua6lrek/tests/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:6 Wednesday 06 July 2022 08:34:34 +0000 (0:00:00.050) 0:02:46.753 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:12 Wednesday 06 July 2022 08:34:34 +0000 (0:00:00.026) 0:02:46.780 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:16 Wednesday 06 July 2022 08:34:34 +0000 (0:00:00.039) 0:02:46.819 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:20 Wednesday 06 July 2022 08:34:34 +0000 (0:00:00.027) 0:02:46.847 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:24 Wednesday 06 July 2022 08:34:34 +0000 (0:00:00.025) 0:02:46.873 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:30 Wednesday 06 July 2022 08:34:34 +0000 (0:00:00.025) 0:02:46.898 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:36 Wednesday 06 July 2022 08:34:34 +0000 (0:00:00.025) 0:02:46.923 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:44 Wednesday 06 July 2022 08:34:34 +0000 (0:00:00.024) 0:02:46.948 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-pool-members.yml:59 Wednesday 06 July 2022 08:34:34 +0000 (0:00:00.035) 0:02:46.984 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 08:34:35 +0000 (0:00:00.044) 0:02:47.028 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 08:34:35 +0000 (0:00:00.042) 0:02:47.071 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 08:34:35 +0000 (0:00:00.032) 0:02:47.104 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 08:34:35 +0000 (0:00:00.031) 0:02:47.135 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:62 Wednesday 06 July 2022 08:34:35 +0000 (0:00:00.029) 0:02:47.165 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 08:34:35 +0000 (0:00:00.045) 0:02:47.210 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 08:34:35 +0000 (0:00:00.045) 0:02:47.255 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 08:34:35 +0000 (0:00:00.025) 0:02:47.281 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 08:34:35 +0000 (0:00:00.024) 0:02:47.305 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 08:34:35 +0000 (0:00:00.023) 0:02:47.328 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:65 Wednesday 06 July 2022 08:34:35 +0000 (0:00:00.024) 0:02:47.352 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 08:34:35 +0000 (0:00:00.049) 0:02:47.402 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 08:34:35 +0000 (0:00:00.051) 0:02:47.453 ******** TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 08:34:35 +0000 (0:00:00.024) 0:02:47.478 ******** TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 08:34:35 +0000 (0:00:00.022) 0:02:47.501 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:68 Wednesday 06 July 2022 08:34:35 +0000 (0:00:00.076) 0:02:47.578 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 08:34:35 +0000 (0:00:00.079) 0:02:47.657 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 08:34:35 +0000 (0:00:00.044) 0:02:47.702 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 08:34:35 +0000 (0:00:00.024) 0:02:47.726 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 08:34:35 +0000 (0:00:00.025) 0:02:47.752 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 08:34:35 +0000 (0:00:00.025) 0:02:47.777 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 08:34:35 +0000 (0:00:00.025) 0:02:47.802 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 08:34:35 +0000 (0:00:00.027) 0:02:47.830 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 08:34:35 +0000 (0:00:00.027) 0:02:47.857 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 08:34:35 +0000 (0:00:00.025) 0:02:47.883 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:71 Wednesday 06 July 2022 08:34:35 +0000 (0:00:00.039) 0:02:47.922 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 08:34:35 +0000 (0:00:00.039) 0:02:47.961 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-volume.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 08:34:35 +0000 (0:00:00.043) 0:02:48.005 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 08:34:36 +0000 (0:00:00.052) 0:02:48.057 ******** included: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 08:34:36 +0000 (0:00:00.092) 0:02:48.150 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 08:34:36 +0000 (0:00:00.052) 0:02:48.203 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 08:34:36 +0000 (0:00:00.062) 0:02:48.266 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 08:34:36 +0000 (0:00:00.027) 0:02:48.294 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 08:34:36 +0000 (0:00:00.054) 0:02:48.348 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 08:34:36 +0000 (0:00:00.040) 0:02:48.389 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 08:34:36 +0000 (0:00:00.025) 0:02:48.415 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 08:34:36 +0000 (0:00:00.027) 0:02:48.442 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 08:34:36 +0000 (0:00:00.027) 0:02:48.469 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 08:34:36 +0000 (0:00:00.036) 0:02:48.506 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 08:34:36 +0000 (0:00:00.063) 0:02:48.569 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 08:34:36 +0000 (0:00:00.027) 0:02:48.597 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 08:34:36 +0000 (0:00:00.051) 0:02:48.648 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 08:34:36 +0000 (0:00:00.036) 0:02:48.684 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 08:34:36 +0000 (0:00:00.038) 0:02:48.723 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 08:34:36 +0000 (0:00:00.027) 0:02:48.750 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 08:34:36 +0000 (0:00:00.023) 0:02:48.773 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 08:34:37 +0000 (0:00:00.422) 0:02:49.196 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 08:34:37 +0000 (0:00:00.120) 0:02:49.316 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 08:34:37 +0000 (0:00:00.023) 0:02:49.340 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 08:34:37 +0000 (0:00:00.035) 0:02:49.376 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 08:34:37 +0000 (0:00:00.024) 0:02:49.401 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 08:34:37 +0000 (0:00:00.029) 0:02:49.430 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 08:34:37 +0000 (0:00:00.028) 0:02:49.458 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 08:34:39 +0000 (0:00:01.907) 0:02:51.366 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 08:34:39 +0000 (0:00:00.025) 0:02:51.392 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 08:34:39 +0000 (0:00:00.025) 0:02:51.417 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 08:34:39 +0000 (0:00:00.026) 0:02:51.444 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 08:34:39 +0000 (0:00:00.026) 0:02:51.471 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 08:34:39 +0000 (0:00:00.026) 0:02:51.498 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 08:34:39 +0000 (0:00:00.025) 0:02:51.523 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 08:34:39 +0000 (0:00:00.023) 0:02:51.547 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 08:34:39 +0000 (0:00:00.023) 0:02:51.570 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 08:34:39 +0000 (0:00:00.051) 0:02:51.621 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 08:34:39 +0000 (0:00:00.046) 0:02:51.668 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 08:34:39 +0000 (0:00:00.035) 0:02:51.703 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 08:34:39 +0000 (0:00:00.035) 0:02:51.739 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 08:34:39 +0000 (0:00:00.038) 0:02:51.777 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 08:34:39 +0000 (0:00:00.032) 0:02:51.809 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 08:34:39 +0000 (0:00:00.035) 0:02:51.845 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 08:34:39 +0000 (0:00:00.036) 0:02:51.881 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 08:34:39 +0000 (0:00:00.041) 0:02:51.923 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 08:34:39 +0000 (0:00:00.039) 0:02:51.963 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 08:34:39 +0000 (0:00:00.038) 0:02:52.001 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 08:34:40 +0000 (0:00:00.037) 0:02:52.039 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 08:34:40 +0000 (0:00:00.040) 0:02:52.079 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 08:34:40 +0000 (0:00:00.026) 0:02:52.106 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 08:34:40 +0000 (0:00:00.042) 0:02:52.148 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 08:34:40 +0000 (0:00:00.042) 0:02:52.191 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 08:34:40 +0000 (0:00:00.041) 0:02:52.232 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 08:34:40 +0000 (0:00:00.038) 0:02:52.270 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 08:34:40 +0000 (0:00:00.040) 0:02:52.310 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 08:34:40 +0000 (0:00:00.037) 0:02:52.348 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 08:34:40 +0000 (0:00:00.041) 0:02:52.390 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 08:34:40 +0000 (0:00:00.039) 0:02:52.429 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 08:34:40 +0000 (0:00:00.088) 0:02:52.518 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 08:34:40 +0000 (0:00:00.039) 0:02:52.557 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 08:34:40 +0000 (0:00:00.023) 0:02:52.580 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 08:34:40 +0000 (0:00:00.022) 0:02:52.603 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 08:34:40 +0000 (0:00:00.025) 0:02:52.628 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 08:34:40 +0000 (0:00:00.025) 0:02:52.653 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 08:34:40 +0000 (0:00:00.024) 0:02:52.677 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 08:34:40 +0000 (0:00:00.023) 0:02:52.701 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 08:34:40 +0000 (0:00:00.023) 0:02:52.724 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 08:34:40 +0000 (0:00:00.064) 0:02:52.789 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:40 Wednesday 06 July 2022 08:34:40 +0000 (0:00:00.033) 0:02:52.823 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:47 Wednesday 06 July 2022 08:34:40 +0000 (0:00:00.035) 0:02:52.858 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:57 Wednesday 06 July 2022 08:34:40 +0000 (0:00:00.021) 0:02:52.880 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Create a RAID0 lvm raid device] ****************************************** task path: /tmp/tmprua6lrek/tests/tests_create_raid_pool_then_remove.yml:154 Wednesday 06 July 2022 08:34:40 +0000 (0:00:00.039) 0:02:52.919 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 08:34:40 +0000 (0:00:00.082) 0:02:53.001 ******** included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 08:34:41 +0000 (0:00:00.035) 0:02:53.036 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 08:34:41 +0000 (0:00:00.550) 0:02:53.587 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 08:34:41 +0000 (0:00:00.061) 0:02:53.648 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 08:34:41 +0000 (0:00:00.032) 0:02:53.681 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 08:34:41 +0000 (0:00:00.034) 0:02:53.715 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 08:34:41 +0000 (0:00:00.050) 0:02:53.765 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 08:34:41 +0000 (0:00:00.022) 0:02:53.788 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 08:34:41 +0000 (0:00:00.027) 0:02:53.815 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "size": "2g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 08:34:41 +0000 (0:00:00.040) 0:02:53.856 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 08:34:41 +0000 (0:00:00.036) 0:02:53.893 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 08:34:41 +0000 (0:00:00.030) 0:02:53.923 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 08:34:41 +0000 (0:00:00.029) 0:02:53.952 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 08:34:41 +0000 (0:00:00.031) 0:02:53.984 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 08:34:41 +0000 (0:00:00.027) 0:02:54.011 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 08:34:42 +0000 (0:00:00.056) 0:02:54.067 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 08:34:42 +0000 (0:00:00.021) 0:02:54.089 ******** changed: [/cache/fedora-35.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/mapper/vg1-lv1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "dosfstools", "btrfs-progs", "e2fsprogs", "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "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": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 08:34:45 +0000 (0:00:03.285) 0:02:57.374 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 08:34:45 +0000 (0:00:00.041) 0:02:57.415 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 08:34:45 +0000 (0:00:00.022) 0:02:57.438 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/mapper/vg1-lv1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "dosfstools", "btrfs-progs", "e2fsprogs", "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "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": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 08:34:45 +0000 (0:00:00.039) 0:02:57.478 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "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": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 08:34:45 +0000 (0:00:00.038) 0:02:57.517 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 08:34:45 +0000 (0:00:00.036) 0:02:57.553 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 08:34:45 +0000 (0:00:00.041) 0:02:57.594 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 08:34:46 +0000 (0:00:00.712) 0:02:58.307 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv1', '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/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 08:34:46 +0000 (0:00:00.447) 0:02:58.755 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 08:34:47 +0000 (0:00:00.729) 0:02:59.484 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 08:34:47 +0000 (0:00:00.392) 0:02:59.877 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 08:34:47 +0000 (0:00:00.022) 0:02:59.900 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/tests_create_raid_pool_then_remove.yml:170 Wednesday 06 July 2022 08:34:48 +0000 (0:00:00.925) 0:03:00.826 ******** included: /tmp/tmprua6lrek/tests/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:1 Wednesday 06 July 2022 08:34:48 +0000 (0:00:00.061) 0:03:00.887 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "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": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmprua6lrek/tests/verify-role-results.yml:6 Wednesday 06 July 2022 08:34:48 +0000 (0:00:00.124) 0:03:01.011 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:14 Wednesday 06 July 2022 08:34:49 +0000 (0:00:00.037) 0:03:01.049 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "1710f65c-b540-4703-be50-a7e0306943bc" }, "/dev/mapper/vg1-lv1_rimage_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_0", "size": "1G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rimage_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_1", "size": "1G", "type": "lvm", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "XXSbuT-UQ9h-NDrH-JTeM-f83n-GVqL-HhNJnx" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "TEdsHV-3X62-CtJF-tpyp-Rm64-pUu9-Kd0j9u" }, "/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-06-08-31-35-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/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": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/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": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/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": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:19 Wednesday 06 July 2022 08:34:49 +0000 (0:00:00.401) 0:03:01.450 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002953", "end": "2022-07-06 08:34:49.001324", "rc": 0, "start": "2022-07-06 08:34:48.998371" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:24 Wednesday 06 July 2022 08:34:49 +0000 (0:00:00.398) 0:03:01.849 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003659", "end": "2022-07-06 08:34:49.404533", "failed_when_result": false, "rc": 0, "start": "2022-07-06 08:34:49.400874" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:33 Wednesday 06 July 2022 08:34:50 +0000 (0:00:00.411) 0:03:02.261 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', '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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool.yml:5 Wednesday 06 July 2022 08:34:50 +0000 (0:00:00.077) 0:03:02.338 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool.yml:18 Wednesday 06 July 2022 08:34:50 +0000 (0:00:00.050) 0:03:02.389 ******** included: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmprua6lrek/tests/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:1 Wednesday 06 July 2022 08:34:50 +0000 (0:00:00.050) 0:03:02.440 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "2", "_storage_test_pool_pvs_lvm": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:10 Wednesday 06 July 2022 08:34:50 +0000 (0:00:00.053) 0:03:02.494 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda1", "pv": "/dev/sda1" } ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sdb1", "pv": "/dev/sdb1" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:19 Wednesday 06 July 2022 08:34:51 +0000 (0:00:00.755) 0:03:03.249 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "2" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:23 Wednesday 06 July 2022 08:34:51 +0000 (0:00:00.052) 0:03:03.301 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:27 Wednesday 06 July 2022 08:34:51 +0000 (0:00:00.054) 0:03:03.356 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:34 Wednesday 06 July 2022 08:34:51 +0000 (0:00:00.050) 0:03:03.406 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:38 Wednesday 06 July 2022 08:34:51 +0000 (0:00:00.040) 0:03:03.447 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:42 Wednesday 06 July 2022 08:34:51 +0000 (0:00:00.054) 0:03:03.501 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:46 Wednesday 06 July 2022 08:34:51 +0000 (0:00:00.026) 0:03:03.528 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda1" } MSG: All assertions passed ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sdb1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:56 Wednesday 06 July 2022 08:34:51 +0000 (0:00:00.099) 0:03:03.628 ******** included: /tmp/tmprua6lrek/tests/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:6 Wednesday 06 July 2022 08:34:51 +0000 (0:00:00.043) 0:03:03.671 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:12 Wednesday 06 July 2022 08:34:51 +0000 (0:00:00.023) 0:03:03.695 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:16 Wednesday 06 July 2022 08:34:51 +0000 (0:00:00.025) 0:03:03.720 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:20 Wednesday 06 July 2022 08:34:51 +0000 (0:00:00.057) 0:03:03.777 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:24 Wednesday 06 July 2022 08:34:51 +0000 (0:00:00.029) 0:03:03.807 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:30 Wednesday 06 July 2022 08:34:51 +0000 (0:00:00.024) 0:03:03.832 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:36 Wednesday 06 July 2022 08:34:51 +0000 (0:00:00.023) 0:03:03.856 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:44 Wednesday 06 July 2022 08:34:51 +0000 (0:00:00.024) 0:03:03.880 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-pool-members.yml:59 Wednesday 06 July 2022 08:34:51 +0000 (0:00:00.032) 0:03:03.913 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 08:34:51 +0000 (0:00:00.043) 0:03:03.957 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 08:34:51 +0000 (0:00:00.048) 0:03:04.005 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheading", "-o", "lv_name", "--select", "lv_name=lv1&&lv_layout=raid0", "vg1" ], "delta": "0:00:00.044062", "end": "2022-07-06 08:34:51.619095", "rc": 0, "start": "2022-07-06 08:34:51.575033" } STDOUT: lv1 TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 08:34:52 +0000 (0:00:00.469) 0:03:04.474 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 08:34:52 +0000 (0:00:00.058) 0:03:04.533 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lvmraid_status": null }, "changed": false } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:62 Wednesday 06 July 2022 08:34:52 +0000 (0:00:00.048) 0:03:04.582 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 08:34:52 +0000 (0:00:00.049) 0:03:04.631 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 08:34:52 +0000 (0:00:00.047) 0:03:04.679 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 08:34:52 +0000 (0:00:00.025) 0:03:04.705 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 08:34:52 +0000 (0:00:00.025) 0:03:04.730 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 08:34:52 +0000 (0:00:00.023) 0:03:04.754 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:65 Wednesday 06 July 2022 08:34:52 +0000 (0:00:00.022) 0:03:04.777 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 08:34:52 +0000 (0:00:00.047) 0:03:04.824 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 08:34:52 +0000 (0:00:00.050) 0:03:04.875 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=/dev/sda1) => { "_storage_test_pool_member_path": "/dev/sda1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=/dev/sdb1) => { "_storage_test_pool_member_path": "/dev/sdb1", "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/tmprua6lrek/tests/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 08:34:52 +0000 (0:00:00.031) 0:03:04.906 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/sda1) included: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/sdb1) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 08:34:52 +0000 (0:00:00.051) 0:03:04.957 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:6 Wednesday 06 July 2022 08:34:52 +0000 (0:00:00.050) 0:03:05.008 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:11 Wednesday 06 July 2022 08:34:53 +0000 (0:00:00.048) 0:03:05.056 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:17 Wednesday 06 July 2022 08:34:53 +0000 (0:00:00.034) 0:03:05.091 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:23 Wednesday 06 July 2022 08:34:53 +0000 (0:00:00.037) 0:03:05.129 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:29 Wednesday 06 July 2022 08:34:53 +0000 (0:00:00.036) 0:03:05.166 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 08:34:53 +0000 (0:00:00.033) 0:03:05.200 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:6 Wednesday 06 July 2022 08:34:53 +0000 (0:00:00.110) 0:03:05.310 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:11 Wednesday 06 July 2022 08:34:53 +0000 (0:00:00.129) 0:03:05.440 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:17 Wednesday 06 July 2022 08:34:53 +0000 (0:00:00.036) 0:03:05.477 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:23 Wednesday 06 July 2022 08:34:53 +0000 (0:00:00.038) 0:03:05.515 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:29 Wednesday 06 July 2022 08:34:53 +0000 (0:00:00.037) 0:03:05.553 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 08:34:53 +0000 (0:00:00.038) 0:03:05.592 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:68 Wednesday 06 July 2022 08:34:53 +0000 (0:00:00.034) 0:03:05.626 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 08:34:53 +0000 (0:00:00.051) 0:03:05.678 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 08:34:53 +0000 (0:00:00.048) 0:03:05.726 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 08:34:53 +0000 (0:00:00.025) 0:03:05.751 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 08:34:53 +0000 (0:00:00.027) 0:03:05.779 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 08:34:53 +0000 (0:00:00.024) 0:03:05.804 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 08:34:53 +0000 (0:00:00.023) 0:03:05.828 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 08:34:53 +0000 (0:00:00.024) 0:03:05.852 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 08:34:53 +0000 (0:00:00.025) 0:03:05.877 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 08:34:53 +0000 (0:00:00.024) 0:03:05.902 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:71 Wednesday 06 July 2022 08:34:53 +0000 (0:00:00.034) 0:03:05.937 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 08:34:53 +0000 (0:00:00.035) 0:03:05.972 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-volume.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 08:34:54 +0000 (0:00:00.043) 0:03:06.016 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 08:34:54 +0000 (0:00:00.052) 0:03:06.068 ******** included: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 08:34:54 +0000 (0:00:00.087) 0:03:06.156 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 08:34:54 +0000 (0:00:00.045) 0:03:06.201 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 509649, "block_size": 4096, "block_total": 521600, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048317, "inode_total": 1048320, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=64k,sunit=128,swidth=256,noquota", "size_available": 2087522304, "size_total": 2136473600, "uuid": "1710f65c-b540-4703-be50-a7e0306943bc" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 509649, "block_size": 4096, "block_total": 521600, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048317, "inode_total": 1048320, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=64k,sunit=128,swidth=256,noquota", "size_available": 2087522304, "size_total": 2136473600, "uuid": "1710f65c-b540-4703-be50-a7e0306943bc" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 08:34:54 +0000 (0:00:00.061) 0:03:06.262 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 08:34:54 +0000 (0:00:00.056) 0:03:06.319 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 08:34:54 +0000 (0:00:00.050) 0:03:06.369 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 08:34:54 +0000 (0:00:00.055) 0:03:06.425 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 08:34:54 +0000 (0:00:00.025) 0:03:06.450 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 08:34:54 +0000 (0:00:00.027) 0:03:06.478 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 08:34:54 +0000 (0:00:00.024) 0:03:06.503 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 08:34:54 +0000 (0:00:00.034) 0:03:06.538 ******** ok: [/cache/fedora-35.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/vg1-lv1 " ], "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/tmprua6lrek/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 08:34:54 +0000 (0:00:00.061) 0:03:06.599 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 08:34:54 +0000 (0:00:00.049) 0:03:06.649 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 08:34:54 +0000 (0:00:00.100) 0:03:06.749 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 08:34:54 +0000 (0:00:00.037) 0:03:06.787 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 08:34:54 +0000 (0:00:00.113) 0:03:06.900 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 08:34:54 +0000 (0:00:00.042) 0:03:06.942 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 08:34:54 +0000 (0:00:00.044) 0:03:06.986 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657096485.9067173, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657096484.4627173, "dev": 5, "device_type": 64770, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 629, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657096484.4627173, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "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/tmprua6lrek/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 08:34:55 +0000 (0:00:00.406) 0:03:07.393 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 08:34:55 +0000 (0:00:00.042) 0:03:07.435 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 08:34:55 +0000 (0:00:00.044) 0:03:07.479 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 08:34:55 +0000 (0:00:00.038) 0:03:07.518 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 08:34:55 +0000 (0:00:00.026) 0:03:07.545 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 08:34:55 +0000 (0:00:00.042) 0:03:07.588 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 08:34:55 +0000 (0:00:00.026) 0:03:07.614 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 08:34:57 +0000 (0:00:01.842) 0:03:09.456 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 08:34:57 +0000 (0:00:00.029) 0:03:09.486 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 08:34:57 +0000 (0:00:00.028) 0:03:09.514 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 08:34:57 +0000 (0:00:00.059) 0:03:09.574 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 08:34:57 +0000 (0:00:00.024) 0:03:09.598 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 08:34:57 +0000 (0:00:00.026) 0:03:09.625 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 08:34:57 +0000 (0:00:00.024) 0:03:09.650 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 08:34:57 +0000 (0:00:00.036) 0:03:09.687 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 08:34:57 +0000 (0:00:00.027) 0:03:09.714 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 08:34:57 +0000 (0:00:00.054) 0:03:09.768 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 08:34:57 +0000 (0:00:00.054) 0:03:09.823 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 08:34:57 +0000 (0:00:00.039) 0:03:09.863 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 08:34:57 +0000 (0:00:00.036) 0:03:09.899 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 08:34:57 +0000 (0:00:00.035) 0:03:09.935 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 08:34:57 +0000 (0:00:00.037) 0:03:09.972 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 08:34:57 +0000 (0:00:00.040) 0:03:10.013 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 08:34:58 +0000 (0:00:00.038) 0:03:10.051 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 08:34:58 +0000 (0:00:00.036) 0:03:10.088 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 08:34:58 +0000 (0:00:00.041) 0:03:10.130 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 08:34:58 +0000 (0:00:00.080) 0:03:10.210 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 08:34:58 +0000 (0:00:00.037) 0:03:10.247 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 08:34:58 +0000 (0:00:00.036) 0:03:10.284 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 08:34:58 +0000 (0:00:00.378) 0:03:10.662 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 08:34:59 +0000 (0:00:00.392) 0:03:11.055 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 08:34:59 +0000 (0:00:00.053) 0:03:11.108 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 08:34:59 +0000 (0:00:00.037) 0:03:11.146 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 08:34:59 +0000 (0:00:00.035) 0:03:11.182 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 08:34:59 +0000 (0:00:00.034) 0:03:11.216 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 08:34:59 +0000 (0:00:00.034) 0:03:11.251 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 08:34:59 +0000 (0:00:00.038) 0:03:11.290 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 08:34:59 +0000 (0:00:00.034) 0:03:11.324 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 08:34:59 +0000 (0:00:00.035) 0:03:11.360 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 08:34:59 +0000 (0:00:00.036) 0:03:11.396 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 08:34:59 +0000 (0:00:00.056) 0:03:11.452 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.040370", "end": "2022-07-06 08:34:59.040131", "rc": 0, "start": "2022-07-06 08:34:58.999761" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=rwi-aor--- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=raid0 TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 08:34:59 +0000 (0:00:00.437) 0:03:11.889 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "raid0" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 08:34:59 +0000 (0:00:00.057) 0:03:11.947 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 08:34:59 +0000 (0:00:00.051) 0:03:11.998 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 08:35:00 +0000 (0:00:00.037) 0:03:12.035 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 08:35:00 +0000 (0:00:00.040) 0:03:12.076 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 08:35:00 +0000 (0:00:00.040) 0:03:12.116 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 08:35:00 +0000 (0:00:00.036) 0:03:12.153 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:40 Wednesday 06 July 2022 08:35:00 +0000 (0:00:00.034) 0:03:12.188 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:47 Wednesday 06 July 2022 08:35:00 +0000 (0:00:00.036) 0:03:12.224 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:57 Wednesday 06 July 2022 08:35:00 +0000 (0:00:00.021) 0:03:12.246 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmprua6lrek/tests/tests_create_raid_pool_then_remove.yml:172 Wednesday 06 July 2022 08:35:00 +0000 (0:00:00.036) 0:03:12.282 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 08:35:00 +0000 (0:00:00.087) 0:03:12.370 ******** included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 08:35:00 +0000 (0:00:00.075) 0:03:12.445 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 08:35:00 +0000 (0:00:00.535) 0:03:12.981 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 08:35:01 +0000 (0:00:00.062) 0:03:13.043 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 08:35:01 +0000 (0:00:00.035) 0:03:13.079 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 08:35:01 +0000 (0:00:00.037) 0:03:13.117 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 08:35:01 +0000 (0:00:00.050) 0:03:13.168 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 08:35:01 +0000 (0:00:00.024) 0:03:13.192 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 08:35:01 +0000 (0:00:00.031) 0:03:13.224 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "size": "2g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 08:35:01 +0000 (0:00:00.043) 0:03:13.268 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 08:35:01 +0000 (0:00:00.039) 0:03:13.308 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 08:35:01 +0000 (0:00:00.034) 0:03:13.342 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 08:35:01 +0000 (0:00:00.031) 0:03:13.374 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 08:35:01 +0000 (0:00:00.031) 0:03:13.405 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 08:35:01 +0000 (0:00:00.030) 0:03:13.435 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 08:35:01 +0000 (0:00:00.060) 0:03:13.496 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 08:35:01 +0000 (0:00:00.024) 0:03:13.521 ******** ok: [/cache/fedora-35.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/vg1-lv1", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "btrfs-progs", "e2fsprogs", "dosfstools", "lvm2", "xfsprogs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 08:35:03 +0000 (0:00:02.469) 0:03:15.990 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 08:35:04 +0000 (0:00:00.039) 0:03:16.029 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 08:35:04 +0000 (0:00:00.024) 0:03:16.054 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/vg1-lv1", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "btrfs-progs", "e2fsprogs", "dosfstools", "lvm2", "xfsprogs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 08:35:04 +0000 (0:00:00.040) 0:03:16.095 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 08:35:04 +0000 (0:00:00.038) 0:03:16.133 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 08:35:04 +0000 (0:00:00.038) 0:03:16.172 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 08:35:04 +0000 (0:00:00.041) 0:03:16.213 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 08:35:04 +0000 (0:00:00.762) 0:03:16.975 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/fedora-35.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 08:35:05 +0000 (0:00:00.462) 0:03:17.438 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 08:35:06 +0000 (0:00:00.772) 0:03:18.210 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 08:35:06 +0000 (0:00:00.406) 0:03:18.617 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 08:35:06 +0000 (0:00:00.025) 0:03:18.642 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/tests_create_raid_pool_then_remove.yml:188 Wednesday 06 July 2022 08:35:07 +0000 (0:00:00.992) 0:03:19.634 ******** included: /tmp/tmprua6lrek/tests/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:1 Wednesday 06 July 2022 08:35:07 +0000 (0:00:00.062) 0:03:19.696 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmprua6lrek/tests/verify-role-results.yml:6 Wednesday 06 July 2022 08:35:07 +0000 (0:00:00.051) 0:03:19.748 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:14 Wednesday 06 July 2022 08:35:07 +0000 (0:00:00.038) 0:03:19.786 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "1710f65c-b540-4703-be50-a7e0306943bc" }, "/dev/mapper/vg1-lv1_rimage_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_0", "size": "1G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rimage_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_1", "size": "1G", "type": "lvm", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "XXSbuT-UQ9h-NDrH-JTeM-f83n-GVqL-HhNJnx" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "TEdsHV-3X62-CtJF-tpyp-Rm64-pUu9-Kd0j9u" }, "/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-06-08-31-35-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/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": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/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": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/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": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:19 Wednesday 06 July 2022 08:35:08 +0000 (0:00:00.374) 0:03:20.160 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002809", "end": "2022-07-06 08:35:07.708941", "rc": 0, "start": "2022-07-06 08:35:07.706132" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:24 Wednesday 06 July 2022 08:35:08 +0000 (0:00:00.393) 0:03:20.554 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002553", "end": "2022-07-06 08:35:08.072285", "failed_when_result": false, "rc": 0, "start": "2022-07-06 08:35:08.069732" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:33 Wednesday 06 July 2022 08:35:08 +0000 (0:00:00.361) 0:03:20.916 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', '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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool.yml:5 Wednesday 06 July 2022 08:35:08 +0000 (0:00:00.090) 0:03:21.007 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool.yml:18 Wednesday 06 July 2022 08:35:09 +0000 (0:00:00.034) 0:03:21.041 ******** included: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmprua6lrek/tests/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:1 Wednesday 06 July 2022 08:35:09 +0000 (0:00:00.045) 0:03:21.086 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "2", "_storage_test_pool_pvs_lvm": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:10 Wednesday 06 July 2022 08:35:09 +0000 (0:00:00.052) 0:03:21.138 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda1", "pv": "/dev/sda1" } ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sdb1", "pv": "/dev/sdb1" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:19 Wednesday 06 July 2022 08:35:09 +0000 (0:00:00.712) 0:03:21.851 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "2" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:23 Wednesday 06 July 2022 08:35:09 +0000 (0:00:00.052) 0:03:21.903 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:27 Wednesday 06 July 2022 08:35:09 +0000 (0:00:00.050) 0:03:21.954 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:34 Wednesday 06 July 2022 08:35:09 +0000 (0:00:00.052) 0:03:22.006 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:38 Wednesday 06 July 2022 08:35:10 +0000 (0:00:00.043) 0:03:22.049 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:42 Wednesday 06 July 2022 08:35:10 +0000 (0:00:00.050) 0:03:22.100 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:46 Wednesday 06 July 2022 08:35:10 +0000 (0:00:00.026) 0:03:22.127 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda1" } MSG: All assertions passed ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sdb1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:56 Wednesday 06 July 2022 08:35:10 +0000 (0:00:00.056) 0:03:22.183 ******** included: /tmp/tmprua6lrek/tests/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:6 Wednesday 06 July 2022 08:35:10 +0000 (0:00:00.043) 0:03:22.226 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:12 Wednesday 06 July 2022 08:35:10 +0000 (0:00:00.026) 0:03:22.253 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:16 Wednesday 06 July 2022 08:35:10 +0000 (0:00:00.030) 0:03:22.283 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:20 Wednesday 06 July 2022 08:35:10 +0000 (0:00:00.025) 0:03:22.308 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:24 Wednesday 06 July 2022 08:35:10 +0000 (0:00:00.025) 0:03:22.333 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:30 Wednesday 06 July 2022 08:35:10 +0000 (0:00:00.023) 0:03:22.357 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:36 Wednesday 06 July 2022 08:35:10 +0000 (0:00:00.024) 0:03:22.382 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:44 Wednesday 06 July 2022 08:35:10 +0000 (0:00:00.022) 0:03:22.404 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-pool-members.yml:59 Wednesday 06 July 2022 08:35:10 +0000 (0:00:00.033) 0:03:22.437 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 08:35:10 +0000 (0:00:00.044) 0:03:22.482 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 08:35:10 +0000 (0:00:00.042) 0:03:22.524 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheading", "-o", "lv_name", "--select", "lv_name=lv1&&lv_layout=raid0", "vg1" ], "delta": "0:00:00.038262", "end": "2022-07-06 08:35:10.095797", "rc": 0, "start": "2022-07-06 08:35:10.057535" } STDOUT: lv1 TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 08:35:10 +0000 (0:00:00.465) 0:03:22.989 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 08:35:11 +0000 (0:00:00.057) 0:03:23.046 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lvmraid_status": null }, "changed": false } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:62 Wednesday 06 July 2022 08:35:11 +0000 (0:00:00.044) 0:03:23.091 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 08:35:11 +0000 (0:00:00.046) 0:03:23.137 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 08:35:11 +0000 (0:00:00.046) 0:03:23.184 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 08:35:11 +0000 (0:00:00.025) 0:03:23.209 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 08:35:11 +0000 (0:00:00.024) 0:03:23.233 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 08:35:11 +0000 (0:00:00.024) 0:03:23.257 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:65 Wednesday 06 July 2022 08:35:11 +0000 (0:00:00.023) 0:03:23.281 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 08:35:11 +0000 (0:00:00.047) 0:03:23.329 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 08:35:11 +0000 (0:00:00.049) 0:03:23.378 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=/dev/sda1) => { "_storage_test_pool_member_path": "/dev/sda1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=/dev/sdb1) => { "_storage_test_pool_member_path": "/dev/sdb1", "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/tmprua6lrek/tests/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 08:35:11 +0000 (0:00:00.030) 0:03:23.408 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/sda1) included: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/sdb1) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 08:35:11 +0000 (0:00:00.051) 0:03:23.460 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:6 Wednesday 06 July 2022 08:35:11 +0000 (0:00:00.048) 0:03:23.508 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:11 Wednesday 06 July 2022 08:35:11 +0000 (0:00:00.054) 0:03:23.563 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:17 Wednesday 06 July 2022 08:35:11 +0000 (0:00:00.036) 0:03:23.600 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:23 Wednesday 06 July 2022 08:35:11 +0000 (0:00:00.034) 0:03:23.634 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:29 Wednesday 06 July 2022 08:35:11 +0000 (0:00:00.034) 0:03:23.669 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 08:35:11 +0000 (0:00:00.035) 0:03:23.704 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:6 Wednesday 06 July 2022 08:35:11 +0000 (0:00:00.046) 0:03:23.750 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:11 Wednesday 06 July 2022 08:35:11 +0000 (0:00:00.052) 0:03:23.803 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:17 Wednesday 06 July 2022 08:35:11 +0000 (0:00:00.040) 0:03:23.843 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:23 Wednesday 06 July 2022 08:35:11 +0000 (0:00:00.036) 0:03:23.880 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:29 Wednesday 06 July 2022 08:35:11 +0000 (0:00:00.039) 0:03:23.920 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 08:35:11 +0000 (0:00:00.043) 0:03:23.964 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:68 Wednesday 06 July 2022 08:35:11 +0000 (0:00:00.037) 0:03:24.001 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 08:35:12 +0000 (0:00:00.072) 0:03:24.073 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 08:35:12 +0000 (0:00:00.085) 0:03:24.159 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 08:35:12 +0000 (0:00:00.044) 0:03:24.204 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 08:35:12 +0000 (0:00:00.051) 0:03:24.255 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 08:35:12 +0000 (0:00:00.039) 0:03:24.295 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 08:35:12 +0000 (0:00:00.047) 0:03:24.342 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 08:35:12 +0000 (0:00:00.035) 0:03:24.378 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 08:35:12 +0000 (0:00:00.038) 0:03:24.417 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 08:35:12 +0000 (0:00:00.095) 0:03:24.512 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:71 Wednesday 06 July 2022 08:35:12 +0000 (0:00:00.038) 0:03:24.550 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 08:35:12 +0000 (0:00:00.038) 0:03:24.588 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-volume.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 08:35:12 +0000 (0:00:00.048) 0:03:24.636 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 08:35:12 +0000 (0:00:00.053) 0:03:24.690 ******** included: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 08:35:12 +0000 (0:00:00.081) 0:03:24.771 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 08:35:12 +0000 (0:00:00.046) 0:03:24.818 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 509649, "block_size": 4096, "block_total": 521600, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048317, "inode_total": 1048320, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=64k,sunit=128,swidth=256,noquota", "size_available": 2087522304, "size_total": 2136473600, "uuid": "1710f65c-b540-4703-be50-a7e0306943bc" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 509649, "block_size": 4096, "block_total": 521600, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048317, "inode_total": 1048320, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=64k,sunit=128,swidth=256,noquota", "size_available": 2087522304, "size_total": 2136473600, "uuid": "1710f65c-b540-4703-be50-a7e0306943bc" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 08:35:12 +0000 (0:00:00.058) 0:03:24.876 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 08:35:12 +0000 (0:00:00.055) 0:03:24.932 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 08:35:12 +0000 (0:00:00.055) 0:03:24.987 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 08:35:13 +0000 (0:00:00.056) 0:03:25.044 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 08:35:13 +0000 (0:00:00.026) 0:03:25.071 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 08:35:13 +0000 (0:00:00.027) 0:03:25.098 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 08:35:13 +0000 (0:00:00.028) 0:03:25.126 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 08:35:13 +0000 (0:00:00.036) 0:03:25.163 ******** ok: [/cache/fedora-35.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/vg1-lv1 " ], "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/tmprua6lrek/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 08:35:13 +0000 (0:00:00.065) 0:03:25.228 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 08:35:13 +0000 (0:00:00.055) 0:03:25.283 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 08:35:13 +0000 (0:00:00.052) 0:03:25.336 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 08:35:13 +0000 (0:00:00.037) 0:03:25.374 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 08:35:13 +0000 (0:00:00.036) 0:03:25.410 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 08:35:13 +0000 (0:00:00.045) 0:03:25.456 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 08:35:13 +0000 (0:00:00.042) 0:03:25.499 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657096485.9067173, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657096484.4627173, "dev": 5, "device_type": 64770, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 629, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657096484.4627173, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "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/tmprua6lrek/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 08:35:13 +0000 (0:00:00.404) 0:03:25.903 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 08:35:13 +0000 (0:00:00.040) 0:03:25.943 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 08:35:13 +0000 (0:00:00.041) 0:03:25.985 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 08:35:14 +0000 (0:00:00.039) 0:03:26.024 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 08:35:14 +0000 (0:00:00.027) 0:03:26.052 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 08:35:14 +0000 (0:00:00.040) 0:03:26.093 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 08:35:14 +0000 (0:00:00.025) 0:03:26.119 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 08:35:16 +0000 (0:00:01.927) 0:03:28.047 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 08:35:16 +0000 (0:00:00.027) 0:03:28.074 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 08:35:16 +0000 (0:00:00.026) 0:03:28.101 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 08:35:16 +0000 (0:00:00.057) 0:03:28.158 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 08:35:16 +0000 (0:00:00.026) 0:03:28.185 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 08:35:16 +0000 (0:00:00.030) 0:03:28.215 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 08:35:16 +0000 (0:00:00.029) 0:03:28.244 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 08:35:16 +0000 (0:00:00.024) 0:03:28.269 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 08:35:16 +0000 (0:00:00.023) 0:03:28.292 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 08:35:16 +0000 (0:00:00.053) 0:03:28.346 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 08:35:16 +0000 (0:00:00.053) 0:03:28.399 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 08:35:16 +0000 (0:00:00.038) 0:03:28.438 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 08:35:16 +0000 (0:00:00.039) 0:03:28.478 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 08:35:16 +0000 (0:00:00.036) 0:03:28.514 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 08:35:16 +0000 (0:00:00.035) 0:03:28.550 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 08:35:16 +0000 (0:00:00.039) 0:03:28.589 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 08:35:16 +0000 (0:00:00.044) 0:03:28.634 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 08:35:16 +0000 (0:00:00.039) 0:03:28.673 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 08:35:16 +0000 (0:00:00.039) 0:03:28.713 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 08:35:16 +0000 (0:00:00.039) 0:03:28.752 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 08:35:16 +0000 (0:00:00.043) 0:03:28.796 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 08:35:16 +0000 (0:00:00.038) 0:03:28.835 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 08:35:17 +0000 (0:00:00.394) 0:03:29.229 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 08:35:17 +0000 (0:00:00.399) 0:03:29.629 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 08:35:17 +0000 (0:00:00.056) 0:03:29.686 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 08:35:17 +0000 (0:00:00.038) 0:03:29.724 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 08:35:17 +0000 (0:00:00.040) 0:03:29.765 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 08:35:17 +0000 (0:00:00.036) 0:03:29.801 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 08:35:17 +0000 (0:00:00.036) 0:03:29.837 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 08:35:17 +0000 (0:00:00.036) 0:03:29.874 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 08:35:17 +0000 (0:00:00.035) 0:03:29.910 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 08:35:17 +0000 (0:00:00.036) 0:03:29.946 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 08:35:18 +0000 (0:00:00.074) 0:03:30.020 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 08:35:18 +0000 (0:00:00.051) 0:03:30.072 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.039678", "end": "2022-07-06 08:35:17.702079", "rc": 0, "start": "2022-07-06 08:35:17.662401" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=rwi-aor--- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=raid0 TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 08:35:18 +0000 (0:00:00.478) 0:03:30.551 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "raid0" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 08:35:18 +0000 (0:00:00.086) 0:03:30.637 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 08:35:18 +0000 (0:00:00.050) 0:03:30.688 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 08:35:18 +0000 (0:00:00.041) 0:03:30.729 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 08:35:18 +0000 (0:00:00.046) 0:03:30.776 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 08:35:18 +0000 (0:00:00.040) 0:03:30.817 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 08:35:18 +0000 (0:00:00.037) 0:03:30.855 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:40 Wednesday 06 July 2022 08:35:18 +0000 (0:00:00.036) 0:03:30.891 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:47 Wednesday 06 July 2022 08:35:18 +0000 (0:00:00.033) 0:03:30.925 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:57 Wednesday 06 July 2022 08:35:18 +0000 (0:00:00.024) 0:03:30.949 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Remove the device created above] ***************************************** task path: /tmp/tmprua6lrek/tests/tests_create_raid_pool_then_remove.yml:190 Wednesday 06 July 2022 08:35:18 +0000 (0:00:00.037) 0:03:30.986 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 08:35:19 +0000 (0:00:00.094) 0:03:31.080 ******** included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 08:35:19 +0000 (0:00:00.036) 0:03:31.117 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 08:35:19 +0000 (0:00:00.550) 0:03:31.667 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 08:35:19 +0000 (0:00:00.061) 0:03:31.729 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 08:35:19 +0000 (0:00:00.034) 0:03:31.764 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 08:35:19 +0000 (0:00:00.033) 0:03:31.798 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 08:35:19 +0000 (0:00:00.047) 0:03:31.845 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 08:35:19 +0000 (0:00:00.019) 0:03:31.865 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 08:35:19 +0000 (0:00:00.027) 0:03:31.892 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "state": "absent", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "size": "2g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 08:35:19 +0000 (0:00:00.036) 0:03:31.929 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 08:35:19 +0000 (0:00:00.035) 0:03:31.964 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 08:35:19 +0000 (0:00:00.027) 0:03:31.992 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 08:35:20 +0000 (0:00:00.028) 0:03:32.020 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 08:35:20 +0000 (0:00:00.029) 0:03:32.050 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 08:35:20 +0000 (0:00:00.032) 0:03:32.082 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 08:35:20 +0000 (0:00:00.119) 0:03:32.201 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 08:35:20 +0000 (0:00:00.074) 0:03:32.275 ******** changed: [/cache/fedora-35.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "btrfs-progs", "e2fsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 08:35:23 +0000 (0:00:03.699) 0:03:35.975 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 08:35:23 +0000 (0:00:00.039) 0:03:36.014 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 08:35:24 +0000 (0:00:00.023) 0:03:36.038 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "btrfs-progs", "e2fsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 08:35:24 +0000 (0:00:00.042) 0:03:36.080 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 08:35:24 +0000 (0:00:00.040) 0:03:36.120 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 08:35:24 +0000 (0:00:00.037) 0:03:36.157 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 08:35:24 +0000 (0:00:00.419) 0:03:36.577 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 08:35:25 +0000 (0:00:00.732) 0:03:37.310 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 08:35:25 +0000 (0:00:00.039) 0:03:37.349 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 08:35:26 +0000 (0:00:00.691) 0:03:38.040 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 08:35:26 +0000 (0:00:00.411) 0:03:38.452 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 08:35:26 +0000 (0:00:00.024) 0:03:38.476 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/tests_create_raid_pool_then_remove.yml:206 Wednesday 06 July 2022 08:35:27 +0000 (0:00:00.912) 0:03:39.389 ******** included: /tmp/tmprua6lrek/tests/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:1 Wednesday 06 July 2022 08:35:27 +0000 (0:00:00.071) 0:03:39.461 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmprua6lrek/tests/verify-role-results.yml:6 Wednesday 06 July 2022 08:35:27 +0000 (0:00:00.089) 0:03:39.551 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:14 Wednesday 06 July 2022 08:35:27 +0000 (0:00:00.084) 0:03:39.636 ******** ok: [/cache/fedora-35.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-06-08-31-35-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/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": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/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": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/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": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:19 Wednesday 06 July 2022 08:35:27 +0000 (0:00:00.371) 0:03:40.007 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002800", "end": "2022-07-06 08:35:27.543500", "rc": 0, "start": "2022-07-06 08:35:27.540700" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:24 Wednesday 06 July 2022 08:35:28 +0000 (0:00:00.384) 0:03:40.391 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002865", "end": "2022-07-06 08:35:27.934665", "failed_when_result": false, "rc": 0, "start": "2022-07-06 08:35:27.931800" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:33 Wednesday 06 July 2022 08:35:28 +0000 (0:00:00.392) 0:03:40.784 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', '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': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool.yml:5 Wednesday 06 July 2022 08:35:28 +0000 (0:00:00.058) 0:03:40.842 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool.yml:18 Wednesday 06 July 2022 08:35:28 +0000 (0:00:00.033) 0:03:40.876 ******** included: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmprua6lrek/tests/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:1 Wednesday 06 July 2022 08:35:28 +0000 (0:00:00.051) 0:03:40.927 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-pool-members.yml:10 Wednesday 06 July 2022 08:35:28 +0000 (0:00:00.079) 0:03:41.007 ******** TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:19 Wednesday 06 July 2022 08:35:29 +0000 (0:00:00.023) 0:03:41.030 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:23 Wednesday 06 July 2022 08:35:29 +0000 (0:00:00.053) 0:03:41.084 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:27 Wednesday 06 July 2022 08:35:29 +0000 (0:00:00.051) 0:03:41.135 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:34 Wednesday 06 July 2022 08:35:29 +0000 (0:00:00.058) 0:03:41.194 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:38 Wednesday 06 July 2022 08:35:29 +0000 (0:00:00.041) 0:03:41.235 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:42 Wednesday 06 July 2022 08:35:29 +0000 (0:00:00.053) 0:03:41.289 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:46 Wednesday 06 July 2022 08:35:29 +0000 (0:00:00.024) 0:03:41.314 ******** TASK [Check MD RAID] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:56 Wednesday 06 July 2022 08:35:29 +0000 (0:00:00.022) 0:03:41.336 ******** included: /tmp/tmprua6lrek/tests/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:6 Wednesday 06 July 2022 08:35:29 +0000 (0:00:00.042) 0:03:41.379 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:12 Wednesday 06 July 2022 08:35:29 +0000 (0:00:00.027) 0:03:41.406 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:16 Wednesday 06 July 2022 08:35:29 +0000 (0:00:00.025) 0:03:41.432 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:20 Wednesday 06 July 2022 08:35:29 +0000 (0:00:00.029) 0:03:41.461 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:24 Wednesday 06 July 2022 08:35:29 +0000 (0:00:00.025) 0:03:41.487 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:30 Wednesday 06 July 2022 08:35:29 +0000 (0:00:00.023) 0:03:41.510 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:36 Wednesday 06 July 2022 08:35:29 +0000 (0:00:00.025) 0:03:41.536 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:44 Wednesday 06 July 2022 08:35:29 +0000 (0:00:00.071) 0:03:41.608 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-pool-members.yml:59 Wednesday 06 July 2022 08:35:29 +0000 (0:00:00.036) 0:03:41.645 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 08:35:29 +0000 (0:00:00.049) 0:03:41.694 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 08:35:29 +0000 (0:00:00.049) 0:03:41.744 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 08:35:29 +0000 (0:00:00.031) 0:03:41.775 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 08:35:29 +0000 (0:00:00.031) 0:03:41.807 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:62 Wednesday 06 July 2022 08:35:29 +0000 (0:00:00.031) 0:03:41.838 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 08:35:29 +0000 (0:00:00.045) 0:03:41.883 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 08:35:29 +0000 (0:00:00.043) 0:03:41.926 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 08:35:29 +0000 (0:00:00.023) 0:03:41.950 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 08:35:29 +0000 (0:00:00.022) 0:03:41.973 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 08:35:29 +0000 (0:00:00.024) 0:03:41.997 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:65 Wednesday 06 July 2022 08:35:30 +0000 (0:00:00.025) 0:03:42.023 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 08:35:30 +0000 (0:00:00.048) 0:03:42.071 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 08:35:30 +0000 (0:00:00.050) 0:03:42.121 ******** TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 08:35:30 +0000 (0:00:00.024) 0:03:42.146 ******** TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 08:35:30 +0000 (0:00:00.022) 0:03:42.168 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:68 Wednesday 06 July 2022 08:35:30 +0000 (0:00:00.035) 0:03:42.204 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 08:35:30 +0000 (0:00:00.049) 0:03:42.254 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 08:35:30 +0000 (0:00:00.047) 0:03:42.301 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 08:35:30 +0000 (0:00:00.027) 0:03:42.329 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 08:35:30 +0000 (0:00:00.026) 0:03:42.355 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 08:35:30 +0000 (0:00:00.026) 0:03:42.382 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 08:35:30 +0000 (0:00:00.026) 0:03:42.409 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 08:35:30 +0000 (0:00:00.026) 0:03:42.436 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 08:35:30 +0000 (0:00:00.025) 0:03:42.461 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 08:35:30 +0000 (0:00:00.025) 0:03:42.486 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:71 Wednesday 06 July 2022 08:35:30 +0000 (0:00:00.040) 0:03:42.527 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 08:35:30 +0000 (0:00:00.039) 0:03:42.566 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-volume.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 08:35:30 +0000 (0:00:00.045) 0:03:42.611 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 08:35:30 +0000 (0:00:00.055) 0:03:42.666 ******** included: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 08:35:30 +0000 (0:00:00.116) 0:03:42.783 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 08:35:30 +0000 (0:00:00.046) 0:03:42.829 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 08:35:30 +0000 (0:00:00.061) 0:03:42.891 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 08:35:30 +0000 (0:00:00.028) 0:03:42.920 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 08:35:30 +0000 (0:00:00.053) 0:03:42.973 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 08:35:30 +0000 (0:00:00.040) 0:03:43.014 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 08:35:31 +0000 (0:00:00.028) 0:03:43.042 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 08:35:31 +0000 (0:00:00.027) 0:03:43.069 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 08:35:31 +0000 (0:00:00.026) 0:03:43.096 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 08:35:31 +0000 (0:00:00.038) 0:03:43.134 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 08:35:31 +0000 (0:00:00.064) 0:03:43.199 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 08:35:31 +0000 (0:00:00.025) 0:03:43.224 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 08:35:31 +0000 (0:00:00.049) 0:03:43.274 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 08:35:31 +0000 (0:00:00.040) 0:03:43.315 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 08:35:31 +0000 (0:00:00.036) 0:03:43.351 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 08:35:31 +0000 (0:00:00.024) 0:03:43.376 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 08:35:31 +0000 (0:00:00.023) 0:03:43.400 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 08:35:31 +0000 (0:00:00.396) 0:03:43.797 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 08:35:31 +0000 (0:00:00.041) 0:03:43.838 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 08:35:31 +0000 (0:00:00.024) 0:03:43.863 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 08:35:31 +0000 (0:00:00.038) 0:03:43.902 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 08:35:31 +0000 (0:00:00.085) 0:03:43.987 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 08:35:31 +0000 (0:00:00.027) 0:03:44.014 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 08:35:32 +0000 (0:00:00.026) 0:03:44.041 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 08:35:34 +0000 (0:00:01.980) 0:03:46.021 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 08:35:34 +0000 (0:00:00.025) 0:03:46.047 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 08:35:34 +0000 (0:00:00.026) 0:03:46.073 ******** skipping: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 08:35:34 +0000 (0:00:00.024) 0:03:46.098 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 08:35:34 +0000 (0:00:00.025) 0:03:46.123 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 08:35:34 +0000 (0:00:00.025) 0:03:46.149 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 08:35:34 +0000 (0:00:00.026) 0:03:46.176 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 08:35:34 +0000 (0:00:00.027) 0:03:46.203 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 08:35:34 +0000 (0:00:00.031) 0:03:46.235 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 08:35:34 +0000 (0:00:00.067) 0:03:46.303 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 08:35:34 +0000 (0:00:00.053) 0:03:46.356 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 08:35:34 +0000 (0:00:00.040) 0:03:46.397 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 08:35:34 +0000 (0:00:00.053) 0:03:46.450 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 08:35:34 +0000 (0:00:00.088) 0:03:46.538 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 08:35:34 +0000 (0:00:00.037) 0:03:46.575 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 08:35:34 +0000 (0:00:00.049) 0:03:46.625 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 08:35:34 +0000 (0:00:00.041) 0:03:46.666 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 08:35:34 +0000 (0:00:00.046) 0:03:46.713 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 08:35:34 +0000 (0:00:00.041) 0:03:46.755 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 08:35:34 +0000 (0:00:00.037) 0:03:46.793 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 08:35:34 +0000 (0:00:00.056) 0:03:46.849 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 08:35:34 +0000 (0:00:00.038) 0:03:46.888 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 08:35:34 +0000 (0:00:00.083) 0:03:46.972 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 08:35:35 +0000 (0:00:00.049) 0:03:47.022 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 08:35:35 +0000 (0:00:00.046) 0:03:47.068 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 08:35:35 +0000 (0:00:00.052) 0:03:47.121 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 08:35:35 +0000 (0:00:00.043) 0:03:47.165 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 08:35:35 +0000 (0:00:00.051) 0:03:47.216 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 08:35:35 +0000 (0:00:00.044) 0:03:47.261 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 08:35:35 +0000 (0:00:00.044) 0:03:47.305 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 08:35:35 +0000 (0:00:00.041) 0:03:47.346 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 08:35:35 +0000 (0:00:00.046) 0:03:47.393 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 08:35:35 +0000 (0:00:00.108) 0:03:47.502 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 08:35:35 +0000 (0:00:00.027) 0:03:47.529 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 08:35:35 +0000 (0:00:00.026) 0:03:47.556 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 08:35:35 +0000 (0:00:00.025) 0:03:47.582 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 08:35:35 +0000 (0:00:00.024) 0:03:47.606 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 08:35:35 +0000 (0:00:00.024) 0:03:47.631 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 08:35:35 +0000 (0:00:00.027) 0:03:47.658 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 08:35:35 +0000 (0:00:00.027) 0:03:47.686 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 08:35:35 +0000 (0:00:00.029) 0:03:47.716 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:40 Wednesday 06 July 2022 08:35:35 +0000 (0:00:00.043) 0:03:47.759 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:47 Wednesday 06 July 2022 08:35:35 +0000 (0:00:00.042) 0:03:47.801 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:57 Wednesday 06 July 2022 08:35:35 +0000 (0:00:00.025) 0:03:47.826 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=1130 changed=14 unreachable=0 failed=0 skipped=989 rescued=0 ignored=0 Wednesday 06 July 2022 08:35:35 +0000 (0:00:00.054) 0:03:47.881 ******** =============================================================================== linux-system-roles.storage : manage the pools and volumes to match the specified state --- 9.03s /tmp/tmprua6lrek/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 --- 4.93s /tmp/tmprua6lrek/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 --- 3.91s /tmp/tmprua6lrek/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 --- 3.70s /tmp/tmprua6lrek/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 --- 3.63s /tmp/tmprua6lrek/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 --- 3.46s /tmp/tmprua6lrek/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 --- 3.29s /tmp/tmprua6lrek/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.84s /tmp/tmprua6lrek/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.47s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : make sure blivet is available -------------- 2.34s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Ensure cryptsetup is present -------------------------------------------- 1.98s /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 1.93s /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 1.92s /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 ------------------- linux-system-roles.storage : get service facts -------------------------- 1.91s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Ensure cryptsetup is present -------------------------------------------- 1.91s /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 1.88s /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 1.87s /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 1.84s /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 1.84s /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 1.83s /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 ------------------- 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/tmpfdufgi2k 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_create_raid_pool_then_remove.yml ******************************* 1 plays in /tmp/tmpus9dv81c/tests/storage/tests_create_raid_pool_then_remove.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/tests_create_raid_pool_then_remove.yml:2 Wednesday 06 July 2022 12:21:57 +0000 (0:00:00.014) 0:00:00.014 ******** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [include_role : fedora.linux_system_roles.storage] ************************ task path: /tmp/tmpus9dv81c/tests/storage/tests_create_raid_pool_then_remove.yml:17 Wednesday 06 July 2022 12:21:59 +0000 (0:00:01.290) 0:00:01.304 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 12:21:59 +0000 (0:00:00.041) 0:00:01.346 ******** included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 12:21:59 +0000 (0:00:00.031) 0:00:01.378 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 12:21:59 +0000 (0:00:00.538) 0:00:01.916 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 12:21:59 +0000 (0:00:00.057) 0:00:01.973 ******** ok: [/cache/fedora-35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 12:21:59 +0000 (0:00:00.031) 0:00:02.005 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 12:21:59 +0000 (0:00:00.031) 0:00:02.037 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 12:22:00 +0000 (0:00:00.056) 0:00:02.093 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 12:22:00 +0000 (0:00:00.018) 0:00:02.111 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 12:22:02 +0000 (0:00:02.498) 0:00:04.610 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 12:22:02 +0000 (0:00:00.033) 0:00:04.643 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 12:22:02 +0000 (0:00:00.031) 0:00:04.675 ******** ok: [/cache/fedora-35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 12:22:03 +0000 (0:00:00.723) 0:00:05.398 ******** included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:2 Wednesday 06 July 2022 12:22:03 +0000 (0:00:00.053) 0:00:05.452 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item={'repository': 'rhawalsh/dm-vdo', 'packages': ['vdo', 'kmod-vdo']}) => { "ansible_loop_var": "repo", "changed": false, "repo": { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:13 Wednesday 06 July 2022 12:22:03 +0000 (0:00:00.047) 0:00:05.499 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable COPRs] ************************ task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:18 Wednesday 06 July 2022 12:22:03 +0000 (0:00:00.036) 0:00:05.536 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item={'repository': 'rhawalsh/dm-vdo', 'packages': ['vdo', 'kmod-vdo']}) => { "ansible_loop_var": "repo", "changed": false, "repo": { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 12:22:03 +0000 (0:00:00.046) 0:00:05.582 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 12:22:05 +0000 (0:00:01.889) 0:00:07.472 ******** ok: [/cache/fedora-35.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" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "alias" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "bluetooth.service": { "name": "bluetooth.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "console-login-helper-messages-gensnippet-os-release.service": { "name": "console-login-helper-messages-gensnippet-os-release.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "console-login-helper-messages-gensnippet-ssh-keys.service": { "name": "console-login-helper-messages-gensnippet-ssh-keys.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "dbus-broker.service": { "name": "dbus-broker.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.bluez.service": { "name": "dbus-org.bluez.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.oom1.service": { "name": "dbus-org.freedesktop.oom1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.portable1.service": { "name": "dbus-org.freedesktop.portable1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.resolve1.service": { "name": "dbus-org.freedesktop.resolve1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "active", "status": "alias" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "display-manager.service": { "name": "display-manager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "dm-event.service": { "name": "dm-event.service", "source": "systemd", "state": "stopped", "status": "static" }, "dmraid-activation.service": { "name": "dmraid-activation.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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": "stopped", "status": "static" }, "fwupd-offline-update.service": { "name": "fwupd-offline-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "fwupd-refresh.service": { "name": "fwupd-refresh.service", "source": "systemd", "state": "inactive", "status": "static" }, "fwupd.service": { "name": "fwupd.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" }, "grub2-systemd-integration.service": { "name": "grub2-systemd-integration.service", "source": "systemd", "state": "inactive", "status": "static" }, "hv_kvp_daemon.service": { "name": "hv_kvp_daemon.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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" }, "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" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "ldconfig.service": { "name": "ldconfig.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-activation-early.service": { "name": "lvm2-activation-early.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-activation.service": { "name": "lvm2-activation.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-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" }, "modprobe@.service": { "name": "modprobe@.service", "source": "systemd", "state": "unknown", "status": "static" }, "modprobe@configfs.service": { "name": "modprobe@configfs.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@drm.service": { "name": "modprobe@drm.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@fuse.service": { "name": "modprobe@fuse.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "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" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "pam_namespace.service": { "name": "pam_namespace.service", "source": "systemd", "state": "inactive", "status": "static" }, "pcscd.service": { "name": "pcscd.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "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": "inactive", "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" }, "raid-check.service": { "name": "raid-check.service", "source": "systemd", "state": "stopped", "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" }, "rpmdb-rebuild.service": { "name": "rpmdb-rebuild.service", "source": "systemd", "state": "stopped", "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" }, "selinux-check-proper-disable.service": { "name": "selinux-check-proper-disable.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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": "stopped", "status": "enabled" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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-bless-boot.service": { "name": "systemd-bless-boot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-boot-check-no-failures.service": { "name": "systemd-boot-check-no-failures.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-boot-system-token.service": { "name": "systemd-boot-system-token.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-5B84\\x2d6DD7.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-5B84\\x2d6DD7.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-disk-by\\x2duuid-5f2f82d0\\x2dae0a\\x2d4574\\x2d8811\\x2d62a31a51a870.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-5f2f82d0\\x2dae0a\\x2d4574\\x2d8811\\x2d62a31a51a870.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-homed-activate.service": { "name": "systemd-homed-activate.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-homed.service": { "name": "systemd-homed.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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-journald@.service": { "name": "systemd-journald@.service", "source": "systemd", "state": "unknown", "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-network-generator.service": { "name": "systemd-network-generator.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-networkd-wait-online.service": { "name": "systemd-networkd-wait-online.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "systemd-networkd.service": { "name": "systemd-networkd.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "systemd-oomd.service": { "name": "systemd-oomd.service", "source": "systemd", "state": "running", "status": "enabled" }, "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-pstore.service": { "name": "systemd-pstore.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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": "enabled-runtime" }, "systemd-repart.service": { "name": "systemd-repart.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-resolved.service": { "name": "systemd-resolved.service", "source": "systemd", "state": "running", "status": "enabled" }, "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-sysext.service": { "name": "systemd-sysext.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-time-wait-sync.service": { "name": "systemd-time-wait-sync.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "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-userdbd.service": { "name": "systemd-userdbd.service", "source": "systemd", "state": "running", "status": "indirect" }, "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" }, "systemd-zram-setup@.service": { "name": "systemd-zram-setup@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-zram-setup@zram0.service": { "name": "systemd-zram-setup@zram0.service", "source": "systemd", "state": "stopped", "status": "active" }, "udisks2.service": { "name": "udisks2.service", "source": "systemd", "state": "stopped", "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" } } }, "changed": false } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 12:22:07 +0000 (0:00:01.934) 0:00:09.406 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 12:22:07 +0000 (0:00:00.060) 0:00:09.467 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 12:22:07 +0000 (0:00:00.023) 0:00:09.491 ******** ok: [/cache/fedora-35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 12:22:07 +0000 (0:00:00.582) 0:00:10.073 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 12:22:08 +0000 (0:00:00.038) 0:00:10.111 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 12:22:08 +0000 (0:00:00.020) 0:00:10.132 ******** ok: [/cache/fedora-35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 12:22:08 +0000 (0:00:00.036) 0:00:10.169 ******** ok: [/cache/fedora-35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 12:22:08 +0000 (0:00:00.034) 0:00:10.204 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 12:22:08 +0000 (0:00:00.034) 0:00:10.238 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 12:22:08 +0000 (0:00:00.033) 0:00:10.272 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 12:22:08 +0000 (0:00:00.022) 0:00:10.295 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 12:22:08 +0000 (0:00:00.033) 0:00:10.329 ******** skipping: [/cache/fedora-35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 12:22:08 +0000 (0:00:00.025) 0:00:10.354 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 12:22:08 +0000 (0:00:00.519) 0:00:10.874 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 12:22:08 +0000 (0:00:00.025) 0:00:10.899 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmpus9dv81c/tests/storage/tests_create_raid_pool_then_remove.yml:20 Wednesday 06 July 2022 12:22:09 +0000 (0:00:00.986) 0:00:11.886 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_create_raid_pool_then_remove.yml:27 Wednesday 06 July 2022 12:22:09 +0000 (0:00:00.032) 0:00:11.918 ******** included: /tmp/tmpus9dv81c/tests/storage/get_unused_disk.yml for /cache/fedora-35.qcow2.snap TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/get_unused_disk.yml:2 Wednesday 06 July 2022 12:22:09 +0000 (0:00:00.037) 0:00:11.956 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "disks": [ "sda", "sdb" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/get_unused_disk.yml:9 Wednesday 06 July 2022 12:22:10 +0000 (0:00:00.494) 0:00:12.450 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "unused_disks": [ "sda", "sdb" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmpus9dv81c/tests/storage/get_unused_disk.yml:14 Wednesday 06 July 2022 12:22:10 +0000 (0:00:00.036) 0:00:12.487 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/get_unused_disk.yml:19 Wednesday 06 July 2022 12:22:10 +0000 (0:00:00.042) 0:00:12.529 ******** ok: [/cache/fedora-35.qcow2.snap] => { "unused_disks": [ "sda", "sdb" ] } TASK [Create a RAID0 device] *************************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_create_raid_pool_then_remove.yml:31 Wednesday 06 July 2022 12:22:10 +0000 (0:00:00.035) 0:00:12.564 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 12:22:10 +0000 (0:00:00.047) 0:00:12.612 ******** included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 12:22:10 +0000 (0:00:00.034) 0:00:12.646 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 12:22:11 +0000 (0:00:00.525) 0:00:13.171 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 12:22:11 +0000 (0:00:00.063) 0:00:13.235 ******** ok: [/cache/fedora-35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 12:22:11 +0000 (0:00:00.037) 0:00:13.273 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 12:22:11 +0000 (0:00:00.038) 0:00:13.311 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 12:22:11 +0000 (0:00:00.057) 0:00:13.368 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 12:22:11 +0000 (0:00:00.025) 0:00:13.393 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 12:22:11 +0000 (0:00:00.029) 0:00:13.423 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "raid_level": "raid0", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "size": "2g" }, { "mount_point": "/opt/test2", "name": "lv2", "size": "3g" }, { "mount_point": "/opt/test3", "name": "lv3", "size": "3g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 12:22:11 +0000 (0:00:00.042) 0:00:13.465 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 12:22:11 +0000 (0:00:00.038) 0:00:13.504 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 12:22:11 +0000 (0:00:00.032) 0:00:13.536 ******** skipping: [/cache/fedora-35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 12:22:11 +0000 (0:00:00.028) 0:00:13.565 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 12:22:11 +0000 (0:00:00.028) 0:00:13.593 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 12:22:11 +0000 (0:00:00.027) 0:00:13.621 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 12:22:11 +0000 (0:00:00.058) 0:00:13.679 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 12:22:11 +0000 (0:00:00.022) 0:00:13.701 ******** changed: [/cache/fedora-35.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "mdmember" }, { "action": "create device", "device": "/dev/md/vg1-1", "fs_type": null }, { "action": "create format", "device": "/dev/md/vg1-1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv3", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv3", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/vg1-lv2", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv2", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/mapper/vg1-lv1", "/dev/mapper/vg1-lv2", "/dev/mapper/vg1-lv3" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" } ], "packages": [ "xfsprogs", "dosfstools", "e2fsprogs", "lvm2", "btrfs-progs", "mdadm" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "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": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "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/test2", "name": "lv2", "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 }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_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/test3", "name": "lv3", "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 12:22:21 +0000 (0:00:09.510) 0:00:23.212 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 12:22:21 +0000 (0:00:00.038) 0:00:23.250 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 12:22:21 +0000 (0:00:00.021) 0:00:23.272 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "mdmember" }, { "action": "create device", "device": "/dev/md/vg1-1", "fs_type": null }, { "action": "create format", "device": "/dev/md/vg1-1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv3", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv3", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/vg1-lv2", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv2", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/mapper/vg1-lv1", "/dev/mapper/vg1-lv2", "/dev/mapper/vg1-lv3" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" } ], "packages": [ "xfsprogs", "dosfstools", "e2fsprogs", "lvm2", "btrfs-progs", "mdadm" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "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": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "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/test2", "name": "lv2", "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 }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_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/test3", "name": "lv3", "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 12:22:21 +0000 (0:00:00.048) 0:00:23.320 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "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": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "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/test2", "name": "lv2", "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 }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_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/test3", "name": "lv3", "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 12:22:21 +0000 (0:00:00.041) 0:00:23.362 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 12:22:21 +0000 (0:00:00.037) 0:00:23.400 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 12:22:21 +0000 (0:00:00.039) 0:00:23.439 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 12:22:22 +0000 (0:00:01.064) 0:00:24.504 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv1', '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/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv2', 'path': '/opt/test2', '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/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv2" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv3', 'path': '/opt/test3', '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/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" }, "name": "/opt/test3", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv3" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 12:22:23 +0000 (0:00:01.533) 0:00:26.038 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 12:22:24 +0000 (0:00:00.751) 0:00:26.789 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 12:22:25 +0000 (0:00:00.405) 0:00:27.195 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 12:22:25 +0000 (0:00:00.026) 0:00:27.221 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_create_raid_pool_then_remove.yml:52 Wednesday 06 July 2022 12:22:26 +0000 (0:00:00.943) 0:00:28.165 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:1 Wednesday 06 July 2022 12:22:26 +0000 (0:00:00.051) 0:00:28.216 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "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": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "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/test2", "name": "lv2", "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 }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_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/test3", "name": "lv3", "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/tmpus9dv81c/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 12:22:26 +0000 (0:00:00.106) 0:00:28.323 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 12:22:26 +0000 (0:00:00.076) 0:00:28.399 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "70055fda-9d30-4146-886b-9a1d2532ebb3" }, "/dev/mapper/vg1-lv2": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv2", "size": "3G", "type": "lvm", "uuid": "f741cc35-e73c-48e3-93c9-2908f16759cc" }, "/dev/mapper/vg1-lv3": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv3", "size": "3G", "type": "lvm", "uuid": "e17ed5d7-4bfd-409b-aba4-8854452ca968" }, "/dev/md/vg1-1": { "fstype": "LVM2_member", "label": "", "name": "/dev/md/vg1-1", "size": "20G", "type": "raid0", "uuid": "3cPUCx-dAiK-Ya6L-ns1n-zorF-vO71-7wnesT" }, "/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/sda1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "c4d3275f-9227-3bbb-33e5-910ed9206f11" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "c4d3275f-9227-3bbb-33e5-910ed9206f11" }, "/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-06-12-21-45-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/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": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/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": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/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": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:19 Wednesday 06 July 2022 12:22:26 +0000 (0:00:00.493) 0:00:28.893 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002907", "end": "2022-07-06 12:22:26.418074", "rc": 0, "start": "2022-07-06 12:22:26.415167" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 /dev/mapper/vg1-lv2 /opt/test2 xfs defaults 0 0 /dev/mapper/vg1-lv3 /opt/test3 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:24 Wednesday 06 July 2022 12:22:27 +0000 (0:00:00.485) 0:00:29.378 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003706", "end": "2022-07-06 12:22:26.835615", "failed_when_result": false, "rc": 0, "start": "2022-07-06 12:22:26.831909" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:33 Wednesday 06 July 2022 12:22:27 +0000 (0:00:00.424) 0:00:29.802 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', 'raid_level': 'raid0', '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': 'lv1', 'raid_level': None, 'size': '2g', '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}, {'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/test2', 'name': 'lv2', '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/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}, {'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/test3', 'name': 'lv3', '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/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:5 Wednesday 06 July 2022 12:22:27 +0000 (0:00:00.066) 0:00:29.869 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:18 Wednesday 06 July 2022 12:22:27 +0000 (0:00:00.038) 0:00:29.907 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:1 Wednesday 06 July 2022 12:22:27 +0000 (0:00:00.050) 0:00:29.958 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/md127" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:6 Wednesday 06 July 2022 12:22:27 +0000 (0:00:00.070) 0:00:30.029 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/md127) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/md/vg1-1", "pv": "/dev/md127" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:15 Wednesday 06 July 2022 12:22:28 +0000 (0:00:00.538) 0:00:30.567 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:19 Wednesday 06 July 2022 12:22:28 +0000 (0:00:00.051) 0:00:30.618 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/md/vg1-1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:23 Wednesday 06 July 2022 12:22:28 +0000 (0:00:00.052) 0:00:30.670 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:29 Wednesday 06 July 2022 12:22:28 +0000 (0:00:00.054) 0:00:30.725 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:33 Wednesday 06 July 2022 12:22:28 +0000 (0:00:00.038) 0:00:30.763 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:37 Wednesday 06 July 2022 12:22:28 +0000 (0:00:00.081) 0:00:30.845 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "raid0" }, "changed": false } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:41 Wednesday 06 July 2022 12:22:28 +0000 (0:00:00.104) 0:00:30.949 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/md/vg1-1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/md/vg1-1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:50 Wednesday 06 July 2022 12:22:28 +0000 (0:00:00.044) 0:00:30.994 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:6 Wednesday 06 July 2022 12:22:28 +0000 (0:00:00.045) 0:00:31.039 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "mdadm", "--detail", "/dev/md/vg1-1" ], "delta": "0:00:00.008983", "end": "2022-07-06 12:22:28.487518", "rc": 0, "start": "2022-07-06 12:22:28.478535" } STDOUT: /dev/md/vg1-1: Version : 1.2 Creation Time : Wed Jul 6 12:22:13 2022 Raid Level : raid0 Array Size : 20951040 (19.98 GiB 21.45 GB) Raid Devices : 2 Total Devices : 2 Persistence : Superblock is persistent Update Time : Wed Jul 6 12:22:13 2022 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Layout : -unknown- Chunk Size : 512K Consistency Policy : none Name : vg1-1 UUID : c4d3275f:92273bbb:33e5910e:d9206f11 Events : 0 Number Major Minor RaidDevice State 0 8 1 0 active sync /dev/sda1 1 8 17 1 active sync /dev/sdb1 TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:12 Wednesday 06 July 2022 12:22:29 +0000 (0:00:00.407) 0:00:31.447 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": "Active\\ Devices\\ :\\ None\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:16 Wednesday 06 July 2022 12:22:29 +0000 (0:00:00.058) 0:00:31.505 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_spare_devices_re": "Spare\\ Devices\\ :\\ None\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:20 Wednesday 06 July 2022 12:22:29 +0000 (0:00:00.057) 0:00:31.562 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_metadata_version_re": "Version\\ :\\ None\\\n" }, "changed": false } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:24 Wednesday 06 July 2022 12:22:29 +0000 (0:00:00.053) 0:00:31.615 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:30 Wednesday 06 July 2022 12:22:29 +0000 (0:00:00.030) 0:00:31.646 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:36 Wednesday 06 July 2022 12:22:29 +0000 (0:00:00.032) 0:00:31.678 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:44 Wednesday 06 July 2022 12:22:29 +0000 (0:00:00.035) 0:00:31.713 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:53 Wednesday 06 July 2022 12:22:29 +0000 (0:00:00.033) 0:00:31.747 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 12:22:29 +0000 (0:00:00.044) 0:00:31.792 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-35.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': 'lv1', 'raid_level': None, 'size': '2g', '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-35.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/test2', 'name': 'lv2', '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/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-35.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/test3', 'name': 'lv3', '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/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 12:22:29 +0000 (0:00:00.055) 0:00:31.847 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 12:22:29 +0000 (0:00:00.029) 0:00:31.877 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 12:22:29 +0000 (0:00:00.029) 0:00:31.907 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 12:22:29 +0000 (0:00:00.029) 0:00:31.936 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 12:22:29 +0000 (0:00:00.028) 0:00:31.965 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 12:22:29 +0000 (0:00:00.029) 0:00:31.994 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 12:22:29 +0000 (0:00:00.030) 0:00:32.024 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 12:22:29 +0000 (0:00:00.029) 0:00:32.053 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 12:22:29 +0000 (0:00:00.028) 0:00:32.081 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:56 Wednesday 06 July 2022 12:22:30 +0000 (0:00:00.026) 0:00:32.108 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 12:22:30 +0000 (0:00:00.046) 0:00:32.154 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml for /cache/fedora-35.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': 'lv1', 'raid_level': None, 'size': '2g', '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml for /cache/fedora-35.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/test2', 'name': 'lv2', '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/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml for /cache/fedora-35.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/test3', 'name': 'lv3', '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/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 12:22:30 +0000 (0:00:00.066) 0:00:32.220 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 12:22:30 +0000 (0:00:00.026) 0:00:32.247 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 12:22:30 +0000 (0:00:00.024) 0:00:32.272 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 12:22:30 +0000 (0:00:00.026) 0:00:32.298 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 12:22:30 +0000 (0:00:00.030) 0:00:32.329 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 12:22:30 +0000 (0:00:00.026) 0:00:32.356 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 12:22:30 +0000 (0:00:00.026) 0:00:32.383 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 12:22:30 +0000 (0:00:00.025) 0:00:32.408 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 12:22:30 +0000 (0:00:00.073) 0:00:32.482 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 12:22:30 +0000 (0:00:00.026) 0:00:32.509 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 12:22:30 +0000 (0:00:00.025) 0:00:32.534 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 12:22:30 +0000 (0:00:00.026) 0:00:32.560 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:59 Wednesday 06 July 2022 12:22:30 +0000 (0:00:00.027) 0:00:32.587 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 12:22:30 +0000 (0:00:00.049) 0:00:32.637 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 12:22:30 +0000 (0:00:00.053) 0:00:32.691 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=/dev/md/vg1-1) => { "_storage_test_pool_member_path": "/dev/md/vg1-1", "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/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 12:22:30 +0000 (0:00:00.029) 0:00:32.721 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/md/vg1-1) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 12:22:30 +0000 (0:00:00.047) 0:00:32.768 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:4 Wednesday 06 July 2022 12:22:30 +0000 (0:00:00.054) 0:00:32.822 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:9 Wednesday 06 July 2022 12:22:30 +0000 (0:00:00.050) 0:00:32.872 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:15 Wednesday 06 July 2022 12:22:30 +0000 (0:00:00.040) 0:00:32.913 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:21 Wednesday 06 July 2022 12:22:30 +0000 (0:00:00.040) 0:00:32.954 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:27 Wednesday 06 July 2022 12:22:30 +0000 (0:00:00.038) 0:00:32.992 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 12:22:30 +0000 (0:00:00.037) 0:00:33.030 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:62 Wednesday 06 July 2022 12:22:30 +0000 (0:00:00.039) 0:00:33.069 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 12:22:31 +0000 (0:00:00.051) 0:00:33.120 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-35.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': 'lv1', 'raid_level': None, 'size': '2g', '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-35.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/test2', 'name': 'lv2', '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/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-35.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/test3', 'name': 'lv3', '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/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 12:22:31 +0000 (0:00:00.063) 0:00:33.184 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 12:22:31 +0000 (0:00:00.025) 0:00:33.209 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 12:22:31 +0000 (0:00:00.025) 0:00:33.234 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 12:22:31 +0000 (0:00:00.025) 0:00:33.259 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 12:22:31 +0000 (0:00:00.025) 0:00:33.285 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 12:22:31 +0000 (0:00:00.026) 0:00:33.311 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 12:22:31 +0000 (0:00:00.027) 0:00:33.339 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 12:22:31 +0000 (0:00:00.027) 0:00:33.366 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 12:22:31 +0000 (0:00:00.036) 0:00:33.403 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 12:22:31 +0000 (0:00:00.026) 0:00:33.429 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 12:22:31 +0000 (0:00:00.025) 0:00:33.454 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 12:22:31 +0000 (0:00:00.027) 0:00:33.482 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 12:22:31 +0000 (0:00:00.026) 0:00:33.508 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 12:22:31 +0000 (0:00:00.024) 0:00:33.532 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 12:22:31 +0000 (0:00:00.026) 0:00:33.558 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 12:22:31 +0000 (0:00:00.026) 0:00:33.585 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 12:22:31 +0000 (0:00:00.036) 0:00:33.621 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 12:22:31 +0000 (0:00:00.027) 0:00:33.648 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 12:22:31 +0000 (0:00:00.026) 0:00:33.675 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 12:22:31 +0000 (0:00:00.027) 0:00:33.702 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 12:22:31 +0000 (0:00:00.059) 0:00:33.762 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 12:22:31 +0000 (0:00:00.027) 0:00:33.789 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 12:22:31 +0000 (0:00:00.023) 0:00:33.813 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 12:22:31 +0000 (0:00:00.023) 0:00:33.837 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:65 Wednesday 06 July 2022 12:22:31 +0000 (0:00:00.035) 0:00:33.872 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 12:22:31 +0000 (0:00:00.032) 0:00:33.905 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml for /cache/fedora-35.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': 'lv1', 'raid_level': None, 'size': '2g', '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml for /cache/fedora-35.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/test2', 'name': 'lv2', '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/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml for /cache/fedora-35.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/test3', 'name': 'lv3', '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/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 12:22:31 +0000 (0:00:00.055) 0:00:33.961 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 12:22:31 +0000 (0:00:00.050) 0:00:34.011 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 12:22:32 +0000 (0:00:00.088) 0:00:34.100 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 12:22:32 +0000 (0:00:00.043) 0:00:34.143 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 508753, "block_size": 4096, "block_total": 520704, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 2083852288, "size_total": 2132803584, "uuid": "70055fda-9d30-4146-886b-9a1d2532ebb3" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 508753, "block_size": 4096, "block_total": 520704, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 2083852288, "size_total": 2132803584, "uuid": "70055fda-9d30-4146-886b-9a1d2532ebb3" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 12:22:32 +0000 (0:00:00.064) 0:00:34.208 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 12:22:32 +0000 (0:00:00.054) 0:00:34.262 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 12:22:32 +0000 (0:00:00.055) 0:00:34.318 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 12:22:32 +0000 (0:00:00.052) 0:00:34.370 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 12:22:32 +0000 (0:00:00.030) 0:00:34.401 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 12:22:32 +0000 (0:00:00.033) 0:00:34.434 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 12:22:32 +0000 (0:00:00.029) 0:00:34.463 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 12:22:32 +0000 (0:00:00.039) 0:00:34.503 ******** ok: [/cache/fedora-35.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/vg1-lv1 " ], "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/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 12:22:32 +0000 (0:00:00.073) 0:00:34.577 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 12:22:32 +0000 (0:00:00.053) 0:00:34.630 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 12:22:32 +0000 (0:00:00.051) 0:00:34.682 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 12:22:32 +0000 (0:00:00.035) 0:00:34.717 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 12:22:32 +0000 (0:00:00.038) 0:00:34.756 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 12:22:32 +0000 (0:00:00.041) 0:00:34.798 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 12:22:32 +0000 (0:00:00.044) 0:00:34.843 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657110143.088724, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657110140.1627238, "dev": 5, "device_type": 64770, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 547, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657110140.1627238, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "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/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 12:22:33 +0000 (0:00:00.399) 0:00:35.243 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 12:22:33 +0000 (0:00:00.092) 0:00:35.336 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 12:22:33 +0000 (0:00:00.123) 0:00:35.459 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 12:22:33 +0000 (0:00:00.041) 0:00:35.501 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 12:22:33 +0000 (0:00:00.026) 0:00:35.527 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 12:22:33 +0000 (0:00:00.044) 0:00:35.571 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 12:22:33 +0000 (0:00:00.026) 0:00:35.598 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 12:22:35 +0000 (0:00:01.946) 0:00:37.545 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 12:22:35 +0000 (0:00:00.026) 0:00:37.571 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 12:22:35 +0000 (0:00:00.026) 0:00:37.598 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 12:22:35 +0000 (0:00:00.053) 0:00:37.651 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 12:22:35 +0000 (0:00:00.026) 0:00:37.678 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 12:22:35 +0000 (0:00:00.027) 0:00:37.705 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 12:22:35 +0000 (0:00:00.026) 0:00:37.731 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 12:22:35 +0000 (0:00:00.025) 0:00:37.757 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 12:22:35 +0000 (0:00:00.025) 0:00:37.782 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 12:22:35 +0000 (0:00:00.054) 0:00:37.837 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 12:22:35 +0000 (0:00:00.052) 0:00:37.889 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 12:22:35 +0000 (0:00:00.038) 0:00:37.927 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 12:22:35 +0000 (0:00:00.038) 0:00:37.966 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 12:22:35 +0000 (0:00:00.036) 0:00:38.002 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 12:22:35 +0000 (0:00:00.042) 0:00:38.044 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 12:22:35 +0000 (0:00:00.042) 0:00:38.087 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 12:22:36 +0000 (0:00:00.043) 0:00:38.131 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 12:22:36 +0000 (0:00:00.041) 0:00:38.172 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 12:22:36 +0000 (0:00:00.045) 0:00:38.217 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 12:22:36 +0000 (0:00:00.051) 0:00:38.269 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 12:22:36 +0000 (0:00:00.038) 0:00:38.307 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 12:22:36 +0000 (0:00:00.040) 0:00:38.348 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 12:22:36 +0000 (0:00:00.547) 0:00:38.895 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 12:22:37 +0000 (0:00:00.420) 0:00:39.315 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 12:22:37 +0000 (0:00:00.059) 0:00:39.375 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 12:22:37 +0000 (0:00:00.039) 0:00:39.414 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 12:22:37 +0000 (0:00:00.040) 0:00:39.454 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 12:22:37 +0000 (0:00:00.045) 0:00:39.499 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 12:22:37 +0000 (0:00:00.045) 0:00:39.545 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 12:22:37 +0000 (0:00:00.042) 0:00:39.588 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 12:22:37 +0000 (0:00:00.040) 0:00:39.628 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 12:22:37 +0000 (0:00:00.035) 0:00:39.664 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 12:22:37 +0000 (0:00:00.039) 0:00:39.703 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 12:22:37 +0000 (0:00:00.056) 0:00:39.759 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.047134", "end": "2022-07-06 12:22:37.253734", "rc": 0, "start": "2022-07-06 12:22:37.206600" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 12:22:38 +0000 (0:00:00.458) 0:00:40.218 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 12:22:38 +0000 (0:00:00.054) 0:00:40.272 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 12:22:38 +0000 (0:00:00.053) 0:00:40.325 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 12:22:38 +0000 (0:00:00.039) 0:00:40.365 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 12:22:38 +0000 (0:00:00.037) 0:00:40.402 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 12:22:38 +0000 (0:00:00.040) 0:00:40.443 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 12:22:38 +0000 (0:00:00.040) 0:00:40.483 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 12:22:38 +0000 (0:00:00.034) 0:00:40.518 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 12:22:38 +0000 (0:00:00.049) 0:00:40.568 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 12:22:38 +0000 (0:00:00.082) 0:00:40.651 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv2" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 12:22:38 +0000 (0:00:00.079) 0:00:40.731 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv2", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "f741cc35-e73c-48e3-93c9-2908f16759cc" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv2", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "f741cc35-e73c-48e3-93c9-2908f16759cc" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 12:22:38 +0000 (0:00:00.131) 0:00:40.862 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 12:22:38 +0000 (0:00:00.055) 0:00:40.918 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 12:22:38 +0000 (0:00:00.050) 0:00:40.969 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 12:22:38 +0000 (0:00:00.053) 0:00:41.022 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 12:22:38 +0000 (0:00:00.025) 0:00:41.048 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 12:22:38 +0000 (0:00:00.026) 0:00:41.074 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 12:22:39 +0000 (0:00:00.026) 0:00:41.101 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 12:22:39 +0000 (0:00:00.035) 0:00:41.136 ******** ok: [/cache/fedora-35.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/vg1-lv2 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 12:22:39 +0000 (0:00:00.063) 0:00:41.199 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 12:22:39 +0000 (0:00:00.051) 0:00:41.250 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 12:22:39 +0000 (0:00:00.050) 0:00:41.301 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 12:22:39 +0000 (0:00:00.038) 0:00:41.340 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 12:22:39 +0000 (0:00:00.035) 0:00:41.376 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 12:22:39 +0000 (0:00:00.050) 0:00:41.426 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 12:22:39 +0000 (0:00:00.045) 0:00:41.472 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657110143.0607238, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657110139.8297238, "dev": 5, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 540, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657110139.8297238, "nlink": 1, "path": "/dev/mapper/vg1-lv2", "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/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 12:22:39 +0000 (0:00:00.395) 0:00:41.867 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 12:22:39 +0000 (0:00:00.041) 0:00:41.909 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 12:22:39 +0000 (0:00:00.041) 0:00:41.951 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 12:22:39 +0000 (0:00:00.040) 0:00:41.991 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 12:22:39 +0000 (0:00:00.027) 0:00:42.018 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 12:22:39 +0000 (0:00:00.041) 0:00:42.060 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 12:22:39 +0000 (0:00:00.026) 0:00:42.087 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 12:22:41 +0000 (0:00:01.830) 0:00:43.918 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 12:22:41 +0000 (0:00:00.027) 0:00:43.945 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 12:22:41 +0000 (0:00:00.030) 0:00:43.976 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 12:22:41 +0000 (0:00:00.090) 0:00:44.066 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 12:22:41 +0000 (0:00:00.026) 0:00:44.092 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 12:22:42 +0000 (0:00:00.026) 0:00:44.119 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 12:22:42 +0000 (0:00:00.068) 0:00:44.187 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 12:22:42 +0000 (0:00:00.030) 0:00:44.217 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 12:22:42 +0000 (0:00:00.028) 0:00:44.246 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 12:22:42 +0000 (0:00:00.062) 0:00:44.308 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 12:22:42 +0000 (0:00:00.052) 0:00:44.361 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 12:22:42 +0000 (0:00:00.039) 0:00:44.401 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 12:22:42 +0000 (0:00:00.039) 0:00:44.440 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 12:22:42 +0000 (0:00:00.044) 0:00:44.485 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 12:22:42 +0000 (0:00:00.042) 0:00:44.528 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 12:22:42 +0000 (0:00:00.043) 0:00:44.571 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 12:22:42 +0000 (0:00:00.042) 0:00:44.614 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 12:22:42 +0000 (0:00:00.040) 0:00:44.654 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 12:22:42 +0000 (0:00:00.040) 0:00:44.694 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 12:22:42 +0000 (0:00:00.036) 0:00:44.731 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 12:22:42 +0000 (0:00:00.041) 0:00:44.772 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 12:22:42 +0000 (0:00:00.040) 0:00:44.812 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 12:22:43 +0000 (0:00:00.399) 0:00:45.212 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 12:22:43 +0000 (0:00:00.416) 0:00:45.629 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 12:22:43 +0000 (0:00:00.051) 0:00:45.680 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 12:22:43 +0000 (0:00:00.040) 0:00:45.721 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 12:22:43 +0000 (0:00:00.040) 0:00:45.761 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 12:22:43 +0000 (0:00:00.039) 0:00:45.800 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 12:22:43 +0000 (0:00:00.038) 0:00:45.839 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 12:22:43 +0000 (0:00:00.043) 0:00:45.882 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 12:22:43 +0000 (0:00:00.039) 0:00:45.922 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 12:22:43 +0000 (0:00:00.039) 0:00:45.961 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 12:22:43 +0000 (0:00:00.042) 0:00:46.004 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 12:22:43 +0000 (0:00:00.055) 0:00:46.060 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv2" ], "delta": "0:00:00.034972", "end": "2022-07-06 12:22:43.563689", "rc": 0, "start": "2022-07-06 12:22:43.528717" } STDOUT: LVM2_LV_NAME=lv2 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 12:22:44 +0000 (0:00:00.462) 0:00:46.523 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 12:22:44 +0000 (0:00:00.050) 0:00:46.573 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 12:22:44 +0000 (0:00:00.054) 0:00:46.628 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 12:22:44 +0000 (0:00:00.041) 0:00:46.669 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 12:22:44 +0000 (0:00:00.042) 0:00:46.711 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 12:22:44 +0000 (0:00:00.037) 0:00:46.749 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 12:22:44 +0000 (0:00:00.037) 0:00:46.787 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 12:22:44 +0000 (0:00:00.036) 0:00:46.823 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 12:22:44 +0000 (0:00:00.057) 0:00:46.881 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 12:22:44 +0000 (0:00:00.083) 0:00:46.964 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv3" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 12:22:44 +0000 (0:00:00.043) 0:00:47.008 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv3", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "e17ed5d7-4bfd-409b-aba4-8854452ca968" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv3", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "e17ed5d7-4bfd-409b-aba4-8854452ca968" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 12:22:44 +0000 (0:00:00.062) 0:00:47.070 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 12:22:45 +0000 (0:00:00.053) 0:00:47.124 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 12:22:45 +0000 (0:00:00.052) 0:00:47.177 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 12:22:45 +0000 (0:00:00.056) 0:00:47.233 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 12:22:45 +0000 (0:00:00.027) 0:00:47.260 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 12:22:45 +0000 (0:00:00.025) 0:00:47.285 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 12:22:45 +0000 (0:00:00.026) 0:00:47.312 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 12:22:45 +0000 (0:00:00.038) 0:00:47.351 ******** ok: [/cache/fedora-35.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/vg1-lv3 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test3 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test3 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 12:22:45 +0000 (0:00:00.064) 0:00:47.415 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 12:22:45 +0000 (0:00:00.054) 0:00:47.470 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 12:22:45 +0000 (0:00:00.053) 0:00:47.524 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 12:22:45 +0000 (0:00:00.038) 0:00:47.562 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 12:22:45 +0000 (0:00:00.037) 0:00:47.600 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 12:22:45 +0000 (0:00:00.043) 0:00:47.643 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 12:22:45 +0000 (0:00:00.044) 0:00:47.687 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657110143.0967238, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657110139.5547237, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 532, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657110139.5547237, "nlink": 1, "path": "/dev/mapper/vg1-lv3", "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/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 12:22:45 +0000 (0:00:00.405) 0:00:48.092 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 12:22:46 +0000 (0:00:00.114) 0:00:48.207 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 12:22:46 +0000 (0:00:00.039) 0:00:48.247 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 12:22:46 +0000 (0:00:00.042) 0:00:48.289 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 12:22:46 +0000 (0:00:00.028) 0:00:48.318 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 12:22:46 +0000 (0:00:00.043) 0:00:48.362 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 12:22:46 +0000 (0:00:00.026) 0:00:48.388 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 12:22:48 +0000 (0:00:01.918) 0:00:50.306 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 12:22:48 +0000 (0:00:00.027) 0:00:50.334 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 12:22:48 +0000 (0:00:00.026) 0:00:50.360 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 12:22:48 +0000 (0:00:00.054) 0:00:50.415 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 12:22:48 +0000 (0:00:00.025) 0:00:50.440 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 12:22:48 +0000 (0:00:00.026) 0:00:50.467 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 12:22:48 +0000 (0:00:00.025) 0:00:50.493 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 12:22:48 +0000 (0:00:00.025) 0:00:50.519 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 12:22:48 +0000 (0:00:00.025) 0:00:50.544 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 12:22:48 +0000 (0:00:00.052) 0:00:50.597 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 12:22:48 +0000 (0:00:00.049) 0:00:50.646 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 12:22:48 +0000 (0:00:00.040) 0:00:50.686 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 12:22:48 +0000 (0:00:00.039) 0:00:50.726 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 12:22:48 +0000 (0:00:00.036) 0:00:50.763 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 12:22:48 +0000 (0:00:00.035) 0:00:50.799 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 12:22:48 +0000 (0:00:00.036) 0:00:50.835 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 12:22:48 +0000 (0:00:00.040) 0:00:50.876 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 12:22:48 +0000 (0:00:00.037) 0:00:50.914 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 12:22:48 +0000 (0:00:00.041) 0:00:50.955 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 12:22:48 +0000 (0:00:00.040) 0:00:50.996 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 12:22:48 +0000 (0:00:00.037) 0:00:51.033 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 12:22:48 +0000 (0:00:00.036) 0:00:51.070 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 12:22:49 +0000 (0:00:00.426) 0:00:51.496 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 12:22:49 +0000 (0:00:00.404) 0:00:51.900 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 12:22:49 +0000 (0:00:00.088) 0:00:51.989 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 12:22:49 +0000 (0:00:00.103) 0:00:52.093 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 12:22:50 +0000 (0:00:00.045) 0:00:52.139 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 12:22:50 +0000 (0:00:00.041) 0:00:52.181 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 12:22:50 +0000 (0:00:00.044) 0:00:52.225 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 12:22:50 +0000 (0:00:00.040) 0:00:52.266 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 12:22:50 +0000 (0:00:00.042) 0:00:52.308 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 12:22:50 +0000 (0:00:00.042) 0:00:52.351 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 12:22:50 +0000 (0:00:00.038) 0:00:52.389 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 12:22:50 +0000 (0:00:00.056) 0:00:52.446 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv3" ], "delta": "0:00:00.038252", "end": "2022-07-06 12:22:49.917951", "rc": 0, "start": "2022-07-06 12:22:49.879699" } STDOUT: LVM2_LV_NAME=lv3 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 12:22:50 +0000 (0:00:00.434) 0:00:52.880 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 12:22:50 +0000 (0:00:00.052) 0:00:52.932 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 12:22:50 +0000 (0:00:00.051) 0:00:52.984 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 12:22:50 +0000 (0:00:00.039) 0:00:53.024 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 12:22:50 +0000 (0:00:00.039) 0:00:53.064 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 12:22:51 +0000 (0:00:00.045) 0:00:53.109 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 12:22:51 +0000 (0:00:00.038) 0:00:53.147 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 12:22:51 +0000 (0:00:00.035) 0:00:53.183 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:47 Wednesday 06 July 2022 12:22:51 +0000 (0:00:00.038) 0:00:53.221 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 12:22:51 +0000 (0:00:00.024) 0:00:53.246 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmpus9dv81c/tests/storage/tests_create_raid_pool_then_remove.yml:54 Wednesday 06 July 2022 12:22:51 +0000 (0:00:00.035) 0:00:53.282 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 12:22:51 +0000 (0:00:00.053) 0:00:53.336 ******** included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 12:22:51 +0000 (0:00:00.037) 0:00:53.373 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 12:22:51 +0000 (0:00:00.549) 0:00:53.923 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 12:22:51 +0000 (0:00:00.153) 0:00:54.076 ******** ok: [/cache/fedora-35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 12:22:52 +0000 (0:00:00.037) 0:00:54.113 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 12:22:52 +0000 (0:00:00.035) 0:00:54.149 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 12:22:52 +0000 (0:00:00.067) 0:00:54.216 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 12:22:52 +0000 (0:00:00.024) 0:00:54.241 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 12:22:52 +0000 (0:00:00.031) 0:00:54.272 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "raid_level": "raid0", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "size": "2g" }, { "mount_point": "/opt/test2", "name": "lv2", "size": "3g" }, { "mount_point": "/opt/test3", "name": "lv3", "size": "3g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 12:22:52 +0000 (0:00:00.044) 0:00:54.316 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 12:22:52 +0000 (0:00:00.041) 0:00:54.358 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 12:22:52 +0000 (0:00:00.031) 0:00:54.389 ******** skipping: [/cache/fedora-35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 12:22:52 +0000 (0:00:00.029) 0:00:54.419 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 12:22:52 +0000 (0:00:00.036) 0:00:54.455 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 12:22:52 +0000 (0:00:00.029) 0:00:54.485 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 12:22:52 +0000 (0:00:00.068) 0:00:54.554 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 12:22:52 +0000 (0:00:00.023) 0:00:54.578 ******** ok: [/cache/fedora-35.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/vg1-lv1", "/dev/mapper/vg1-lv2", "/dev/mapper/vg1-lv3", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2", "dosfstools", "btrfs-progs", "mdadm", "e2fsprogs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "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 }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 12:22:55 +0000 (0:00:02.824) 0:00:57.402 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 12:22:55 +0000 (0:00:00.040) 0:00:57.443 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 12:22:55 +0000 (0:00:00.026) 0:00:57.469 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/vg1-lv1", "/dev/mapper/vg1-lv2", "/dev/mapper/vg1-lv3", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2", "dosfstools", "btrfs-progs", "mdadm", "e2fsprogs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "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 }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 12:22:55 +0000 (0:00:00.041) 0:00:57.511 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "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 }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 12:22:55 +0000 (0:00:00.073) 0:00:57.584 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 12:22:55 +0000 (0:00:00.042) 0:00:57.627 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 12:22:55 +0000 (0:00:00.040) 0:00:57.667 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 12:22:56 +0000 (0:00:00.776) 0:00:58.443 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/fedora-35.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/fedora-35.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv2', 'path': '/opt/test2', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv2" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/fedora-35.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv3', 'path': '/opt/test3', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" }, "name": "/opt/test3", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv3" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 12:22:57 +0000 (0:00:01.195) 0:00:59.638 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 12:22:58 +0000 (0:00:00.780) 0:01:00.419 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 12:22:58 +0000 (0:00:00.406) 0:01:00.825 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 12:22:58 +0000 (0:00:00.024) 0:01:00.850 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_create_raid_pool_then_remove.yml:75 Wednesday 06 July 2022 12:22:59 +0000 (0:00:00.998) 0:01:01.849 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:1 Wednesday 06 July 2022 12:22:59 +0000 (0:00:00.047) 0:01:01.896 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "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 }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "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/tmpus9dv81c/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 12:22:59 +0000 (0:00:00.053) 0:01:01.949 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 12:22:59 +0000 (0:00:00.038) 0:01:01.988 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "70055fda-9d30-4146-886b-9a1d2532ebb3" }, "/dev/mapper/vg1-lv2": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv2", "size": "3G", "type": "lvm", "uuid": "f741cc35-e73c-48e3-93c9-2908f16759cc" }, "/dev/mapper/vg1-lv3": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv3", "size": "3G", "type": "lvm", "uuid": "e17ed5d7-4bfd-409b-aba4-8854452ca968" }, "/dev/md/vg1-1": { "fstype": "LVM2_member", "label": "", "name": "/dev/md/vg1-1", "size": "20G", "type": "raid0", "uuid": "3cPUCx-dAiK-Ya6L-ns1n-zorF-vO71-7wnesT" }, "/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/sda1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "c4d3275f-9227-3bbb-33e5-910ed9206f11" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "c4d3275f-9227-3bbb-33e5-910ed9206f11" }, "/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-06-12-21-45-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/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": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/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": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/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": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:19 Wednesday 06 July 2022 12:23:00 +0000 (0:00:00.423) 0:01:02.412 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003398", "end": "2022-07-06 12:22:59.836179", "rc": 0, "start": "2022-07-06 12:22:59.832781" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 /dev/mapper/vg1-lv2 /opt/test2 xfs defaults 0 0 /dev/mapper/vg1-lv3 /opt/test3 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:24 Wednesday 06 July 2022 12:23:00 +0000 (0:00:00.387) 0:01:02.800 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002991", "end": "2022-07-06 12:23:00.267867", "failed_when_result": false, "rc": 0, "start": "2022-07-06 12:23:00.264876" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:33 Wednesday 06 July 2022 12:23:01 +0000 (0:00:00.434) 0:01:03.234 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', 'raid_level': 'raid0', 'raid_device_count': 2, 'raid_spare_count': 0, 'raid_metadata_version': '1.2', '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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}, {'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/test2', 'name': 'lv2', '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': ['sda', 'sdb'], '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/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}, {'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/test3', 'name': 'lv3', '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': ['sda', 'sdb'], '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/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': '512 KiB'}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:5 Wednesday 06 July 2022 12:23:01 +0000 (0:00:00.072) 0:01:03.307 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:18 Wednesday 06 July 2022 12:23:01 +0000 (0:00:00.116) 0:01:03.423 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:1 Wednesday 06 July 2022 12:23:01 +0000 (0:00:00.048) 0:01:03.471 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/md127" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:6 Wednesday 06 July 2022 12:23:01 +0000 (0:00:00.056) 0:01:03.528 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/md127) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/md/vg1-1", "pv": "/dev/md127" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:15 Wednesday 06 July 2022 12:23:01 +0000 (0:00:00.406) 0:01:03.934 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:19 Wednesday 06 July 2022 12:23:01 +0000 (0:00:00.048) 0:01:03.982 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/md/vg1-1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:23 Wednesday 06 July 2022 12:23:01 +0000 (0:00:00.052) 0:01:04.035 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:29 Wednesday 06 July 2022 12:23:01 +0000 (0:00:00.051) 0:01:04.086 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:33 Wednesday 06 July 2022 12:23:02 +0000 (0:00:00.040) 0:01:04.126 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:37 Wednesday 06 July 2022 12:23:02 +0000 (0:00:00.058) 0:01:04.185 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "raid0" }, "changed": false } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:41 Wednesday 06 July 2022 12:23:02 +0000 (0:00:00.044) 0:01:04.230 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/md/vg1-1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/md/vg1-1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:50 Wednesday 06 July 2022 12:23:02 +0000 (0:00:00.050) 0:01:04.280 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:6 Wednesday 06 July 2022 12:23:02 +0000 (0:00:00.046) 0:01:04.327 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "mdadm", "--detail", "/dev/md/vg1-1" ], "delta": "0:00:00.009465", "end": "2022-07-06 12:23:01.784667", "rc": 0, "start": "2022-07-06 12:23:01.775202" } STDOUT: /dev/md/vg1-1: Version : 1.2 Creation Time : Wed Jul 6 12:22:13 2022 Raid Level : raid0 Array Size : 20951040 (19.98 GiB 21.45 GB) Raid Devices : 2 Total Devices : 2 Persistence : Superblock is persistent Update Time : Wed Jul 6 12:22:13 2022 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Layout : -unknown- Chunk Size : 512K Consistency Policy : none Name : vg1-1 UUID : c4d3275f:92273bbb:33e5910e:d9206f11 Events : 0 Number Major Minor RaidDevice State 0 8 1 0 active sync /dev/sda1 1 8 17 1 active sync /dev/sdb1 TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:12 Wednesday 06 July 2022 12:23:02 +0000 (0:00:00.421) 0:01:04.749 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": "Active\\ Devices\\ :\\ 2\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:16 Wednesday 06 July 2022 12:23:02 +0000 (0:00:00.055) 0:01:04.805 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_spare_devices_re": "Spare\\ Devices\\ :\\ 0\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:20 Wednesday 06 July 2022 12:23:02 +0000 (0:00:00.055) 0:01:04.860 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_metadata_version_re": "Version\\ :\\ 1\\.2\\\n" }, "changed": false } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:24 Wednesday 06 July 2022 12:23:02 +0000 (0:00:00.057) 0:01:04.917 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:30 Wednesday 06 July 2022 12:23:02 +0000 (0:00:00.045) 0:01:04.963 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:36 Wednesday 06 July 2022 12:23:02 +0000 (0:00:00.045) 0:01:05.008 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:44 Wednesday 06 July 2022 12:23:02 +0000 (0:00:00.048) 0:01:05.056 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:53 Wednesday 06 July 2022 12:23:02 +0000 (0:00:00.035) 0:01:05.092 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 12:23:03 +0000 (0:00:00.044) 0:01:05.137 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-35.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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-35.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/test2', 'name': 'lv2', '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': ['sda', 'sdb'], '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/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-35.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/test3', 'name': 'lv3', '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': ['sda', 'sdb'], '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/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 12:23:03 +0000 (0:00:00.056) 0:01:05.193 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 12:23:03 +0000 (0:00:00.030) 0:01:05.224 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 12:23:03 +0000 (0:00:00.028) 0:01:05.253 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 12:23:03 +0000 (0:00:00.061) 0:01:05.314 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 12:23:03 +0000 (0:00:00.029) 0:01:05.343 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 12:23:03 +0000 (0:00:00.028) 0:01:05.372 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 12:23:03 +0000 (0:00:00.028) 0:01:05.400 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 12:23:03 +0000 (0:00:00.032) 0:01:05.433 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 12:23:03 +0000 (0:00:00.030) 0:01:05.464 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:56 Wednesday 06 July 2022 12:23:03 +0000 (0:00:00.030) 0:01:05.494 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 12:23:03 +0000 (0:00:00.048) 0:01:05.542 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml for /cache/fedora-35.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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml for /cache/fedora-35.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/test2', 'name': 'lv2', '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': ['sda', 'sdb'], '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/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml for /cache/fedora-35.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/test3', 'name': 'lv3', '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': ['sda', 'sdb'], '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/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 12:23:03 +0000 (0:00:00.057) 0:01:05.600 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 12:23:03 +0000 (0:00:00.027) 0:01:05.628 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 12:23:03 +0000 (0:00:00.024) 0:01:05.652 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 12:23:03 +0000 (0:00:00.024) 0:01:05.677 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 12:23:03 +0000 (0:00:00.024) 0:01:05.701 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 12:23:03 +0000 (0:00:00.025) 0:01:05.726 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 12:23:03 +0000 (0:00:00.023) 0:01:05.749 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 12:23:03 +0000 (0:00:00.022) 0:01:05.772 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 12:23:03 +0000 (0:00:00.022) 0:01:05.795 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 12:23:03 +0000 (0:00:00.024) 0:01:05.819 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 12:23:03 +0000 (0:00:00.023) 0:01:05.843 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 12:23:03 +0000 (0:00:00.022) 0:01:05.866 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:59 Wednesday 06 July 2022 12:23:03 +0000 (0:00:00.023) 0:01:05.890 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 12:23:03 +0000 (0:00:00.048) 0:01:05.938 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 12:23:03 +0000 (0:00:00.052) 0:01:05.991 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=/dev/md/vg1-1) => { "_storage_test_pool_member_path": "/dev/md/vg1-1", "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/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 12:23:03 +0000 (0:00:00.030) 0:01:06.022 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/md/vg1-1) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 12:23:03 +0000 (0:00:00.044) 0:01:06.066 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:4 Wednesday 06 July 2022 12:23:04 +0000 (0:00:00.051) 0:01:06.117 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:9 Wednesday 06 July 2022 12:23:04 +0000 (0:00:00.052) 0:01:06.170 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:15 Wednesday 06 July 2022 12:23:04 +0000 (0:00:00.039) 0:01:06.210 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:21 Wednesday 06 July 2022 12:23:04 +0000 (0:00:00.046) 0:01:06.256 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:27 Wednesday 06 July 2022 12:23:04 +0000 (0:00:00.040) 0:01:06.297 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 12:23:04 +0000 (0:00:00.036) 0:01:06.334 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:62 Wednesday 06 July 2022 12:23:04 +0000 (0:00:00.035) 0:01:06.369 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 12:23:04 +0000 (0:00:00.050) 0:01:06.419 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-35.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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-35.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/test2', 'name': 'lv2', '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': ['sda', 'sdb'], '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/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-35.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/test3', 'name': 'lv3', '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': ['sda', 'sdb'], '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/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 12:23:04 +0000 (0:00:00.061) 0:01:06.481 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 12:23:04 +0000 (0:00:00.054) 0:01:06.536 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 12:23:04 +0000 (0:00:00.025) 0:01:06.561 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 12:23:04 +0000 (0:00:00.024) 0:01:06.586 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 12:23:04 +0000 (0:00:00.026) 0:01:06.613 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 12:23:04 +0000 (0:00:00.027) 0:01:06.640 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 12:23:04 +0000 (0:00:00.025) 0:01:06.665 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 12:23:04 +0000 (0:00:00.024) 0:01:06.689 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 12:23:04 +0000 (0:00:00.036) 0:01:06.726 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 12:23:04 +0000 (0:00:00.026) 0:01:06.752 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 12:23:04 +0000 (0:00:00.024) 0:01:06.776 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 12:23:04 +0000 (0:00:00.023) 0:01:06.800 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 12:23:04 +0000 (0:00:00.026) 0:01:06.826 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 12:23:04 +0000 (0:00:00.026) 0:01:06.853 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 12:23:04 +0000 (0:00:00.026) 0:01:06.880 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 12:23:04 +0000 (0:00:00.026) 0:01:06.907 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 12:23:04 +0000 (0:00:00.040) 0:01:06.947 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 12:23:04 +0000 (0:00:00.028) 0:01:06.976 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 12:23:04 +0000 (0:00:00.025) 0:01:07.001 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 12:23:04 +0000 (0:00:00.026) 0:01:07.028 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 12:23:04 +0000 (0:00:00.025) 0:01:07.054 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 12:23:04 +0000 (0:00:00.027) 0:01:07.081 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 12:23:05 +0000 (0:00:00.024) 0:01:07.106 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 12:23:05 +0000 (0:00:00.025) 0:01:07.131 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:65 Wednesday 06 July 2022 12:23:05 +0000 (0:00:00.040) 0:01:07.172 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 12:23:05 +0000 (0:00:00.040) 0:01:07.213 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml for /cache/fedora-35.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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml for /cache/fedora-35.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/test2', 'name': 'lv2', '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': ['sda', 'sdb'], '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/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml for /cache/fedora-35.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/test3', 'name': 'lv3', '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': ['sda', 'sdb'], '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/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 12:23:05 +0000 (0:00:00.058) 0:01:07.271 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 12:23:05 +0000 (0:00:00.052) 0:01:07.324 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 12:23:05 +0000 (0:00:00.083) 0:01:07.408 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 12:23:05 +0000 (0:00:00.044) 0:01:07.452 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 508753, "block_size": 4096, "block_total": 520704, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 2083852288, "size_total": 2132803584, "uuid": "70055fda-9d30-4146-886b-9a1d2532ebb3" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 508753, "block_size": 4096, "block_total": 520704, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 2083852288, "size_total": 2132803584, "uuid": "70055fda-9d30-4146-886b-9a1d2532ebb3" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 12:23:05 +0000 (0:00:00.060) 0:01:07.513 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 12:23:05 +0000 (0:00:00.064) 0:01:07.578 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 12:23:05 +0000 (0:00:00.063) 0:01:07.641 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 12:23:05 +0000 (0:00:00.059) 0:01:07.701 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 12:23:05 +0000 (0:00:00.028) 0:01:07.730 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 12:23:05 +0000 (0:00:00.027) 0:01:07.758 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 12:23:05 +0000 (0:00:00.027) 0:01:07.785 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 12:23:05 +0000 (0:00:00.115) 0:01:07.901 ******** ok: [/cache/fedora-35.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/vg1-lv1 " ], "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/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 12:23:05 +0000 (0:00:00.068) 0:01:07.969 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 12:23:05 +0000 (0:00:00.054) 0:01:08.023 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 12:23:05 +0000 (0:00:00.051) 0:01:08.075 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 12:23:06 +0000 (0:00:00.040) 0:01:08.115 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 12:23:06 +0000 (0:00:00.038) 0:01:08.154 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 12:23:06 +0000 (0:00:00.041) 0:01:08.195 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 12:23:06 +0000 (0:00:00.042) 0:01:08.238 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657110143.088724, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657110140.1627238, "dev": 5, "device_type": 64770, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 547, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657110140.1627238, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "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/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 12:23:06 +0000 (0:00:00.417) 0:01:08.655 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 12:23:06 +0000 (0:00:00.038) 0:01:08.693 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 12:23:06 +0000 (0:00:00.038) 0:01:08.732 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 12:23:06 +0000 (0:00:00.038) 0:01:08.770 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 12:23:06 +0000 (0:00:00.027) 0:01:08.797 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 12:23:06 +0000 (0:00:00.041) 0:01:08.839 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 12:23:06 +0000 (0:00:00.025) 0:01:08.864 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 12:23:08 +0000 (0:00:01.959) 0:01:10.823 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 12:23:08 +0000 (0:00:00.026) 0:01:10.850 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 12:23:08 +0000 (0:00:00.026) 0:01:10.877 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 12:23:08 +0000 (0:00:00.056) 0:01:10.933 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 12:23:08 +0000 (0:00:00.029) 0:01:10.963 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 12:23:08 +0000 (0:00:00.027) 0:01:10.990 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 12:23:08 +0000 (0:00:00.026) 0:01:11.017 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 12:23:08 +0000 (0:00:00.027) 0:01:11.045 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 12:23:08 +0000 (0:00:00.026) 0:01:11.071 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 12:23:09 +0000 (0:00:00.087) 0:01:11.159 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 12:23:09 +0000 (0:00:00.053) 0:01:11.213 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 12:23:09 +0000 (0:00:00.039) 0:01:11.252 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 12:23:09 +0000 (0:00:00.037) 0:01:11.290 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 12:23:09 +0000 (0:00:00.036) 0:01:11.326 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 12:23:09 +0000 (0:00:00.083) 0:01:11.409 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 12:23:09 +0000 (0:00:00.040) 0:01:11.449 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 12:23:09 +0000 (0:00:00.040) 0:01:11.490 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 12:23:09 +0000 (0:00:00.084) 0:01:11.574 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 12:23:09 +0000 (0:00:00.039) 0:01:11.614 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 12:23:09 +0000 (0:00:00.039) 0:01:11.653 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 12:23:09 +0000 (0:00:00.038) 0:01:11.691 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 12:23:09 +0000 (0:00:00.042) 0:01:11.734 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 12:23:10 +0000 (0:00:00.396) 0:01:12.130 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 12:23:10 +0000 (0:00:00.412) 0:01:12.543 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 12:23:10 +0000 (0:00:00.060) 0:01:12.604 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 12:23:10 +0000 (0:00:00.041) 0:01:12.645 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 12:23:10 +0000 (0:00:00.048) 0:01:12.694 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 12:23:10 +0000 (0:00:00.046) 0:01:12.741 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 12:23:10 +0000 (0:00:00.040) 0:01:12.781 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 12:23:10 +0000 (0:00:00.037) 0:01:12.819 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 12:23:10 +0000 (0:00:00.037) 0:01:12.857 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 12:23:10 +0000 (0:00:00.036) 0:01:12.894 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 12:23:10 +0000 (0:00:00.037) 0:01:12.931 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 12:23:10 +0000 (0:00:00.059) 0:01:12.990 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.036036", "end": "2022-07-06 12:23:10.467947", "rc": 0, "start": "2022-07-06 12:23:10.431911" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 12:23:11 +0000 (0:00:00.444) 0:01:13.434 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 12:23:11 +0000 (0:00:00.052) 0:01:13.487 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 12:23:11 +0000 (0:00:00.053) 0:01:13.541 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 12:23:11 +0000 (0:00:00.040) 0:01:13.582 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 12:23:11 +0000 (0:00:00.043) 0:01:13.625 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 12:23:11 +0000 (0:00:00.040) 0:01:13.665 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 12:23:11 +0000 (0:00:00.039) 0:01:13.705 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 12:23:11 +0000 (0:00:00.133) 0:01:13.839 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 12:23:11 +0000 (0:00:00.051) 0:01:13.890 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 12:23:11 +0000 (0:00:00.084) 0:01:13.975 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv2" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 12:23:11 +0000 (0:00:00.044) 0:01:14.019 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv2", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "f741cc35-e73c-48e3-93c9-2908f16759cc" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv2", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "f741cc35-e73c-48e3-93c9-2908f16759cc" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 12:23:11 +0000 (0:00:00.059) 0:01:14.079 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 12:23:12 +0000 (0:00:00.054) 0:01:14.133 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 12:23:12 +0000 (0:00:00.058) 0:01:14.192 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 12:23:12 +0000 (0:00:00.056) 0:01:14.248 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 12:23:12 +0000 (0:00:00.029) 0:01:14.277 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 12:23:12 +0000 (0:00:00.026) 0:01:14.303 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 12:23:12 +0000 (0:00:00.026) 0:01:14.330 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 12:23:12 +0000 (0:00:00.034) 0:01:14.364 ******** ok: [/cache/fedora-35.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/vg1-lv2 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 12:23:12 +0000 (0:00:00.064) 0:01:14.429 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 12:23:12 +0000 (0:00:00.058) 0:01:14.488 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 12:23:12 +0000 (0:00:00.056) 0:01:14.544 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 12:23:12 +0000 (0:00:00.039) 0:01:14.584 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 12:23:12 +0000 (0:00:00.036) 0:01:14.620 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 12:23:12 +0000 (0:00:00.041) 0:01:14.661 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 12:23:12 +0000 (0:00:00.042) 0:01:14.704 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657110143.0607238, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657110139.8297238, "dev": 5, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 540, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657110139.8297238, "nlink": 1, "path": "/dev/mapper/vg1-lv2", "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/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 12:23:13 +0000 (0:00:00.410) 0:01:15.114 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 12:23:13 +0000 (0:00:00.042) 0:01:15.157 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 12:23:13 +0000 (0:00:00.039) 0:01:15.197 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 12:23:13 +0000 (0:00:00.040) 0:01:15.237 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 12:23:13 +0000 (0:00:00.025) 0:01:15.263 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 12:23:13 +0000 (0:00:00.038) 0:01:15.301 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 12:23:13 +0000 (0:00:00.027) 0:01:15.329 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 12:23:15 +0000 (0:00:01.819) 0:01:17.148 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 12:23:15 +0000 (0:00:00.024) 0:01:17.173 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 12:23:15 +0000 (0:00:00.024) 0:01:17.197 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 12:23:15 +0000 (0:00:00.054) 0:01:17.252 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 12:23:15 +0000 (0:00:00.027) 0:01:17.279 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 12:23:15 +0000 (0:00:00.026) 0:01:17.306 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 12:23:15 +0000 (0:00:00.025) 0:01:17.331 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 12:23:15 +0000 (0:00:00.025) 0:01:17.357 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 12:23:15 +0000 (0:00:00.023) 0:01:17.381 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 12:23:15 +0000 (0:00:00.051) 0:01:17.432 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 12:23:15 +0000 (0:00:00.049) 0:01:17.482 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 12:23:15 +0000 (0:00:00.036) 0:01:17.518 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 12:23:15 +0000 (0:00:00.037) 0:01:17.556 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 12:23:15 +0000 (0:00:00.037) 0:01:17.594 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 12:23:15 +0000 (0:00:00.033) 0:01:17.628 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 12:23:15 +0000 (0:00:00.035) 0:01:17.663 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 12:23:15 +0000 (0:00:00.035) 0:01:17.699 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 12:23:15 +0000 (0:00:00.036) 0:01:17.735 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 12:23:15 +0000 (0:00:00.034) 0:01:17.770 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 12:23:15 +0000 (0:00:00.034) 0:01:17.805 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 12:23:15 +0000 (0:00:00.034) 0:01:17.839 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 12:23:15 +0000 (0:00:00.037) 0:01:17.877 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 12:23:16 +0000 (0:00:00.397) 0:01:18.275 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 12:23:16 +0000 (0:00:00.446) 0:01:18.721 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 12:23:16 +0000 (0:00:00.053) 0:01:18.774 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 12:23:16 +0000 (0:00:00.073) 0:01:18.848 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 12:23:16 +0000 (0:00:00.041) 0:01:18.889 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 12:23:16 +0000 (0:00:00.085) 0:01:18.975 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 12:23:16 +0000 (0:00:00.038) 0:01:19.013 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 12:23:16 +0000 (0:00:00.038) 0:01:19.052 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 12:23:16 +0000 (0:00:00.039) 0:01:19.092 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 12:23:17 +0000 (0:00:00.036) 0:01:19.128 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 12:23:17 +0000 (0:00:00.036) 0:01:19.165 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 12:23:17 +0000 (0:00:00.056) 0:01:19.221 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv2" ], "delta": "0:00:00.038866", "end": "2022-07-06 12:23:16.707778", "rc": 0, "start": "2022-07-06 12:23:16.668912" } STDOUT: LVM2_LV_NAME=lv2 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 12:23:17 +0000 (0:00:00.449) 0:01:19.671 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 12:23:17 +0000 (0:00:00.052) 0:01:19.723 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 12:23:17 +0000 (0:00:00.056) 0:01:19.779 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 12:23:17 +0000 (0:00:00.039) 0:01:19.819 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 12:23:17 +0000 (0:00:00.036) 0:01:19.855 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 12:23:17 +0000 (0:00:00.035) 0:01:19.891 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 12:23:17 +0000 (0:00:00.040) 0:01:19.931 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 12:23:17 +0000 (0:00:00.033) 0:01:19.964 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 12:23:17 +0000 (0:00:00.051) 0:01:20.016 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 12:23:18 +0000 (0:00:00.091) 0:01:20.107 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv3" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 12:23:18 +0000 (0:00:00.039) 0:01:20.147 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv3", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "e17ed5d7-4bfd-409b-aba4-8854452ca968" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv3", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "e17ed5d7-4bfd-409b-aba4-8854452ca968" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 12:23:18 +0000 (0:00:00.054) 0:01:20.201 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 12:23:18 +0000 (0:00:00.049) 0:01:20.250 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 12:23:18 +0000 (0:00:00.045) 0:01:20.296 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 12:23:18 +0000 (0:00:00.048) 0:01:20.345 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 12:23:18 +0000 (0:00:00.023) 0:01:20.368 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 12:23:18 +0000 (0:00:00.024) 0:01:20.393 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 12:23:18 +0000 (0:00:00.025) 0:01:20.419 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 12:23:18 +0000 (0:00:00.034) 0:01:20.453 ******** ok: [/cache/fedora-35.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/vg1-lv3 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test3 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test3 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 12:23:18 +0000 (0:00:00.061) 0:01:20.515 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 12:23:18 +0000 (0:00:00.047) 0:01:20.562 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 12:23:18 +0000 (0:00:00.082) 0:01:20.644 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 12:23:18 +0000 (0:00:00.037) 0:01:20.682 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 12:23:18 +0000 (0:00:00.069) 0:01:20.751 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 12:23:18 +0000 (0:00:00.039) 0:01:20.791 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 12:23:18 +0000 (0:00:00.042) 0:01:20.833 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657110143.0967238, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657110139.5547237, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 532, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657110139.5547237, "nlink": 1, "path": "/dev/mapper/vg1-lv3", "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/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 12:23:19 +0000 (0:00:00.402) 0:01:21.235 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 12:23:19 +0000 (0:00:00.047) 0:01:21.282 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 12:23:19 +0000 (0:00:00.048) 0:01:21.331 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 12:23:19 +0000 (0:00:00.039) 0:01:21.370 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 12:23:19 +0000 (0:00:00.026) 0:01:21.397 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 12:23:19 +0000 (0:00:00.044) 0:01:21.441 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 12:23:19 +0000 (0:00:00.027) 0:01:21.469 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 12:23:21 +0000 (0:00:01.826) 0:01:23.295 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 12:23:21 +0000 (0:00:00.024) 0:01:23.320 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 12:23:21 +0000 (0:00:00.025) 0:01:23.346 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 12:23:21 +0000 (0:00:00.057) 0:01:23.403 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 12:23:21 +0000 (0:00:00.029) 0:01:23.433 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 12:23:21 +0000 (0:00:00.026) 0:01:23.459 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 12:23:21 +0000 (0:00:00.024) 0:01:23.483 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 12:23:21 +0000 (0:00:00.024) 0:01:23.508 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 12:23:21 +0000 (0:00:00.023) 0:01:23.532 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 12:23:21 +0000 (0:00:00.057) 0:01:23.589 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 12:23:21 +0000 (0:00:00.055) 0:01:23.645 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 12:23:21 +0000 (0:00:00.039) 0:01:23.684 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 12:23:21 +0000 (0:00:00.039) 0:01:23.723 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 12:23:21 +0000 (0:00:00.038) 0:01:23.762 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 12:23:21 +0000 (0:00:00.040) 0:01:23.803 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 12:23:21 +0000 (0:00:00.038) 0:01:23.841 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 12:23:21 +0000 (0:00:00.037) 0:01:23.879 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 12:23:21 +0000 (0:00:00.038) 0:01:23.918 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 12:23:21 +0000 (0:00:00.038) 0:01:23.956 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 12:23:21 +0000 (0:00:00.083) 0:01:24.040 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 12:23:21 +0000 (0:00:00.040) 0:01:24.081 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 12:23:22 +0000 (0:00:00.046) 0:01:24.127 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 12:23:22 +0000 (0:00:00.409) 0:01:24.536 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 12:23:22 +0000 (0:00:00.414) 0:01:24.950 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 12:23:22 +0000 (0:00:00.051) 0:01:25.002 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 12:23:22 +0000 (0:00:00.035) 0:01:25.037 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 12:23:22 +0000 (0:00:00.039) 0:01:25.077 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 12:23:23 +0000 (0:00:00.040) 0:01:25.118 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 12:23:23 +0000 (0:00:00.036) 0:01:25.154 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 12:23:23 +0000 (0:00:00.036) 0:01:25.190 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 12:23:23 +0000 (0:00:00.046) 0:01:25.237 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 12:23:23 +0000 (0:00:00.042) 0:01:25.280 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 12:23:23 +0000 (0:00:00.038) 0:01:25.318 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 12:23:23 +0000 (0:00:00.053) 0:01:25.372 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv3" ], "delta": "0:00:00.039308", "end": "2022-07-06 12:23:22.857132", "rc": 0, "start": "2022-07-06 12:23:22.817824" } STDOUT: LVM2_LV_NAME=lv3 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 12:23:23 +0000 (0:00:00.450) 0:01:25.822 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 12:23:23 +0000 (0:00:00.054) 0:01:25.877 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 12:23:23 +0000 (0:00:00.053) 0:01:25.930 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 12:23:23 +0000 (0:00:00.038) 0:01:25.968 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 12:23:23 +0000 (0:00:00.040) 0:01:26.008 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 12:23:23 +0000 (0:00:00.045) 0:01:26.054 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 12:23:24 +0000 (0:00:00.047) 0:01:26.102 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 12:23:24 +0000 (0:00:00.038) 0:01:26.140 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:47 Wednesday 06 July 2022 12:23:24 +0000 (0:00:00.092) 0:01:26.232 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 12:23:24 +0000 (0:00:00.023) 0:01:26.256 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Remove the device created above] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_create_raid_pool_then_remove.yml:77 Wednesday 06 July 2022 12:23:24 +0000 (0:00:00.074) 0:01:26.331 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 12:23:24 +0000 (0:00:00.092) 0:01:26.424 ******** included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 12:23:24 +0000 (0:00:00.037) 0:01:26.462 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 12:23:24 +0000 (0:00:00.553) 0:01:27.015 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 12:23:24 +0000 (0:00:00.062) 0:01:27.077 ******** ok: [/cache/fedora-35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 12:23:25 +0000 (0:00:00.038) 0:01:27.116 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 12:23:25 +0000 (0:00:00.042) 0:01:27.159 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 12:23:25 +0000 (0:00:00.061) 0:01:27.220 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 12:23:25 +0000 (0:00:00.024) 0:01:27.244 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 12:23:25 +0000 (0:00:00.029) 0:01:27.274 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "raid_level": "raid0", "state": "absent", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "size": "2g" }, { "mount_point": "/opt/test2", "name": "lv2", "size": "3g" }, { "mount_point": "/opt/test3", "name": "lv3", "size": "3g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 12:23:25 +0000 (0:00:00.047) 0:01:27.322 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 12:23:25 +0000 (0:00:00.039) 0:01:27.361 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 12:23:25 +0000 (0:00:00.029) 0:01:27.391 ******** skipping: [/cache/fedora-35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 12:23:25 +0000 (0:00:00.027) 0:01:27.418 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 12:23:25 +0000 (0:00:00.027) 0:01:27.446 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 12:23:25 +0000 (0:00:00.028) 0:01:27.474 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 12:23:25 +0000 (0:00:00.060) 0:01:27.535 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 12:23:25 +0000 (0:00:00.024) 0:01:27.559 ******** changed: [/cache/fedora-35.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv3", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv3", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/vg1-lv2", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv2", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/md/vg1-1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/md/vg1-1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "e2fsprogs", "dosfstools", "btrfs-progs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "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 }, { "_device": "/dev/mapper/vg1-lv3", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 12:23:30 +0000 (0:00:05.151) 0:01:32.711 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 12:23:30 +0000 (0:00:00.039) 0:01:32.750 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 12:23:30 +0000 (0:00:00.024) 0:01:32.775 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv3", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv3", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/vg1-lv2", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv2", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/md/vg1-1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/md/vg1-1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "e2fsprogs", "dosfstools", "btrfs-progs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "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 }, { "_device": "/dev/mapper/vg1-lv3", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 12:23:30 +0000 (0:00:00.047) 0:01:32.822 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "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 }, { "_device": "/dev/mapper/vg1-lv3", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 12:23:30 +0000 (0:00:00.041) 0:01:32.864 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 12:23:30 +0000 (0:00:00.041) 0:01:32.905 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv3', 'path': '/opt/test3', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "absent" }, "name": "/opt/test3", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv3" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv2', 'path': '/opt/test2', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "absent" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv2" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 12:23:32 +0000 (0:00:01.222) 0:01:34.128 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 12:23:32 +0000 (0:00:00.787) 0:01:34.916 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 12:23:32 +0000 (0:00:00.048) 0:01:34.964 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 12:23:33 +0000 (0:00:00.797) 0:01:35.762 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 12:23:34 +0000 (0:00:00.423) 0:01:36.185 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 12:23:34 +0000 (0:00:00.026) 0:01:36.211 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_create_raid_pool_then_remove.yml:98 Wednesday 06 July 2022 12:23:35 +0000 (0:00:00.999) 0:01:37.211 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:1 Wednesday 06 July 2022 12:23:35 +0000 (0:00:00.047) 0:01:37.258 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "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 }, { "_device": "/dev/mapper/vg1-lv3", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "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/tmpus9dv81c/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 12:23:35 +0000 (0:00:00.086) 0:01:37.344 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 12:23:35 +0000 (0:00:00.039) 0:01:37.384 ******** ok: [/cache/fedora-35.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-06-12-21-45-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/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": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/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": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/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": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:19 Wednesday 06 July 2022 12:23:35 +0000 (0:00:00.444) 0:01:37.829 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.004102", "end": "2022-07-06 12:23:35.266599", "rc": 0, "start": "2022-07-06 12:23:35.262497" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:24 Wednesday 06 July 2022 12:23:36 +0000 (0:00:00.401) 0:01:38.230 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003410", "end": "2022-07-06 12:23:35.688895", "failed_when_result": false, "rc": 0, "start": "2022-07-06 12:23:35.685485" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:33 Wednesday 06 July 2022 12:23:36 +0000 (0:00:00.424) 0:01:38.654 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', 'raid_level': 'raid0', 'raid_device_count': 2, 'raid_spare_count': 0, 'raid_metadata_version': '1.2', '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': '/opt/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}, {'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/test2', 'name': 'lv2', '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': ['sda', 'sdb'], '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/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2'}, {'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/test3', 'name': 'lv3', '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': ['sda', 'sdb'], '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/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3'}], 'raid_chunk_size': '512 KiB'}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:5 Wednesday 06 July 2022 12:23:36 +0000 (0:00:00.063) 0:01:38.718 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:18 Wednesday 06 July 2022 12:23:36 +0000 (0:00:00.033) 0:01:38.752 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:1 Wednesday 06 July 2022 12:23:36 +0000 (0:00:00.048) 0:01:38.801 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:6 Wednesday 06 July 2022 12:23:36 +0000 (0:00:00.055) 0:01:38.856 ******** TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:15 Wednesday 06 July 2022 12:23:36 +0000 (0:00:00.022) 0:01:38.878 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:19 Wednesday 06 July 2022 12:23:36 +0000 (0:00:00.050) 0:01:38.929 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:23 Wednesday 06 July 2022 12:23:36 +0000 (0:00:00.052) 0:01:38.981 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:29 Wednesday 06 July 2022 12:23:36 +0000 (0:00:00.052) 0:01:39.034 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:33 Wednesday 06 July 2022 12:23:36 +0000 (0:00:00.041) 0:01:39.075 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:37 Wednesday 06 July 2022 12:23:37 +0000 (0:00:00.054) 0:01:39.130 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "raid0" }, "changed": false } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:41 Wednesday 06 July 2022 12:23:37 +0000 (0:00:00.037) 0:01:39.167 ******** TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:50 Wednesday 06 July 2022 12:23:37 +0000 (0:00:00.022) 0:01:39.190 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:6 Wednesday 06 July 2022 12:23:37 +0000 (0:00:00.043) 0:01:39.233 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:12 Wednesday 06 July 2022 12:23:37 +0000 (0:00:00.029) 0:01:39.263 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:16 Wednesday 06 July 2022 12:23:37 +0000 (0:00:00.027) 0:01:39.290 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:20 Wednesday 06 July 2022 12:23:37 +0000 (0:00:00.026) 0:01:39.317 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:24 Wednesday 06 July 2022 12:23:37 +0000 (0:00:00.026) 0:01:39.344 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:30 Wednesday 06 July 2022 12:23:37 +0000 (0:00:00.024) 0:01:39.368 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:36 Wednesday 06 July 2022 12:23:37 +0000 (0:00:00.023) 0:01:39.392 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:44 Wednesday 06 July 2022 12:23:37 +0000 (0:00:00.024) 0:01:39.416 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:53 Wednesday 06 July 2022 12:23:37 +0000 (0:00:00.105) 0:01:39.522 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 12:23:37 +0000 (0:00:00.049) 0:01:39.571 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-35.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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-35.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/test2', 'name': 'lv2', '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': ['sda', 'sdb'], '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/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2'}) included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-35.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/test3', 'name': 'lv3', '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': ['sda', 'sdb'], '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/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 12:23:37 +0000 (0:00:00.064) 0:01:39.636 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 12:23:37 +0000 (0:00:00.032) 0:01:39.669 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 12:23:37 +0000 (0:00:00.036) 0:01:39.705 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 12:23:37 +0000 (0:00:00.035) 0:01:39.740 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 12:23:37 +0000 (0:00:00.030) 0:01:39.771 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 12:23:37 +0000 (0:00:00.027) 0:01:39.798 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 12:23:37 +0000 (0:00:00.027) 0:01:39.825 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 12:23:37 +0000 (0:00:00.029) 0:01:39.854 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 12:23:37 +0000 (0:00:00.030) 0:01:39.885 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:56 Wednesday 06 July 2022 12:23:37 +0000 (0:00:00.031) 0:01:39.916 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 12:23:37 +0000 (0:00:00.047) 0:01:39.963 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml for /cache/fedora-35.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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml for /cache/fedora-35.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/test2', 'name': 'lv2', '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': ['sda', 'sdb'], '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/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2'}) included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml for /cache/fedora-35.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/test3', 'name': 'lv3', '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': ['sda', 'sdb'], '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/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 12:23:37 +0000 (0:00:00.058) 0:01:40.022 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 12:23:37 +0000 (0:00:00.027) 0:01:40.049 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 12:23:37 +0000 (0:00:00.023) 0:01:40.072 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 12:23:38 +0000 (0:00:00.024) 0:01:40.097 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 12:23:38 +0000 (0:00:00.025) 0:01:40.123 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 12:23:38 +0000 (0:00:00.026) 0:01:40.150 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 12:23:38 +0000 (0:00:00.025) 0:01:40.175 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 12:23:38 +0000 (0:00:00.025) 0:01:40.201 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 12:23:38 +0000 (0:00:00.024) 0:01:40.226 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 12:23:38 +0000 (0:00:00.026) 0:01:40.253 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 12:23:38 +0000 (0:00:00.023) 0:01:40.276 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 12:23:38 +0000 (0:00:00.024) 0:01:40.301 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:59 Wednesday 06 July 2022 12:23:38 +0000 (0:00:00.025) 0:01:40.326 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 12:23:38 +0000 (0:00:00.048) 0:01:40.375 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 12:23:38 +0000 (0:00:00.049) 0:01:40.424 ******** TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 12:23:38 +0000 (0:00:00.021) 0:01:40.446 ******** TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 12:23:38 +0000 (0:00:00.020) 0:01:40.467 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:62 Wednesday 06 July 2022 12:23:38 +0000 (0:00:00.033) 0:01:40.500 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 12:23:38 +0000 (0:00:00.046) 0:01:40.547 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-35.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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-35.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/test2', 'name': 'lv2', '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': ['sda', 'sdb'], '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/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2'}) included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-35.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/test3', 'name': 'lv3', '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': ['sda', 'sdb'], '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/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 12:23:38 +0000 (0:00:00.057) 0:01:40.604 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 12:23:38 +0000 (0:00:00.069) 0:01:40.673 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 12:23:38 +0000 (0:00:00.026) 0:01:40.700 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 12:23:38 +0000 (0:00:00.026) 0:01:40.726 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 12:23:38 +0000 (0:00:00.026) 0:01:40.752 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 12:23:38 +0000 (0:00:00.026) 0:01:40.779 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 12:23:38 +0000 (0:00:00.024) 0:01:40.803 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 12:23:38 +0000 (0:00:00.023) 0:01:40.827 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 12:23:38 +0000 (0:00:00.040) 0:01:40.868 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 12:23:38 +0000 (0:00:00.028) 0:01:40.896 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 12:23:38 +0000 (0:00:00.025) 0:01:40.921 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 12:23:38 +0000 (0:00:00.024) 0:01:40.946 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 12:23:38 +0000 (0:00:00.025) 0:01:40.972 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 12:23:38 +0000 (0:00:00.027) 0:01:40.999 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 12:23:38 +0000 (0:00:00.024) 0:01:41.024 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 12:23:38 +0000 (0:00:00.024) 0:01:41.048 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 12:23:38 +0000 (0:00:00.038) 0:01:41.087 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 12:23:39 +0000 (0:00:00.027) 0:01:41.114 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 12:23:39 +0000 (0:00:00.024) 0:01:41.139 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 12:23:39 +0000 (0:00:00.026) 0:01:41.165 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 12:23:39 +0000 (0:00:00.033) 0:01:41.199 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 12:23:39 +0000 (0:00:00.031) 0:01:41.231 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 12:23:39 +0000 (0:00:00.026) 0:01:41.257 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 12:23:39 +0000 (0:00:00.026) 0:01:41.283 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:65 Wednesday 06 July 2022 12:23:39 +0000 (0:00:00.040) 0:01:41.323 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 12:23:39 +0000 (0:00:00.037) 0:01:41.361 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml for /cache/fedora-35.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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml for /cache/fedora-35.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/test2', 'name': 'lv2', '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': ['sda', 'sdb'], '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/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2'}) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml for /cache/fedora-35.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/test3', 'name': 'lv3', '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': ['sda', 'sdb'], '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/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 12:23:39 +0000 (0:00:00.054) 0:01:41.415 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 12:23:39 +0000 (0:00:00.051) 0:01:41.467 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 12:23:39 +0000 (0:00:00.080) 0:01:41.548 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 12:23:39 +0000 (0:00:00.044) 0:01:41.593 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 12:23:39 +0000 (0:00:00.064) 0:01:41.657 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 12:23:39 +0000 (0:00:00.028) 0:01:41.685 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 12:23:39 +0000 (0:00:00.054) 0:01:41.739 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 12:23:39 +0000 (0:00:00.042) 0:01:41.782 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 12:23:39 +0000 (0:00:00.025) 0:01:41.808 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 12:23:39 +0000 (0:00:00.026) 0:01:41.834 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 12:23:39 +0000 (0:00:00.024) 0:01:41.858 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 12:23:39 +0000 (0:00:00.087) 0:01:41.946 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 12:23:39 +0000 (0:00:00.141) 0:01:42.087 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 12:23:40 +0000 (0:00:00.025) 0:01:42.113 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 12:23:40 +0000 (0:00:00.050) 0:01:42.163 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 12:23:40 +0000 (0:00:00.038) 0:01:42.202 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 12:23:40 +0000 (0:00:00.035) 0:01:42.238 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 12:23:40 +0000 (0:00:00.025) 0:01:42.263 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 12:23:40 +0000 (0:00:00.023) 0:01:42.287 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 12:23:40 +0000 (0:00:00.390) 0:01:42.677 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 12:23:40 +0000 (0:00:00.041) 0:01:42.718 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 12:23:40 +0000 (0:00:00.024) 0:01:42.743 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 12:23:40 +0000 (0:00:00.039) 0:01:42.782 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 12:23:40 +0000 (0:00:00.026) 0:01:42.808 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 12:23:40 +0000 (0:00:00.023) 0:01:42.832 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 12:23:40 +0000 (0:00:00.024) 0:01:42.856 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 12:23:42 +0000 (0:00:02.057) 0:01:44.914 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 12:23:42 +0000 (0:00:00.023) 0:01:44.938 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 12:23:42 +0000 (0:00:00.024) 0:01:44.962 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 12:23:42 +0000 (0:00:00.025) 0:01:44.987 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 12:23:42 +0000 (0:00:00.024) 0:01:45.012 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 12:23:42 +0000 (0:00:00.025) 0:01:45.038 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 12:23:42 +0000 (0:00:00.026) 0:01:45.065 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 12:23:42 +0000 (0:00:00.026) 0:01:45.091 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 12:23:43 +0000 (0:00:00.025) 0:01:45.116 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 12:23:43 +0000 (0:00:00.051) 0:01:45.167 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 12:23:43 +0000 (0:00:00.054) 0:01:45.222 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 12:23:43 +0000 (0:00:00.039) 0:01:45.262 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 12:23:43 +0000 (0:00:00.037) 0:01:45.299 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 12:23:43 +0000 (0:00:00.037) 0:01:45.337 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 12:23:43 +0000 (0:00:00.039) 0:01:45.376 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 12:23:43 +0000 (0:00:00.038) 0:01:45.415 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 12:23:43 +0000 (0:00:00.038) 0:01:45.453 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 12:23:43 +0000 (0:00:00.037) 0:01:45.491 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 12:23:43 +0000 (0:00:00.045) 0:01:45.537 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 12:23:43 +0000 (0:00:00.043) 0:01:45.581 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 12:23:43 +0000 (0:00:00.041) 0:01:45.622 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 12:23:43 +0000 (0:00:00.043) 0:01:45.666 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 12:23:43 +0000 (0:00:00.027) 0:01:45.694 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 12:23:43 +0000 (0:00:00.040) 0:01:45.734 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 12:23:43 +0000 (0:00:00.040) 0:01:45.775 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 12:23:43 +0000 (0:00:00.093) 0:01:45.868 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 12:23:43 +0000 (0:00:00.041) 0:01:45.909 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 12:23:43 +0000 (0:00:00.039) 0:01:45.949 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 12:23:43 +0000 (0:00:00.051) 0:01:46.000 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 12:23:44 +0000 (0:00:00.107) 0:01:46.108 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 12:23:44 +0000 (0:00:00.039) 0:01:46.148 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 12:23:44 +0000 (0:00:00.040) 0:01:46.188 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 12:23:44 +0000 (0:00:00.041) 0:01:46.229 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 12:23:44 +0000 (0:00:00.025) 0:01:46.255 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 12:23:44 +0000 (0:00:00.025) 0:01:46.281 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 12:23:44 +0000 (0:00:00.026) 0:01:46.307 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 12:23:44 +0000 (0:00:00.028) 0:01:46.335 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 12:23:44 +0000 (0:00:00.025) 0:01:46.361 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 12:23:44 +0000 (0:00:00.025) 0:01:46.386 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 12:23:44 +0000 (0:00:00.025) 0:01:46.412 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 12:23:44 +0000 (0:00:00.025) 0:01:46.438 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 12:23:44 +0000 (0:00:00.036) 0:01:46.474 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 12:23:44 +0000 (0:00:00.049) 0:01:46.523 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 12:23:44 +0000 (0:00:00.080) 0:01:46.604 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv2" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 12:23:44 +0000 (0:00:00.041) 0:01:46.646 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 12:23:44 +0000 (0:00:00.057) 0:01:46.703 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 12:23:44 +0000 (0:00:00.026) 0:01:46.729 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 12:23:44 +0000 (0:00:00.051) 0:01:46.781 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 12:23:44 +0000 (0:00:00.042) 0:01:46.823 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 12:23:44 +0000 (0:00:00.026) 0:01:46.850 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 12:23:44 +0000 (0:00:00.025) 0:01:46.876 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 12:23:44 +0000 (0:00:00.031) 0:01:46.907 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 12:23:44 +0000 (0:00:00.043) 0:01:46.950 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 12:23:44 +0000 (0:00:00.063) 0:01:47.014 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 12:23:44 +0000 (0:00:00.025) 0:01:47.039 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 12:23:44 +0000 (0:00:00.053) 0:01:47.093 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 12:23:45 +0000 (0:00:00.038) 0:01:47.131 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 12:23:45 +0000 (0:00:00.034) 0:01:47.166 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 12:23:45 +0000 (0:00:00.024) 0:01:47.190 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 12:23:45 +0000 (0:00:00.026) 0:01:47.217 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 12:23:45 +0000 (0:00:00.397) 0:01:47.614 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 12:23:45 +0000 (0:00:00.076) 0:01:47.691 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 12:23:45 +0000 (0:00:00.064) 0:01:47.755 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 12:23:45 +0000 (0:00:00.038) 0:01:47.794 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 12:23:45 +0000 (0:00:00.026) 0:01:47.820 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 12:23:45 +0000 (0:00:00.025) 0:01:47.846 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 12:23:45 +0000 (0:00:00.027) 0:01:47.873 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 12:23:47 +0000 (0:00:01.887) 0:01:49.761 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 12:23:47 +0000 (0:00:00.024) 0:01:49.785 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 12:23:47 +0000 (0:00:00.023) 0:01:49.809 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 12:23:47 +0000 (0:00:00.024) 0:01:49.834 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 12:23:47 +0000 (0:00:00.023) 0:01:49.857 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 12:23:47 +0000 (0:00:00.025) 0:01:49.883 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 12:23:47 +0000 (0:00:00.025) 0:01:49.909 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 12:23:47 +0000 (0:00:00.026) 0:01:49.936 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 12:23:47 +0000 (0:00:00.026) 0:01:49.962 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 12:23:47 +0000 (0:00:00.054) 0:01:50.016 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 12:23:47 +0000 (0:00:00.053) 0:01:50.069 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 12:23:48 +0000 (0:00:00.041) 0:01:50.111 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 12:23:48 +0000 (0:00:00.038) 0:01:50.149 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 12:23:48 +0000 (0:00:00.039) 0:01:50.188 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 12:23:48 +0000 (0:00:00.039) 0:01:50.228 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 12:23:48 +0000 (0:00:00.042) 0:01:50.270 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 12:23:48 +0000 (0:00:00.038) 0:01:50.309 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 12:23:48 +0000 (0:00:00.049) 0:01:50.359 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 12:23:48 +0000 (0:00:00.043) 0:01:50.402 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 12:23:48 +0000 (0:00:00.042) 0:01:50.444 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 12:23:48 +0000 (0:00:00.040) 0:01:50.485 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 12:23:48 +0000 (0:00:00.044) 0:01:50.530 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 12:23:48 +0000 (0:00:00.027) 0:01:50.557 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 12:23:48 +0000 (0:00:00.040) 0:01:50.598 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 12:23:48 +0000 (0:00:00.041) 0:01:50.639 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 12:23:48 +0000 (0:00:00.041) 0:01:50.681 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 12:23:48 +0000 (0:00:00.039) 0:01:50.721 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 12:23:48 +0000 (0:00:00.040) 0:01:50.762 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 12:23:48 +0000 (0:00:00.039) 0:01:50.801 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 12:23:48 +0000 (0:00:00.037) 0:01:50.839 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 12:23:48 +0000 (0:00:00.038) 0:01:50.878 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 12:23:48 +0000 (0:00:00.042) 0:01:50.920 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 12:23:48 +0000 (0:00:00.039) 0:01:50.959 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 12:23:48 +0000 (0:00:00.025) 0:01:50.985 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 12:23:48 +0000 (0:00:00.024) 0:01:51.009 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 12:23:48 +0000 (0:00:00.024) 0:01:51.034 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 12:23:48 +0000 (0:00:00.024) 0:01:51.059 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 12:23:48 +0000 (0:00:00.026) 0:01:51.085 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 12:23:49 +0000 (0:00:00.025) 0:01:51.111 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 12:23:49 +0000 (0:00:00.027) 0:01:51.138 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 12:23:49 +0000 (0:00:00.026) 0:01:51.165 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 12:23:49 +0000 (0:00:00.080) 0:01:51.245 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 12:23:49 +0000 (0:00:00.138) 0:01:51.384 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 12:23:49 +0000 (0:00:00.081) 0:01:51.465 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv3" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 12:23:49 +0000 (0:00:00.044) 0:01:51.509 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 12:23:49 +0000 (0:00:00.058) 0:01:51.568 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 12:23:49 +0000 (0:00:00.026) 0:01:51.594 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 12:23:49 +0000 (0:00:00.050) 0:01:51.645 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 12:23:49 +0000 (0:00:00.037) 0:01:51.683 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 12:23:49 +0000 (0:00:00.024) 0:01:51.708 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 12:23:49 +0000 (0:00:00.023) 0:01:51.732 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 12:23:49 +0000 (0:00:00.024) 0:01:51.756 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 12:23:49 +0000 (0:00:00.037) 0:01:51.794 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 12:23:49 +0000 (0:00:00.066) 0:01:51.860 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 12:23:49 +0000 (0:00:00.024) 0:01:51.884 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 12:23:49 +0000 (0:00:00.048) 0:01:51.933 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 12:23:49 +0000 (0:00:00.038) 0:01:51.971 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 12:23:49 +0000 (0:00:00.040) 0:01:52.011 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 12:23:49 +0000 (0:00:00.025) 0:01:52.036 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 12:23:49 +0000 (0:00:00.023) 0:01:52.060 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 12:23:50 +0000 (0:00:00.399) 0:01:52.460 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 12:23:50 +0000 (0:00:00.039) 0:01:52.500 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 12:23:50 +0000 (0:00:00.027) 0:01:52.527 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 12:23:50 +0000 (0:00:00.037) 0:01:52.564 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 12:23:50 +0000 (0:00:00.027) 0:01:52.592 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 12:23:50 +0000 (0:00:00.024) 0:01:52.616 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 12:23:50 +0000 (0:00:00.031) 0:01:52.648 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 12:23:52 +0000 (0:00:01.935) 0:01:54.583 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 12:23:52 +0000 (0:00:00.028) 0:01:54.611 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 12:23:52 +0000 (0:00:00.025) 0:01:54.637 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 12:23:52 +0000 (0:00:00.025) 0:01:54.663 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 12:23:52 +0000 (0:00:00.029) 0:01:54.692 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 12:23:52 +0000 (0:00:00.069) 0:01:54.762 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 12:23:52 +0000 (0:00:00.026) 0:01:54.789 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 12:23:52 +0000 (0:00:00.026) 0:01:54.815 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 12:23:52 +0000 (0:00:00.025) 0:01:54.840 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 12:23:52 +0000 (0:00:00.052) 0:01:54.893 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 12:23:52 +0000 (0:00:00.051) 0:01:54.945 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 12:23:52 +0000 (0:00:00.038) 0:01:54.983 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 12:23:52 +0000 (0:00:00.038) 0:01:55.021 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 12:23:52 +0000 (0:00:00.039) 0:01:55.061 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 12:23:53 +0000 (0:00:00.038) 0:01:55.099 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 12:23:53 +0000 (0:00:00.039) 0:01:55.138 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 12:23:53 +0000 (0:00:00.043) 0:01:55.182 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 12:23:53 +0000 (0:00:00.039) 0:01:55.221 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 12:23:53 +0000 (0:00:00.036) 0:01:55.258 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 12:23:53 +0000 (0:00:00.038) 0:01:55.297 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 12:23:53 +0000 (0:00:00.042) 0:01:55.339 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 12:23:53 +0000 (0:00:00.037) 0:01:55.376 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 12:23:53 +0000 (0:00:00.026) 0:01:55.403 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 12:23:53 +0000 (0:00:00.039) 0:01:55.442 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 12:23:53 +0000 (0:00:00.041) 0:01:55.483 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 12:23:53 +0000 (0:00:00.035) 0:01:55.519 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 12:23:53 +0000 (0:00:00.036) 0:01:55.555 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 12:23:53 +0000 (0:00:00.037) 0:01:55.593 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 12:23:53 +0000 (0:00:00.043) 0:01:55.637 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 12:23:53 +0000 (0:00:00.039) 0:01:55.676 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 12:23:53 +0000 (0:00:00.037) 0:01:55.713 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 12:23:53 +0000 (0:00:00.039) 0:01:55.753 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 12:23:53 +0000 (0:00:00.040) 0:01:55.793 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 12:23:53 +0000 (0:00:00.024) 0:01:55.818 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 12:23:53 +0000 (0:00:00.023) 0:01:55.841 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 12:23:53 +0000 (0:00:00.023) 0:01:55.865 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 12:23:53 +0000 (0:00:00.027) 0:01:55.892 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 12:23:53 +0000 (0:00:00.026) 0:01:55.918 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 12:23:53 +0000 (0:00:00.025) 0:01:55.944 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 12:23:53 +0000 (0:00:00.026) 0:01:55.970 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 12:23:53 +0000 (0:00:00.027) 0:01:55.997 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 12:23:53 +0000 (0:00:00.032) 0:01:56.030 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:47 Wednesday 06 July 2022 12:23:53 +0000 (0:00:00.032) 0:01:56.062 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 12:23:53 +0000 (0:00:00.022) 0:01:56.085 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Create a RAID1 lvm raid device] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_create_raid_pool_then_remove.yml:100 Wednesday 06 July 2022 12:23:54 +0000 (0:00:00.039) 0:01:56.124 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 12:23:54 +0000 (0:00:00.127) 0:01:56.251 ******** included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 12:23:54 +0000 (0:00:00.036) 0:01:56.288 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 12:23:54 +0000 (0:00:00.553) 0:01:56.841 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 12:23:54 +0000 (0:00:00.063) 0:01:56.905 ******** ok: [/cache/fedora-35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 12:23:54 +0000 (0:00:00.039) 0:01:56.944 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 12:23:54 +0000 (0:00:00.036) 0:01:56.981 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 12:23:54 +0000 (0:00:00.058) 0:01:57.040 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 12:23:54 +0000 (0:00:00.021) 0:01:57.061 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 12:23:54 +0000 (0:00:00.027) 0:01:57.089 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "size": "2g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 12:23:55 +0000 (0:00:00.043) 0:01:57.133 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 12:23:55 +0000 (0:00:00.041) 0:01:57.174 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 12:23:55 +0000 (0:00:00.029) 0:01:57.204 ******** skipping: [/cache/fedora-35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 12:23:55 +0000 (0:00:00.032) 0:01:57.236 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 12:23:55 +0000 (0:00:00.031) 0:01:57.268 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 12:23:55 +0000 (0:00:00.029) 0:01:57.298 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 12:23:55 +0000 (0:00:00.060) 0:01:57.358 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 12:23:55 +0000 (0:00:00.022) 0:01:57.381 ******** changed: [/cache/fedora-35.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/mapper/vg1-lv1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "dosfstools", "lvm2", "btrfs-progs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "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": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 12:23:59 +0000 (0:00:03.729) 0:02:01.111 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 12:23:59 +0000 (0:00:00.040) 0:02:01.151 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 12:23:59 +0000 (0:00:00.023) 0:02:01.175 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/mapper/vg1-lv1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs", "dosfstools", "lvm2", "btrfs-progs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "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": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 12:23:59 +0000 (0:00:00.042) 0:02:01.217 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "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": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 12:23:59 +0000 (0:00:00.074) 0:02:01.292 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 12:23:59 +0000 (0:00:00.035) 0:02:01.328 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 12:23:59 +0000 (0:00:00.035) 0:02:01.363 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 12:24:00 +0000 (0:00:00.811) 0:02:02.175 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv1', '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/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 12:24:00 +0000 (0:00:00.480) 0:02:02.655 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 12:24:01 +0000 (0:00:00.765) 0:02:03.421 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 12:24:01 +0000 (0:00:00.412) 0:02:03.833 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 12:24:01 +0000 (0:00:00.025) 0:02:03.859 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_create_raid_pool_then_remove.yml:116 Wednesday 06 July 2022 12:24:02 +0000 (0:00:00.986) 0:02:04.845 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:1 Wednesday 06 July 2022 12:24:02 +0000 (0:00:00.052) 0:02:04.898 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "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": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmpus9dv81c/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 12:24:02 +0000 (0:00:00.058) 0:02:04.956 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 12:24:02 +0000 (0:00:00.042) 0:02:04.999 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "f37e06c8-467d-4456-8db7-50f5484d6e54" }, "/dev/mapper/vg1-lv1_rimage_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_0", "size": "2G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rimage_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_1", "size": "2G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rmeta_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rmeta_0", "size": "4M", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rmeta_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rmeta_1", "size": "4M", "type": "lvm", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "lKrUvh-47Fp-DabT-gWAJ-guFT-65Xn-mwMGft" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "z0mjmL-gb24-Q6OE-d9yG-iJgK-wBDP-c99FOz" }, "/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-06-12-21-45-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/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": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/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": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/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": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:19 Wednesday 06 July 2022 12:24:03 +0000 (0:00:00.466) 0:02:05.465 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003711", "end": "2022-07-06 12:24:02.945181", "rc": 0, "start": "2022-07-06 12:24:02.941470" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:24 Wednesday 06 July 2022 12:24:03 +0000 (0:00:00.444) 0:02:05.910 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002944", "end": "2022-07-06 12:24:03.395493", "failed_when_result": false, "rc": 0, "start": "2022-07-06 12:24:03.392549" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:33 Wednesday 06 July 2022 12:24:04 +0000 (0:00:00.448) 0:02:06.359 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', '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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:5 Wednesday 06 July 2022 12:24:04 +0000 (0:00:00.066) 0:02:06.425 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:18 Wednesday 06 July 2022 12:24:04 +0000 (0:00:00.039) 0:02:06.465 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:1 Wednesday 06 July 2022 12:24:04 +0000 (0:00:00.050) 0:02:06.515 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "2", "_storage_test_pool_pvs_lvm": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:6 Wednesday 06 July 2022 12:24:04 +0000 (0:00:00.058) 0:02:06.573 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda1", "pv": "/dev/sda1" } ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sdb1", "pv": "/dev/sdb1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:15 Wednesday 06 July 2022 12:24:05 +0000 (0:00:00.784) 0:02:07.358 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "2" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:19 Wednesday 06 July 2022 12:24:05 +0000 (0:00:00.054) 0:02:07.412 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:23 Wednesday 06 July 2022 12:24:05 +0000 (0:00:00.053) 0:02:07.465 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:29 Wednesday 06 July 2022 12:24:05 +0000 (0:00:00.051) 0:02:07.517 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:33 Wednesday 06 July 2022 12:24:05 +0000 (0:00:00.043) 0:02:07.560 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:37 Wednesday 06 July 2022 12:24:05 +0000 (0:00:00.052) 0:02:07.612 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:41 Wednesday 06 July 2022 12:24:05 +0000 (0:00:00.026) 0:02:07.639 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda1" } MSG: All assertions passed ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sdb1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:50 Wednesday 06 July 2022 12:24:05 +0000 (0:00:00.061) 0:02:07.701 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:6 Wednesday 06 July 2022 12:24:05 +0000 (0:00:00.043) 0:02:07.744 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:12 Wednesday 06 July 2022 12:24:05 +0000 (0:00:00.024) 0:02:07.769 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:16 Wednesday 06 July 2022 12:24:05 +0000 (0:00:00.024) 0:02:07.794 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:20 Wednesday 06 July 2022 12:24:05 +0000 (0:00:00.023) 0:02:07.817 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:24 Wednesday 06 July 2022 12:24:05 +0000 (0:00:00.023) 0:02:07.841 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:30 Wednesday 06 July 2022 12:24:05 +0000 (0:00:00.023) 0:02:07.865 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:36 Wednesday 06 July 2022 12:24:05 +0000 (0:00:00.027) 0:02:07.892 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:44 Wednesday 06 July 2022 12:24:05 +0000 (0:00:00.025) 0:02:07.918 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:53 Wednesday 06 July 2022 12:24:05 +0000 (0:00:00.088) 0:02:08.006 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 12:24:05 +0000 (0:00:00.081) 0:02:08.087 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 12:24:06 +0000 (0:00:00.047) 0:02:08.135 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheading", "-o", "lv_name", "--select", "lv_name=lv1&&lv_layout=raid1", "vg1" ], "delta": "0:00:00.038633", "end": "2022-07-06 12:24:05.631824", "rc": 0, "start": "2022-07-06 12:24:05.593191" } STDOUT: lv1 TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 12:24:06 +0000 (0:00:00.461) 0:02:08.597 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 12:24:06 +0000 (0:00:00.056) 0:02:08.653 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lvmraid_status": null }, "changed": false } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:56 Wednesday 06 July 2022 12:24:06 +0000 (0:00:00.046) 0:02:08.699 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 12:24:06 +0000 (0:00:00.047) 0:02:08.747 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 12:24:06 +0000 (0:00:00.045) 0:02:08.793 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 12:24:06 +0000 (0:00:00.024) 0:02:08.817 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 12:24:06 +0000 (0:00:00.022) 0:02:08.840 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 12:24:06 +0000 (0:00:00.024) 0:02:08.864 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:59 Wednesday 06 July 2022 12:24:06 +0000 (0:00:00.025) 0:02:08.889 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 12:24:06 +0000 (0:00:00.059) 0:02:08.948 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 12:24:06 +0000 (0:00:00.059) 0:02:09.008 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=/dev/sda1) => { "_storage_test_pool_member_path": "/dev/sda1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=/dev/sdb1) => { "_storage_test_pool_member_path": "/dev/sdb1", "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/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 12:24:06 +0000 (0:00:00.032) 0:02:09.041 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/sda1) included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/sdb1) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 12:24:07 +0000 (0:00:00.055) 0:02:09.096 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:4 Wednesday 06 July 2022 12:24:07 +0000 (0:00:00.051) 0:02:09.148 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:9 Wednesday 06 July 2022 12:24:07 +0000 (0:00:00.051) 0:02:09.199 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:15 Wednesday 06 July 2022 12:24:07 +0000 (0:00:00.040) 0:02:09.240 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:21 Wednesday 06 July 2022 12:24:07 +0000 (0:00:00.038) 0:02:09.279 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:27 Wednesday 06 July 2022 12:24:07 +0000 (0:00:00.039) 0:02:09.318 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 12:24:07 +0000 (0:00:00.036) 0:02:09.354 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:4 Wednesday 06 July 2022 12:24:07 +0000 (0:00:00.053) 0:02:09.407 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:9 Wednesday 06 July 2022 12:24:07 +0000 (0:00:00.053) 0:02:09.462 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:15 Wednesday 06 July 2022 12:24:07 +0000 (0:00:00.039) 0:02:09.501 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:21 Wednesday 06 July 2022 12:24:07 +0000 (0:00:00.041) 0:02:09.543 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:27 Wednesday 06 July 2022 12:24:07 +0000 (0:00:00.036) 0:02:09.579 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 12:24:07 +0000 (0:00:00.085) 0:02:09.664 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:62 Wednesday 06 July 2022 12:24:07 +0000 (0:00:00.133) 0:02:09.797 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 12:24:07 +0000 (0:00:00.052) 0:02:09.850 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 12:24:07 +0000 (0:00:00.047) 0:02:09.897 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 12:24:07 +0000 (0:00:00.023) 0:02:09.921 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 12:24:07 +0000 (0:00:00.024) 0:02:09.945 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 12:24:07 +0000 (0:00:00.030) 0:02:09.976 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 12:24:07 +0000 (0:00:00.026) 0:02:10.002 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 12:24:07 +0000 (0:00:00.024) 0:02:10.027 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 12:24:07 +0000 (0:00:00.023) 0:02:10.051 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 12:24:07 +0000 (0:00:00.025) 0:02:10.076 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:65 Wednesday 06 July 2022 12:24:08 +0000 (0:00:00.034) 0:02:10.110 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 12:24:08 +0000 (0:00:00.037) 0:02:10.148 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 12:24:08 +0000 (0:00:00.047) 0:02:10.195 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 12:24:08 +0000 (0:00:00.049) 0:02:10.245 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 12:24:08 +0000 (0:00:00.083) 0:02:10.329 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 12:24:08 +0000 (0:00:00.041) 0:02:10.370 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 508813, "block_size": 4096, "block_total": 520704, "block_used": 11891, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 2084098048, "size_total": 2132803584, "uuid": "f37e06c8-467d-4456-8db7-50f5484d6e54" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 508813, "block_size": 4096, "block_total": 520704, "block_used": 11891, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 2084098048, "size_total": 2132803584, "uuid": "f37e06c8-467d-4456-8db7-50f5484d6e54" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 12:24:08 +0000 (0:00:00.055) 0:02:10.426 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 12:24:08 +0000 (0:00:00.049) 0:02:10.475 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 12:24:08 +0000 (0:00:00.049) 0:02:10.525 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 12:24:08 +0000 (0:00:00.051) 0:02:10.577 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 12:24:08 +0000 (0:00:00.024) 0:02:10.601 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 12:24:08 +0000 (0:00:00.023) 0:02:10.625 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 12:24:08 +0000 (0:00:00.023) 0:02:10.648 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 12:24:08 +0000 (0:00:00.035) 0:02:10.684 ******** ok: [/cache/fedora-35.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/vg1-lv1 " ], "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/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 12:24:08 +0000 (0:00:00.062) 0:02:10.746 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 12:24:08 +0000 (0:00:00.053) 0:02:10.800 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 12:24:08 +0000 (0:00:00.052) 0:02:10.852 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 12:24:08 +0000 (0:00:00.043) 0:02:10.896 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 12:24:08 +0000 (0:00:00.043) 0:02:10.939 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 12:24:08 +0000 (0:00:00.041) 0:02:10.981 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 12:24:08 +0000 (0:00:00.040) 0:02:11.022 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657110239.6887238, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657110238.0707238, "dev": 5, "device_type": 64772, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 602, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657110238.0707238, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "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/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 12:24:09 +0000 (0:00:00.462) 0:02:11.484 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 12:24:09 +0000 (0:00:00.041) 0:02:11.525 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 12:24:09 +0000 (0:00:00.040) 0:02:11.566 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 12:24:09 +0000 (0:00:00.040) 0:02:11.606 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 12:24:09 +0000 (0:00:00.027) 0:02:11.634 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 12:24:09 +0000 (0:00:00.040) 0:02:11.674 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 12:24:09 +0000 (0:00:00.025) 0:02:11.699 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 12:24:11 +0000 (0:00:01.944) 0:02:13.644 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 12:24:11 +0000 (0:00:00.027) 0:02:13.671 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 12:24:11 +0000 (0:00:00.025) 0:02:13.697 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 12:24:11 +0000 (0:00:00.054) 0:02:13.751 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 12:24:11 +0000 (0:00:00.027) 0:02:13.778 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 12:24:11 +0000 (0:00:00.023) 0:02:13.802 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 12:24:11 +0000 (0:00:00.025) 0:02:13.828 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 12:24:11 +0000 (0:00:00.026) 0:02:13.854 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 12:24:11 +0000 (0:00:00.027) 0:02:13.882 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 12:24:11 +0000 (0:00:00.054) 0:02:13.936 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 12:24:11 +0000 (0:00:00.050) 0:02:13.987 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 12:24:11 +0000 (0:00:00.042) 0:02:14.029 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 12:24:11 +0000 (0:00:00.036) 0:02:14.066 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 12:24:12 +0000 (0:00:00.037) 0:02:14.103 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 12:24:12 +0000 (0:00:00.043) 0:02:14.147 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 12:24:12 +0000 (0:00:00.039) 0:02:14.186 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 12:24:12 +0000 (0:00:00.040) 0:02:14.227 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 12:24:12 +0000 (0:00:00.040) 0:02:14.267 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 12:24:12 +0000 (0:00:00.042) 0:02:14.309 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 12:24:12 +0000 (0:00:00.039) 0:02:14.349 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 12:24:12 +0000 (0:00:00.037) 0:02:14.387 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 12:24:12 +0000 (0:00:00.038) 0:02:14.426 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 12:24:12 +0000 (0:00:00.439) 0:02:14.865 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 12:24:13 +0000 (0:00:00.403) 0:02:15.269 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 12:24:13 +0000 (0:00:00.049) 0:02:15.319 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 12:24:13 +0000 (0:00:00.034) 0:02:15.354 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 12:24:13 +0000 (0:00:00.037) 0:02:15.391 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 12:24:13 +0000 (0:00:00.040) 0:02:15.432 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 12:24:13 +0000 (0:00:00.045) 0:02:15.477 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 12:24:13 +0000 (0:00:00.038) 0:02:15.516 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 12:24:13 +0000 (0:00:00.041) 0:02:15.557 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 12:24:13 +0000 (0:00:00.043) 0:02:15.601 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 12:24:13 +0000 (0:00:00.040) 0:02:15.641 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 12:24:13 +0000 (0:00:00.059) 0:02:15.700 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.039060", "end": "2022-07-06 12:24:13.180802", "rc": 0, "start": "2022-07-06 12:24:13.141742" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=rwi-aor--- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=raid1 TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 12:24:14 +0000 (0:00:00.442) 0:02:16.143 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "raid1" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 12:24:14 +0000 (0:00:00.056) 0:02:16.200 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 12:24:14 +0000 (0:00:00.062) 0:02:16.262 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 12:24:14 +0000 (0:00:00.044) 0:02:16.307 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 12:24:14 +0000 (0:00:00.037) 0:02:16.344 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 12:24:14 +0000 (0:00:00.037) 0:02:16.381 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 12:24:14 +0000 (0:00:00.037) 0:02:16.419 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 12:24:14 +0000 (0:00:00.036) 0:02:16.455 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:47 Wednesday 06 July 2022 12:24:14 +0000 (0:00:00.034) 0:02:16.489 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 12:24:14 +0000 (0:00:00.022) 0:02:16.512 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmpus9dv81c/tests/storage/tests_create_raid_pool_then_remove.yml:118 Wednesday 06 July 2022 12:24:14 +0000 (0:00:00.034) 0:02:16.547 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 12:24:14 +0000 (0:00:00.070) 0:02:16.618 ******** included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 12:24:14 +0000 (0:00:00.086) 0:02:16.705 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 12:24:15 +0000 (0:00:00.561) 0:02:17.266 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 12:24:15 +0000 (0:00:00.067) 0:02:17.334 ******** ok: [/cache/fedora-35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 12:24:15 +0000 (0:00:00.037) 0:02:17.372 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 12:24:15 +0000 (0:00:00.034) 0:02:17.406 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 12:24:15 +0000 (0:00:00.060) 0:02:17.467 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 12:24:15 +0000 (0:00:00.024) 0:02:17.491 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 12:24:15 +0000 (0:00:00.031) 0:02:17.523 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "size": "2g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 12:24:15 +0000 (0:00:00.042) 0:02:17.565 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 12:24:15 +0000 (0:00:00.040) 0:02:17.606 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 12:24:15 +0000 (0:00:00.031) 0:02:17.638 ******** skipping: [/cache/fedora-35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 12:24:15 +0000 (0:00:00.031) 0:02:17.669 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 12:24:15 +0000 (0:00:00.029) 0:02:17.698 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 12:24:15 +0000 (0:00:00.030) 0:02:17.729 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 12:24:15 +0000 (0:00:00.061) 0:02:17.790 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 12:24:15 +0000 (0:00:00.023) 0:02:17.814 ******** changed: [/cache/fedora-35.qcow2.snap] => { "actions": [ { "action": "resize device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/vg1-lv1", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "lvm2", "e2fsprogs", "btrfs-progs", "dosfstools", "xfsprogs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 12:24:19 +0000 (0:00:03.664) 0:02:21.478 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 12:24:19 +0000 (0:00:00.041) 0:02:21.521 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 12:24:19 +0000 (0:00:00.023) 0:02:21.545 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "resize device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/vg1-lv1", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "lvm2", "e2fsprogs", "btrfs-progs", "dosfstools", "xfsprogs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 12:24:19 +0000 (0:00:00.114) 0:02:21.659 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 12:24:19 +0000 (0:00:00.083) 0:02:21.742 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 12:24:19 +0000 (0:00:00.089) 0:02:21.831 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 12:24:19 +0000 (0:00:00.041) 0:02:21.873 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 12:24:20 +0000 (0:00:00.816) 0:02:22.689 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv1', '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/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 12:24:21 +0000 (0:00:00.603) 0:02:23.293 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 12:24:22 +0000 (0:00:00.818) 0:02:24.111 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 12:24:22 +0000 (0:00:00.417) 0:02:24.529 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 12:24:22 +0000 (0:00:00.027) 0:02:24.556 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_create_raid_pool_then_remove.yml:134 Wednesday 06 July 2022 12:24:23 +0000 (0:00:00.948) 0:02:25.505 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:1 Wednesday 06 July 2022 12:24:23 +0000 (0:00:00.055) 0:02:25.560 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmpus9dv81c/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 12:24:23 +0000 (0:00:00.120) 0:02:25.681 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 12:24:23 +0000 (0:00:00.037) 0:02:25.719 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "f37e06c8-467d-4456-8db7-50f5484d6e54" }, "/dev/mapper/vg1-lv1_rimage_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_0", "size": "2G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rimage_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_1", "size": "2G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rmeta_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rmeta_0", "size": "4M", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rmeta_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rmeta_1", "size": "4M", "type": "lvm", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "lKrUvh-47Fp-DabT-gWAJ-guFT-65Xn-mwMGft" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "z0mjmL-gb24-Q6OE-d9yG-iJgK-wBDP-c99FOz" }, "/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-06-12-21-45-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/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": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/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": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/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": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:19 Wednesday 06 July 2022 12:24:24 +0000 (0:00:00.488) 0:02:26.207 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002890", "end": "2022-07-06 12:24:23.634871", "rc": 0, "start": "2022-07-06 12:24:23.631981" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:24 Wednesday 06 July 2022 12:24:24 +0000 (0:00:00.390) 0:02:26.597 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003410", "end": "2022-07-06 12:24:24.050293", "failed_when_result": false, "rc": 0, "start": "2022-07-06 12:24:24.046883" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:33 Wednesday 06 July 2022 12:24:24 +0000 (0:00:00.414) 0:02:27.012 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', '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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:5 Wednesday 06 July 2022 12:24:24 +0000 (0:00:00.064) 0:02:27.076 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:18 Wednesday 06 July 2022 12:24:25 +0000 (0:00:00.035) 0:02:27.111 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:1 Wednesday 06 July 2022 12:24:25 +0000 (0:00:00.051) 0:02:27.162 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "2", "_storage_test_pool_pvs_lvm": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:6 Wednesday 06 July 2022 12:24:25 +0000 (0:00:00.055) 0:02:27.218 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda1", "pv": "/dev/sda1" } ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sdb1", "pv": "/dev/sdb1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:15 Wednesday 06 July 2022 12:24:25 +0000 (0:00:00.755) 0:02:27.974 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "2" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:19 Wednesday 06 July 2022 12:24:25 +0000 (0:00:00.050) 0:02:28.025 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:23 Wednesday 06 July 2022 12:24:25 +0000 (0:00:00.051) 0:02:28.076 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:29 Wednesday 06 July 2022 12:24:26 +0000 (0:00:00.054) 0:02:28.131 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:33 Wednesday 06 July 2022 12:24:26 +0000 (0:00:00.040) 0:02:28.172 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:37 Wednesday 06 July 2022 12:24:26 +0000 (0:00:00.056) 0:02:28.228 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:41 Wednesday 06 July 2022 12:24:26 +0000 (0:00:00.026) 0:02:28.254 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda1" } MSG: All assertions passed ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sdb1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:50 Wednesday 06 July 2022 12:24:26 +0000 (0:00:00.097) 0:02:28.352 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:6 Wednesday 06 July 2022 12:24:26 +0000 (0:00:00.046) 0:02:28.399 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:12 Wednesday 06 July 2022 12:24:26 +0000 (0:00:00.027) 0:02:28.426 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:16 Wednesday 06 July 2022 12:24:26 +0000 (0:00:00.026) 0:02:28.452 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:20 Wednesday 06 July 2022 12:24:26 +0000 (0:00:00.026) 0:02:28.479 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:24 Wednesday 06 July 2022 12:24:26 +0000 (0:00:00.025) 0:02:28.505 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:30 Wednesday 06 July 2022 12:24:26 +0000 (0:00:00.026) 0:02:28.531 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:36 Wednesday 06 July 2022 12:24:26 +0000 (0:00:00.034) 0:02:28.565 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:44 Wednesday 06 July 2022 12:24:26 +0000 (0:00:00.071) 0:02:28.637 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:53 Wednesday 06 July 2022 12:24:26 +0000 (0:00:00.035) 0:02:28.672 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 12:24:26 +0000 (0:00:00.046) 0:02:28.718 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 12:24:26 +0000 (0:00:00.047) 0:02:28.766 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheading", "-o", "lv_name", "--select", "lv_name=lv1&&lv_layout=raid1", "vg1" ], "delta": "0:00:00.037867", "end": "2022-07-06 12:24:26.245866", "rc": 0, "start": "2022-07-06 12:24:26.207999" } STDOUT: lv1 TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 12:24:27 +0000 (0:00:00.444) 0:02:29.211 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 12:24:27 +0000 (0:00:00.055) 0:02:29.266 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lvmraid_status": null }, "changed": false } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:56 Wednesday 06 July 2022 12:24:27 +0000 (0:00:00.056) 0:02:29.323 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 12:24:27 +0000 (0:00:00.047) 0:02:29.371 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 12:24:27 +0000 (0:00:00.048) 0:02:29.419 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 12:24:27 +0000 (0:00:00.026) 0:02:29.446 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 12:24:27 +0000 (0:00:00.027) 0:02:29.474 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 12:24:27 +0000 (0:00:00.027) 0:02:29.501 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:59 Wednesday 06 July 2022 12:24:27 +0000 (0:00:00.030) 0:02:29.532 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 12:24:27 +0000 (0:00:00.054) 0:02:29.586 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 12:24:27 +0000 (0:00:00.055) 0:02:29.642 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=/dev/sda1) => { "_storage_test_pool_member_path": "/dev/sda1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=/dev/sdb1) => { "_storage_test_pool_member_path": "/dev/sdb1", "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/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 12:24:27 +0000 (0:00:00.033) 0:02:29.676 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/sda1) included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/sdb1) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 12:24:27 +0000 (0:00:00.050) 0:02:29.726 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:4 Wednesday 06 July 2022 12:24:27 +0000 (0:00:00.049) 0:02:29.776 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:9 Wednesday 06 July 2022 12:24:27 +0000 (0:00:00.050) 0:02:29.826 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:15 Wednesday 06 July 2022 12:24:27 +0000 (0:00:00.044) 0:02:29.871 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:21 Wednesday 06 July 2022 12:24:27 +0000 (0:00:00.039) 0:02:29.910 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:27 Wednesday 06 July 2022 12:24:27 +0000 (0:00:00.036) 0:02:29.947 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 12:24:27 +0000 (0:00:00.037) 0:02:29.985 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:4 Wednesday 06 July 2022 12:24:27 +0000 (0:00:00.050) 0:02:30.036 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:9 Wednesday 06 July 2022 12:24:27 +0000 (0:00:00.049) 0:02:30.085 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:15 Wednesday 06 July 2022 12:24:28 +0000 (0:00:00.037) 0:02:30.123 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:21 Wednesday 06 July 2022 12:24:28 +0000 (0:00:00.036) 0:02:30.160 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:27 Wednesday 06 July 2022 12:24:28 +0000 (0:00:00.040) 0:02:30.200 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 12:24:28 +0000 (0:00:00.072) 0:02:30.272 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:62 Wednesday 06 July 2022 12:24:28 +0000 (0:00:00.036) 0:02:30.309 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 12:24:28 +0000 (0:00:00.048) 0:02:30.358 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 12:24:28 +0000 (0:00:00.049) 0:02:30.407 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 12:24:28 +0000 (0:00:00.027) 0:02:30.435 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 12:24:28 +0000 (0:00:00.026) 0:02:30.461 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 12:24:28 +0000 (0:00:00.024) 0:02:30.486 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 12:24:28 +0000 (0:00:00.027) 0:02:30.513 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 12:24:28 +0000 (0:00:00.025) 0:02:30.539 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 12:24:28 +0000 (0:00:00.023) 0:02:30.563 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 12:24:28 +0000 (0:00:00.026) 0:02:30.589 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:65 Wednesday 06 July 2022 12:24:28 +0000 (0:00:00.038) 0:02:30.628 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 12:24:28 +0000 (0:00:00.037) 0:02:30.666 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 12:24:28 +0000 (0:00:00.044) 0:02:30.710 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 12:24:28 +0000 (0:00:00.049) 0:02:30.759 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 12:24:28 +0000 (0:00:00.091) 0:02:30.851 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 12:24:28 +0000 (0:00:00.044) 0:02:30.895 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 509814, "block_size": 4096, "block_total": 521728, "block_used": 11914, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048573, "inode_total": 1048576, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 2088198144, "size_total": 2136997888, "uuid": "f37e06c8-467d-4456-8db7-50f5484d6e54" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 509814, "block_size": 4096, "block_total": 521728, "block_used": 11914, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048573, "inode_total": 1048576, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 2088198144, "size_total": 2136997888, "uuid": "f37e06c8-467d-4456-8db7-50f5484d6e54" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 12:24:28 +0000 (0:00:00.060) 0:02:30.955 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 12:24:28 +0000 (0:00:00.057) 0:02:31.012 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 12:24:28 +0000 (0:00:00.052) 0:02:31.065 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 12:24:29 +0000 (0:00:00.054) 0:02:31.120 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 12:24:29 +0000 (0:00:00.026) 0:02:31.147 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 12:24:29 +0000 (0:00:00.027) 0:02:31.174 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 12:24:29 +0000 (0:00:00.026) 0:02:31.201 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 12:24:29 +0000 (0:00:00.037) 0:02:31.238 ******** ok: [/cache/fedora-35.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/vg1-lv1 " ], "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/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 12:24:29 +0000 (0:00:00.067) 0:02:31.306 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 12:24:29 +0000 (0:00:00.053) 0:02:31.360 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 12:24:29 +0000 (0:00:00.053) 0:02:31.413 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 12:24:29 +0000 (0:00:00.041) 0:02:31.455 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 12:24:29 +0000 (0:00:00.037) 0:02:31.492 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 12:24:29 +0000 (0:00:00.087) 0:02:31.580 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 12:24:29 +0000 (0:00:00.124) 0:02:31.704 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657110260.2387238, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657110258.443724, "dev": 5, "device_type": 64772, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 602, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657110258.443724, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "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/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 12:24:30 +0000 (0:00:00.390) 0:02:32.095 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 12:24:30 +0000 (0:00:00.041) 0:02:32.137 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 12:24:30 +0000 (0:00:00.041) 0:02:32.179 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 12:24:30 +0000 (0:00:00.039) 0:02:32.218 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 12:24:30 +0000 (0:00:00.027) 0:02:32.246 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 12:24:30 +0000 (0:00:00.043) 0:02:32.289 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 12:24:30 +0000 (0:00:00.028) 0:02:32.318 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 12:24:32 +0000 (0:00:02.026) 0:02:34.345 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 12:24:32 +0000 (0:00:00.024) 0:02:34.369 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 12:24:32 +0000 (0:00:00.022) 0:02:34.392 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 12:24:32 +0000 (0:00:00.050) 0:02:34.443 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 12:24:32 +0000 (0:00:00.037) 0:02:34.480 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 12:24:32 +0000 (0:00:00.038) 0:02:34.519 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 12:24:32 +0000 (0:00:00.029) 0:02:34.549 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 12:24:32 +0000 (0:00:00.029) 0:02:34.578 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 12:24:32 +0000 (0:00:00.028) 0:02:34.607 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 12:24:32 +0000 (0:00:00.053) 0:02:34.660 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 12:24:32 +0000 (0:00:00.051) 0:02:34.711 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 12:24:32 +0000 (0:00:00.039) 0:02:34.750 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 12:24:32 +0000 (0:00:00.041) 0:02:34.792 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 12:24:32 +0000 (0:00:00.039) 0:02:34.831 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 12:24:32 +0000 (0:00:00.035) 0:02:34.867 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 12:24:32 +0000 (0:00:00.039) 0:02:34.907 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 12:24:32 +0000 (0:00:00.035) 0:02:34.942 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 12:24:32 +0000 (0:00:00.037) 0:02:34.979 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 12:24:32 +0000 (0:00:00.038) 0:02:35.018 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 12:24:32 +0000 (0:00:00.042) 0:02:35.060 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 12:24:33 +0000 (0:00:00.053) 0:02:35.114 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 12:24:33 +0000 (0:00:00.037) 0:02:35.151 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 12:24:33 +0000 (0:00:00.411) 0:02:35.563 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 12:24:33 +0000 (0:00:00.443) 0:02:36.006 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 12:24:34 +0000 (0:00:00.093) 0:02:36.100 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 12:24:34 +0000 (0:00:00.074) 0:02:36.174 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 12:24:34 +0000 (0:00:00.085) 0:02:36.260 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 12:24:34 +0000 (0:00:00.042) 0:02:36.303 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 12:24:34 +0000 (0:00:00.037) 0:02:36.340 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 12:24:34 +0000 (0:00:00.036) 0:02:36.377 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 12:24:34 +0000 (0:00:00.045) 0:02:36.422 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 12:24:34 +0000 (0:00:00.038) 0:02:36.461 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 12:24:34 +0000 (0:00:00.041) 0:02:36.503 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 12:24:34 +0000 (0:00:00.061) 0:02:36.564 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.039361", "end": "2022-07-06 12:24:34.060127", "rc": 0, "start": "2022-07-06 12:24:34.020766" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=rwi-aor--- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=raid1 TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 12:24:34 +0000 (0:00:00.466) 0:02:37.030 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "raid1" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 12:24:34 +0000 (0:00:00.056) 0:02:37.086 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 12:24:35 +0000 (0:00:00.059) 0:02:37.146 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 12:24:35 +0000 (0:00:00.043) 0:02:37.189 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 12:24:35 +0000 (0:00:00.044) 0:02:37.234 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 12:24:35 +0000 (0:00:00.041) 0:02:37.275 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 12:24:35 +0000 (0:00:00.040) 0:02:37.316 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 12:24:35 +0000 (0:00:00.036) 0:02:37.353 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:47 Wednesday 06 July 2022 12:24:35 +0000 (0:00:00.033) 0:02:37.387 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 12:24:35 +0000 (0:00:00.022) 0:02:37.409 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Remove the device created above] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_create_raid_pool_then_remove.yml:136 Wednesday 06 July 2022 12:24:35 +0000 (0:00:00.037) 0:02:37.446 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 12:24:35 +0000 (0:00:00.079) 0:02:37.526 ******** included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 12:24:35 +0000 (0:00:00.039) 0:02:37.566 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 12:24:36 +0000 (0:00:00.550) 0:02:38.116 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 12:24:36 +0000 (0:00:00.108) 0:02:38.224 ******** ok: [/cache/fedora-35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 12:24:36 +0000 (0:00:00.091) 0:02:38.315 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 12:24:36 +0000 (0:00:00.040) 0:02:38.356 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 12:24:36 +0000 (0:00:00.058) 0:02:38.414 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 12:24:36 +0000 (0:00:00.024) 0:02:38.438 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 12:24:36 +0000 (0:00:00.029) 0:02:38.468 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "state": "absent", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "size": "2g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 12:24:36 +0000 (0:00:00.046) 0:02:38.515 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 12:24:36 +0000 (0:00:00.039) 0:02:38.555 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 12:24:36 +0000 (0:00:00.030) 0:02:38.585 ******** skipping: [/cache/fedora-35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 12:24:36 +0000 (0:00:00.029) 0:02:38.615 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 12:24:36 +0000 (0:00:00.036) 0:02:38.651 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 12:24:36 +0000 (0:00:00.029) 0:02:38.680 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 12:24:36 +0000 (0:00:00.058) 0:02:38.739 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 12:24:36 +0000 (0:00:00.023) 0:02:38.762 ******** changed: [/cache/fedora-35.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "dosfstools", "btrfs-progs", "e2fsprogs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 12:24:40 +0000 (0:00:03.847) 0:02:42.609 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 12:24:40 +0000 (0:00:00.041) 0:02:42.650 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 12:24:40 +0000 (0:00:00.024) 0:02:42.675 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "dosfstools", "btrfs-progs", "e2fsprogs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 12:24:40 +0000 (0:00:00.044) 0:02:42.720 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 12:24:40 +0000 (0:00:00.040) 0:02:42.760 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 12:24:40 +0000 (0:00:00.040) 0:02:42.800 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 12:24:41 +0000 (0:00:00.453) 0:02:43.254 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 12:24:41 +0000 (0:00:00.720) 0:02:43.975 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 12:24:41 +0000 (0:00:00.039) 0:02:44.014 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 12:24:42 +0000 (0:00:00.771) 0:02:44.785 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 12:24:43 +0000 (0:00:00.436) 0:02:45.222 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 12:24:43 +0000 (0:00:00.026) 0:02:45.248 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_create_raid_pool_then_remove.yml:152 Wednesday 06 July 2022 12:24:44 +0000 (0:00:00.944) 0:02:46.192 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:1 Wednesday 06 July 2022 12:24:44 +0000 (0:00:00.056) 0:02:46.249 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmpus9dv81c/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 12:24:44 +0000 (0:00:00.064) 0:02:46.313 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 12:24:44 +0000 (0:00:00.040) 0:02:46.353 ******** ok: [/cache/fedora-35.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-06-12-21-45-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/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": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/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": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/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": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:19 Wednesday 06 July 2022 12:24:44 +0000 (0:00:00.402) 0:02:46.755 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003525", "end": "2022-07-06 12:24:44.196344", "rc": 0, "start": "2022-07-06 12:24:44.192819" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:24 Wednesday 06 July 2022 12:24:45 +0000 (0:00:00.407) 0:02:47.163 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002900", "end": "2022-07-06 12:24:44.592934", "failed_when_result": false, "rc": 0, "start": "2022-07-06 12:24:44.590034" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:33 Wednesday 06 July 2022 12:24:45 +0000 (0:00:00.393) 0:02:47.557 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', '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': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:5 Wednesday 06 July 2022 12:24:45 +0000 (0:00:00.061) 0:02:47.618 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:18 Wednesday 06 July 2022 12:24:45 +0000 (0:00:00.036) 0:02:47.655 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:1 Wednesday 06 July 2022 12:24:45 +0000 (0:00:00.045) 0:02:47.701 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:6 Wednesday 06 July 2022 12:24:45 +0000 (0:00:00.053) 0:02:47.754 ******** TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:15 Wednesday 06 July 2022 12:24:45 +0000 (0:00:00.020) 0:02:47.775 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:19 Wednesday 06 July 2022 12:24:45 +0000 (0:00:00.084) 0:02:47.859 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:23 Wednesday 06 July 2022 12:24:45 +0000 (0:00:00.087) 0:02:47.947 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:29 Wednesday 06 July 2022 12:24:45 +0000 (0:00:00.097) 0:02:48.045 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:33 Wednesday 06 July 2022 12:24:46 +0000 (0:00:00.079) 0:02:48.124 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:37 Wednesday 06 July 2022 12:24:46 +0000 (0:00:00.087) 0:02:48.211 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:41 Wednesday 06 July 2022 12:24:46 +0000 (0:00:00.027) 0:02:48.239 ******** TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:50 Wednesday 06 July 2022 12:24:46 +0000 (0:00:00.023) 0:02:48.263 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:6 Wednesday 06 July 2022 12:24:46 +0000 (0:00:00.046) 0:02:48.309 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:12 Wednesday 06 July 2022 12:24:46 +0000 (0:00:00.026) 0:02:48.336 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:16 Wednesday 06 July 2022 12:24:46 +0000 (0:00:00.026) 0:02:48.362 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:20 Wednesday 06 July 2022 12:24:46 +0000 (0:00:00.026) 0:02:48.389 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:24 Wednesday 06 July 2022 12:24:46 +0000 (0:00:00.028) 0:02:48.417 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:30 Wednesday 06 July 2022 12:24:46 +0000 (0:00:00.026) 0:02:48.444 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:36 Wednesday 06 July 2022 12:24:46 +0000 (0:00:00.024) 0:02:48.468 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:44 Wednesday 06 July 2022 12:24:46 +0000 (0:00:00.024) 0:02:48.493 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:53 Wednesday 06 July 2022 12:24:46 +0000 (0:00:00.032) 0:02:48.526 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 12:24:46 +0000 (0:00:00.045) 0:02:48.571 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 12:24:46 +0000 (0:00:00.044) 0:02:48.616 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 12:24:46 +0000 (0:00:00.029) 0:02:48.645 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 12:24:46 +0000 (0:00:00.027) 0:02:48.672 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:56 Wednesday 06 July 2022 12:24:46 +0000 (0:00:00.029) 0:02:48.702 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 12:24:46 +0000 (0:00:00.043) 0:02:48.746 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 12:24:46 +0000 (0:00:00.044) 0:02:48.791 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 12:24:46 +0000 (0:00:00.023) 0:02:48.814 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 12:24:46 +0000 (0:00:00.024) 0:02:48.839 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 12:24:46 +0000 (0:00:00.024) 0:02:48.863 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:59 Wednesday 06 July 2022 12:24:46 +0000 (0:00:00.028) 0:02:48.892 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 12:24:46 +0000 (0:00:00.047) 0:02:48.939 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 12:24:46 +0000 (0:00:00.051) 0:02:48.991 ******** TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 12:24:46 +0000 (0:00:00.023) 0:02:49.014 ******** TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 12:24:46 +0000 (0:00:00.022) 0:02:49.037 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:62 Wednesday 06 July 2022 12:24:46 +0000 (0:00:00.037) 0:02:49.075 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 12:24:47 +0000 (0:00:00.051) 0:02:49.126 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 12:24:47 +0000 (0:00:00.046) 0:02:49.173 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 12:24:47 +0000 (0:00:00.027) 0:02:49.200 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 12:24:47 +0000 (0:00:00.026) 0:02:49.226 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 12:24:47 +0000 (0:00:00.026) 0:02:49.253 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 12:24:47 +0000 (0:00:00.026) 0:02:49.279 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 12:24:47 +0000 (0:00:00.072) 0:02:49.352 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 12:24:47 +0000 (0:00:00.026) 0:02:49.378 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 12:24:47 +0000 (0:00:00.024) 0:02:49.403 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:65 Wednesday 06 July 2022 12:24:47 +0000 (0:00:00.034) 0:02:49.437 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 12:24:47 +0000 (0:00:00.037) 0:02:49.474 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 12:24:47 +0000 (0:00:00.044) 0:02:49.519 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 12:24:47 +0000 (0:00:00.056) 0:02:49.576 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 12:24:47 +0000 (0:00:00.084) 0:02:49.661 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 12:24:47 +0000 (0:00:00.043) 0:02:49.704 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 12:24:47 +0000 (0:00:00.059) 0:02:49.764 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 12:24:47 +0000 (0:00:00.025) 0:02:49.789 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 12:24:47 +0000 (0:00:00.055) 0:02:49.845 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 12:24:47 +0000 (0:00:00.039) 0:02:49.884 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 12:24:47 +0000 (0:00:00.024) 0:02:49.908 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 12:24:47 +0000 (0:00:00.023) 0:02:49.932 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 12:24:47 +0000 (0:00:00.026) 0:02:49.958 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 12:24:47 +0000 (0:00:00.033) 0:02:49.991 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 12:24:47 +0000 (0:00:00.064) 0:02:50.056 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 12:24:47 +0000 (0:00:00.025) 0:02:50.081 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 12:24:48 +0000 (0:00:00.051) 0:02:50.132 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 12:24:48 +0000 (0:00:00.040) 0:02:50.173 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 12:24:48 +0000 (0:00:00.035) 0:02:50.209 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 12:24:48 +0000 (0:00:00.024) 0:02:50.233 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 12:24:48 +0000 (0:00:00.023) 0:02:50.257 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 12:24:48 +0000 (0:00:00.402) 0:02:50.660 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 12:24:48 +0000 (0:00:00.039) 0:02:50.699 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 12:24:48 +0000 (0:00:00.024) 0:02:50.724 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 12:24:48 +0000 (0:00:00.035) 0:02:50.759 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 12:24:48 +0000 (0:00:00.023) 0:02:50.782 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 12:24:48 +0000 (0:00:00.023) 0:02:50.806 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 12:24:48 +0000 (0:00:00.023) 0:02:50.830 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 12:24:50 +0000 (0:00:02.015) 0:02:52.846 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 12:24:50 +0000 (0:00:00.024) 0:02:52.871 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 12:24:50 +0000 (0:00:00.023) 0:02:52.894 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 12:24:50 +0000 (0:00:00.022) 0:02:52.917 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 12:24:50 +0000 (0:00:00.023) 0:02:52.940 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 12:24:50 +0000 (0:00:00.024) 0:02:52.965 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 12:24:50 +0000 (0:00:00.024) 0:02:52.989 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 12:24:50 +0000 (0:00:00.026) 0:02:53.015 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 12:24:50 +0000 (0:00:00.025) 0:02:53.040 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 12:24:51 +0000 (0:00:00.055) 0:02:53.096 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 12:24:51 +0000 (0:00:00.049) 0:02:53.145 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 12:24:51 +0000 (0:00:00.035) 0:02:53.181 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 12:24:51 +0000 (0:00:00.034) 0:02:53.216 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 12:24:51 +0000 (0:00:00.039) 0:02:53.255 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 12:24:51 +0000 (0:00:00.034) 0:02:53.289 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 12:24:51 +0000 (0:00:00.044) 0:02:53.333 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 12:24:51 +0000 (0:00:00.039) 0:02:53.373 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 12:24:51 +0000 (0:00:00.041) 0:02:53.414 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 12:24:51 +0000 (0:00:00.040) 0:02:53.455 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 12:24:51 +0000 (0:00:00.036) 0:02:53.492 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 12:24:51 +0000 (0:00:00.036) 0:02:53.528 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 12:24:51 +0000 (0:00:00.041) 0:02:53.570 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 12:24:51 +0000 (0:00:00.025) 0:02:53.595 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 12:24:51 +0000 (0:00:00.037) 0:02:53.633 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 12:24:51 +0000 (0:00:00.037) 0:02:53.670 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 12:24:51 +0000 (0:00:00.038) 0:02:53.709 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 12:24:51 +0000 (0:00:00.036) 0:02:53.746 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 12:24:51 +0000 (0:00:00.037) 0:02:53.783 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 12:24:51 +0000 (0:00:00.036) 0:02:53.819 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 12:24:51 +0000 (0:00:00.040) 0:02:53.859 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 12:24:51 +0000 (0:00:00.037) 0:02:53.897 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 12:24:51 +0000 (0:00:00.037) 0:02:53.935 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 12:24:51 +0000 (0:00:00.037) 0:02:53.973 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 12:24:51 +0000 (0:00:00.028) 0:02:54.001 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 12:24:51 +0000 (0:00:00.024) 0:02:54.026 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 12:24:51 +0000 (0:00:00.023) 0:02:54.049 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 12:24:51 +0000 (0:00:00.023) 0:02:54.072 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 12:24:52 +0000 (0:00:00.025) 0:02:54.098 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 12:24:52 +0000 (0:00:00.024) 0:02:54.122 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 12:24:52 +0000 (0:00:00.024) 0:02:54.146 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 12:24:52 +0000 (0:00:00.026) 0:02:54.173 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 12:24:52 +0000 (0:00:00.047) 0:02:54.220 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:47 Wednesday 06 July 2022 12:24:52 +0000 (0:00:00.036) 0:02:54.257 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 12:24:52 +0000 (0:00:00.022) 0:02:54.280 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Create a RAID0 lvm raid device] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_create_raid_pool_then_remove.yml:154 Wednesday 06 July 2022 12:24:52 +0000 (0:00:00.075) 0:02:54.355 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 12:24:52 +0000 (0:00:00.115) 0:02:54.471 ******** included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 12:24:52 +0000 (0:00:00.040) 0:02:54.511 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 12:24:52 +0000 (0:00:00.576) 0:02:55.087 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 12:24:53 +0000 (0:00:00.066) 0:02:55.153 ******** ok: [/cache/fedora-35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 12:24:53 +0000 (0:00:00.037) 0:02:55.191 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 12:24:53 +0000 (0:00:00.036) 0:02:55.227 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 12:24:53 +0000 (0:00:00.056) 0:02:55.284 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 12:24:53 +0000 (0:00:00.021) 0:02:55.305 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 12:24:53 +0000 (0:00:00.028) 0:02:55.334 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "size": "2g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 12:24:53 +0000 (0:00:00.041) 0:02:55.375 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 12:24:53 +0000 (0:00:00.037) 0:02:55.412 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 12:24:53 +0000 (0:00:00.028) 0:02:55.441 ******** skipping: [/cache/fedora-35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 12:24:53 +0000 (0:00:00.028) 0:02:55.469 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 12:24:53 +0000 (0:00:00.031) 0:02:55.501 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 12:24:53 +0000 (0:00:00.028) 0:02:55.529 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 12:24:53 +0000 (0:00:00.060) 0:02:55.590 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 12:24:53 +0000 (0:00:00.023) 0:02:55.614 ******** changed: [/cache/fedora-35.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/mapper/vg1-lv1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "e2fsprogs", "btrfs-progs", "dosfstools", "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "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": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 12:24:56 +0000 (0:00:03.357) 0:02:58.972 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 12:24:56 +0000 (0:00:00.039) 0:02:59.011 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 12:24:56 +0000 (0:00:00.024) 0:02:59.036 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/mapper/vg1-lv1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "e2fsprogs", "btrfs-progs", "dosfstools", "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "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": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 12:24:56 +0000 (0:00:00.043) 0:02:59.079 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "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": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 12:24:57 +0000 (0:00:00.042) 0:02:59.121 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 12:24:57 +0000 (0:00:00.039) 0:02:59.161 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 12:24:57 +0000 (0:00:00.039) 0:02:59.201 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 12:24:57 +0000 (0:00:00.746) 0:02:59.948 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv1', '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/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 12:24:58 +0000 (0:00:00.503) 0:03:00.451 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 12:24:59 +0000 (0:00:00.723) 0:03:01.175 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 12:24:59 +0000 (0:00:00.447) 0:03:01.622 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 12:24:59 +0000 (0:00:00.025) 0:03:01.648 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_create_raid_pool_then_remove.yml:170 Wednesday 06 July 2022 12:25:00 +0000 (0:00:00.939) 0:03:02.587 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:1 Wednesday 06 July 2022 12:25:00 +0000 (0:00:00.061) 0:03:02.649 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "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": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmpus9dv81c/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 12:25:00 +0000 (0:00:00.057) 0:03:02.706 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 12:25:00 +0000 (0:00:00.038) 0:03:02.745 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "82052a97-b595-45aa-9d5b-c239f1ee5abc" }, "/dev/mapper/vg1-lv1_rimage_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_0", "size": "1G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rimage_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_1", "size": "1G", "type": "lvm", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "hggUxX-YX6v-LzGB-28KG-zw58-eN0j-o9j6OA" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "ma5v09-aBXo-pUDt-Mcw7-iXe8-cuur-UBGwdH" }, "/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-06-12-21-45-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/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": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/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": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/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": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:19 Wednesday 06 July 2022 12:25:01 +0000 (0:00:00.427) 0:03:03.172 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003120", "end": "2022-07-06 12:25:00.619869", "rc": 0, "start": "2022-07-06 12:25:00.616749" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:24 Wednesday 06 July 2022 12:25:01 +0000 (0:00:00.413) 0:03:03.585 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002926", "end": "2022-07-06 12:25:01.012707", "failed_when_result": false, "rc": 0, "start": "2022-07-06 12:25:01.009781" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:33 Wednesday 06 July 2022 12:25:01 +0000 (0:00:00.391) 0:03:03.977 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', '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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:5 Wednesday 06 July 2022 12:25:01 +0000 (0:00:00.059) 0:03:04.036 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:18 Wednesday 06 July 2022 12:25:02 +0000 (0:00:00.071) 0:03:04.108 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:1 Wednesday 06 July 2022 12:25:02 +0000 (0:00:00.087) 0:03:04.196 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "2", "_storage_test_pool_pvs_lvm": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:6 Wednesday 06 July 2022 12:25:02 +0000 (0:00:00.061) 0:03:04.257 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda1", "pv": "/dev/sda1" } ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sdb1", "pv": "/dev/sdb1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:15 Wednesday 06 July 2022 12:25:02 +0000 (0:00:00.791) 0:03:05.049 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "2" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:19 Wednesday 06 July 2022 12:25:03 +0000 (0:00:00.053) 0:03:05.102 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:23 Wednesday 06 July 2022 12:25:03 +0000 (0:00:00.055) 0:03:05.158 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:29 Wednesday 06 July 2022 12:25:03 +0000 (0:00:00.055) 0:03:05.213 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:33 Wednesday 06 July 2022 12:25:03 +0000 (0:00:00.044) 0:03:05.258 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:37 Wednesday 06 July 2022 12:25:03 +0000 (0:00:00.051) 0:03:05.309 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:41 Wednesday 06 July 2022 12:25:03 +0000 (0:00:00.024) 0:03:05.333 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda1" } MSG: All assertions passed ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sdb1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:50 Wednesday 06 July 2022 12:25:03 +0000 (0:00:00.058) 0:03:05.392 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:6 Wednesday 06 July 2022 12:25:03 +0000 (0:00:00.045) 0:03:05.438 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:12 Wednesday 06 July 2022 12:25:03 +0000 (0:00:00.025) 0:03:05.464 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:16 Wednesday 06 July 2022 12:25:03 +0000 (0:00:00.024) 0:03:05.489 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:20 Wednesday 06 July 2022 12:25:03 +0000 (0:00:00.024) 0:03:05.514 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:24 Wednesday 06 July 2022 12:25:03 +0000 (0:00:00.023) 0:03:05.537 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:30 Wednesday 06 July 2022 12:25:03 +0000 (0:00:00.024) 0:03:05.562 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:36 Wednesday 06 July 2022 12:25:03 +0000 (0:00:00.025) 0:03:05.587 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:44 Wednesday 06 July 2022 12:25:03 +0000 (0:00:00.026) 0:03:05.613 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:53 Wednesday 06 July 2022 12:25:03 +0000 (0:00:00.037) 0:03:05.651 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 12:25:03 +0000 (0:00:00.047) 0:03:05.698 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 12:25:03 +0000 (0:00:00.043) 0:03:05.742 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheading", "-o", "lv_name", "--select", "lv_name=lv1&&lv_layout=raid0", "vg1" ], "delta": "0:00:00.035298", "end": "2022-07-06 12:25:03.210692", "rc": 0, "start": "2022-07-06 12:25:03.175394" } STDOUT: lv1 TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 12:25:04 +0000 (0:00:00.435) 0:03:06.178 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 12:25:04 +0000 (0:00:00.099) 0:03:06.277 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lvmraid_status": null }, "changed": false } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:56 Wednesday 06 July 2022 12:25:04 +0000 (0:00:00.092) 0:03:06.370 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 12:25:04 +0000 (0:00:00.107) 0:03:06.478 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 12:25:04 +0000 (0:00:00.047) 0:03:06.525 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 12:25:04 +0000 (0:00:00.025) 0:03:06.551 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 12:25:04 +0000 (0:00:00.024) 0:03:06.576 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 12:25:04 +0000 (0:00:00.024) 0:03:06.600 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:59 Wednesday 06 July 2022 12:25:04 +0000 (0:00:00.025) 0:03:06.626 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 12:25:04 +0000 (0:00:00.050) 0:03:06.676 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 12:25:04 +0000 (0:00:00.052) 0:03:06.729 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=/dev/sda1) => { "_storage_test_pool_member_path": "/dev/sda1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=/dev/sdb1) => { "_storage_test_pool_member_path": "/dev/sdb1", "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/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 12:25:04 +0000 (0:00:00.033) 0:03:06.762 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/sda1) included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/sdb1) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 12:25:04 +0000 (0:00:00.049) 0:03:06.811 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:4 Wednesday 06 July 2022 12:25:04 +0000 (0:00:00.051) 0:03:06.862 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:9 Wednesday 06 July 2022 12:25:04 +0000 (0:00:00.053) 0:03:06.916 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:15 Wednesday 06 July 2022 12:25:04 +0000 (0:00:00.040) 0:03:06.956 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:21 Wednesday 06 July 2022 12:25:04 +0000 (0:00:00.038) 0:03:06.995 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:27 Wednesday 06 July 2022 12:25:04 +0000 (0:00:00.043) 0:03:07.038 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 12:25:04 +0000 (0:00:00.035) 0:03:07.074 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:4 Wednesday 06 July 2022 12:25:05 +0000 (0:00:00.050) 0:03:07.124 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:9 Wednesday 06 July 2022 12:25:05 +0000 (0:00:00.050) 0:03:07.175 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:15 Wednesday 06 July 2022 12:25:05 +0000 (0:00:00.038) 0:03:07.214 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:21 Wednesday 06 July 2022 12:25:05 +0000 (0:00:00.039) 0:03:07.253 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:27 Wednesday 06 July 2022 12:25:05 +0000 (0:00:00.040) 0:03:07.294 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 12:25:05 +0000 (0:00:00.041) 0:03:07.335 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:62 Wednesday 06 July 2022 12:25:05 +0000 (0:00:00.036) 0:03:07.372 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 12:25:05 +0000 (0:00:00.049) 0:03:07.422 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 12:25:05 +0000 (0:00:00.045) 0:03:07.467 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 12:25:05 +0000 (0:00:00.024) 0:03:07.492 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 12:25:05 +0000 (0:00:00.026) 0:03:07.519 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 12:25:05 +0000 (0:00:00.026) 0:03:07.546 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 12:25:05 +0000 (0:00:00.026) 0:03:07.572 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 12:25:05 +0000 (0:00:00.023) 0:03:07.596 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 12:25:05 +0000 (0:00:00.025) 0:03:07.622 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 12:25:05 +0000 (0:00:00.026) 0:03:07.648 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:65 Wednesday 06 July 2022 12:25:05 +0000 (0:00:00.078) 0:03:07.727 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 12:25:05 +0000 (0:00:00.119) 0:03:07.847 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 12:25:05 +0000 (0:00:00.044) 0:03:07.892 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 12:25:05 +0000 (0:00:00.052) 0:03:07.944 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 12:25:05 +0000 (0:00:00.089) 0:03:08.033 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 12:25:05 +0000 (0:00:00.047) 0:03:08.081 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 509649, "block_size": 4096, "block_total": 521600, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048317, "inode_total": 1048320, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=64k,sunit=128,swidth=256,noquota", "size_available": 2087522304, "size_total": 2136473600, "uuid": "82052a97-b595-45aa-9d5b-c239f1ee5abc" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 509649, "block_size": 4096, "block_total": 521600, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048317, "inode_total": 1048320, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=64k,sunit=128,swidth=256,noquota", "size_available": 2087522304, "size_total": 2136473600, "uuid": "82052a97-b595-45aa-9d5b-c239f1ee5abc" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 12:25:06 +0000 (0:00:00.064) 0:03:08.146 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 12:25:06 +0000 (0:00:00.059) 0:03:08.205 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 12:25:06 +0000 (0:00:00.053) 0:03:08.258 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 12:25:06 +0000 (0:00:00.063) 0:03:08.322 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 12:25:06 +0000 (0:00:00.026) 0:03:08.349 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 12:25:06 +0000 (0:00:00.027) 0:03:08.376 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 12:25:06 +0000 (0:00:00.026) 0:03:08.402 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 12:25:06 +0000 (0:00:00.039) 0:03:08.442 ******** ok: [/cache/fedora-35.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/vg1-lv1 " ], "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/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 12:25:06 +0000 (0:00:00.068) 0:03:08.510 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 12:25:06 +0000 (0:00:00.052) 0:03:08.562 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 12:25:06 +0000 (0:00:00.052) 0:03:08.615 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 12:25:06 +0000 (0:00:00.039) 0:03:08.654 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 12:25:06 +0000 (0:00:00.036) 0:03:08.691 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 12:25:06 +0000 (0:00:00.040) 0:03:08.731 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 12:25:06 +0000 (0:00:00.048) 0:03:08.779 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657110297.479724, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657110295.910724, "dev": 5, "device_type": 64770, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 639, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657110295.910724, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "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/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 12:25:07 +0000 (0:00:00.392) 0:03:09.172 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 12:25:07 +0000 (0:00:00.038) 0:03:09.211 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 12:25:07 +0000 (0:00:00.040) 0:03:09.251 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 12:25:07 +0000 (0:00:00.035) 0:03:09.286 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 12:25:07 +0000 (0:00:00.026) 0:03:09.313 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 12:25:07 +0000 (0:00:00.039) 0:03:09.352 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 12:25:07 +0000 (0:00:00.024) 0:03:09.377 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 12:25:09 +0000 (0:00:01.909) 0:03:11.287 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 12:25:09 +0000 (0:00:00.028) 0:03:11.315 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 12:25:09 +0000 (0:00:00.024) 0:03:11.340 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 12:25:09 +0000 (0:00:00.057) 0:03:11.398 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 12:25:09 +0000 (0:00:00.026) 0:03:11.424 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 12:25:09 +0000 (0:00:00.026) 0:03:11.450 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 12:25:09 +0000 (0:00:00.024) 0:03:11.474 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 12:25:09 +0000 (0:00:00.027) 0:03:11.502 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 12:25:09 +0000 (0:00:00.027) 0:03:11.529 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 12:25:09 +0000 (0:00:00.056) 0:03:11.585 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 12:25:09 +0000 (0:00:00.053) 0:03:11.639 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 12:25:09 +0000 (0:00:00.042) 0:03:11.681 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 12:25:09 +0000 (0:00:00.051) 0:03:11.732 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 12:25:09 +0000 (0:00:00.037) 0:03:11.770 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 12:25:09 +0000 (0:00:00.037) 0:03:11.807 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 12:25:09 +0000 (0:00:00.039) 0:03:11.847 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 12:25:09 +0000 (0:00:00.037) 0:03:11.884 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 12:25:09 +0000 (0:00:00.037) 0:03:11.922 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 12:25:09 +0000 (0:00:00.038) 0:03:11.961 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 12:25:09 +0000 (0:00:00.036) 0:03:11.997 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 12:25:09 +0000 (0:00:00.035) 0:03:12.032 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 12:25:09 +0000 (0:00:00.035) 0:03:12.068 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 12:25:10 +0000 (0:00:00.408) 0:03:12.477 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 12:25:10 +0000 (0:00:00.405) 0:03:12.882 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 12:25:10 +0000 (0:00:00.054) 0:03:12.937 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 12:25:10 +0000 (0:00:00.037) 0:03:12.975 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 12:25:10 +0000 (0:00:00.037) 0:03:13.013 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 12:25:10 +0000 (0:00:00.037) 0:03:13.050 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 12:25:10 +0000 (0:00:00.038) 0:03:13.088 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 12:25:11 +0000 (0:00:00.092) 0:03:13.181 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 12:25:11 +0000 (0:00:00.040) 0:03:13.222 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 12:25:11 +0000 (0:00:00.041) 0:03:13.264 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 12:25:11 +0000 (0:00:00.042) 0:03:13.306 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 12:25:11 +0000 (0:00:00.058) 0:03:13.364 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.040366", "end": "2022-07-06 12:25:10.848926", "rc": 0, "start": "2022-07-06 12:25:10.808560" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=rwi-aor--- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=raid0 TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 12:25:11 +0000 (0:00:00.453) 0:03:13.818 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "raid0" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 12:25:11 +0000 (0:00:00.053) 0:03:13.872 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 12:25:11 +0000 (0:00:00.055) 0:03:13.927 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 12:25:11 +0000 (0:00:00.041) 0:03:13.969 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 12:25:11 +0000 (0:00:00.041) 0:03:14.010 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 12:25:11 +0000 (0:00:00.038) 0:03:14.049 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 12:25:11 +0000 (0:00:00.041) 0:03:14.090 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 12:25:12 +0000 (0:00:00.040) 0:03:14.131 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:47 Wednesday 06 July 2022 12:25:12 +0000 (0:00:00.036) 0:03:14.168 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 12:25:12 +0000 (0:00:00.024) 0:03:14.192 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmpus9dv81c/tests/storage/tests_create_raid_pool_then_remove.yml:172 Wednesday 06 July 2022 12:25:12 +0000 (0:00:00.041) 0:03:14.233 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 12:25:12 +0000 (0:00:00.087) 0:03:14.321 ******** included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 12:25:12 +0000 (0:00:00.037) 0:03:14.358 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 12:25:12 +0000 (0:00:00.543) 0:03:14.902 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 12:25:12 +0000 (0:00:00.065) 0:03:14.968 ******** ok: [/cache/fedora-35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 12:25:12 +0000 (0:00:00.034) 0:03:15.002 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 12:25:12 +0000 (0:00:00.085) 0:03:15.088 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 12:25:13 +0000 (0:00:00.101) 0:03:15.189 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 12:25:13 +0000 (0:00:00.021) 0:03:15.211 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 12:25:13 +0000 (0:00:00.028) 0:03:15.239 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "size": "2g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 12:25:13 +0000 (0:00:00.038) 0:03:15.278 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 12:25:13 +0000 (0:00:00.037) 0:03:15.315 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 12:25:13 +0000 (0:00:00.028) 0:03:15.344 ******** skipping: [/cache/fedora-35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 12:25:13 +0000 (0:00:00.029) 0:03:15.374 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 12:25:13 +0000 (0:00:00.028) 0:03:15.402 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 12:25:13 +0000 (0:00:00.030) 0:03:15.433 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 12:25:13 +0000 (0:00:00.062) 0:03:15.495 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 12:25:13 +0000 (0:00:00.024) 0:03:15.519 ******** ok: [/cache/fedora-35.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/vg1-lv1", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "dosfstools", "xfsprogs", "lvm2", "e2fsprogs", "btrfs-progs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 12:25:15 +0000 (0:00:02.475) 0:03:17.995 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 12:25:15 +0000 (0:00:00.038) 0:03:18.033 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 12:25:15 +0000 (0:00:00.024) 0:03:18.058 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/vg1-lv1", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "dosfstools", "xfsprogs", "lvm2", "e2fsprogs", "btrfs-progs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 12:25:16 +0000 (0:00:00.040) 0:03:18.099 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 12:25:16 +0000 (0:00:00.039) 0:03:18.139 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 12:25:16 +0000 (0:00:00.040) 0:03:18.179 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 12:25:16 +0000 (0:00:00.043) 0:03:18.223 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 12:25:16 +0000 (0:00:00.746) 0:03:18.969 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/fedora-35.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 12:25:17 +0000 (0:00:00.427) 0:03:19.396 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 12:25:18 +0000 (0:00:00.729) 0:03:20.126 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 12:25:18 +0000 (0:00:00.436) 0:03:20.562 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 12:25:18 +0000 (0:00:00.024) 0:03:20.587 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_create_raid_pool_then_remove.yml:188 Wednesday 06 July 2022 12:25:19 +0000 (0:00:01.034) 0:03:21.622 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:1 Wednesday 06 July 2022 12:25:19 +0000 (0:00:00.066) 0:03:21.688 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmpus9dv81c/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 12:25:19 +0000 (0:00:00.057) 0:03:21.745 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 12:25:19 +0000 (0:00:00.044) 0:03:21.790 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "82052a97-b595-45aa-9d5b-c239f1ee5abc" }, "/dev/mapper/vg1-lv1_rimage_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_0", "size": "1G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rimage_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_1", "size": "1G", "type": "lvm", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "hggUxX-YX6v-LzGB-28KG-zw58-eN0j-o9j6OA" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "ma5v09-aBXo-pUDt-Mcw7-iXe8-cuur-UBGwdH" }, "/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-06-12-21-45-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/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": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/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": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/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": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:19 Wednesday 06 July 2022 12:25:20 +0000 (0:00:00.394) 0:03:22.184 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002892", "end": "2022-07-06 12:25:19.620974", "rc": 0, "start": "2022-07-06 12:25:19.618082" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:24 Wednesday 06 July 2022 12:25:20 +0000 (0:00:00.403) 0:03:22.588 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002893", "end": "2022-07-06 12:25:20.011609", "failed_when_result": false, "rc": 0, "start": "2022-07-06 12:25:20.008716" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:33 Wednesday 06 July 2022 12:25:20 +0000 (0:00:00.392) 0:03:22.980 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', '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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:5 Wednesday 06 July 2022 12:25:20 +0000 (0:00:00.063) 0:03:23.044 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:18 Wednesday 06 July 2022 12:25:20 +0000 (0:00:00.036) 0:03:23.081 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:1 Wednesday 06 July 2022 12:25:21 +0000 (0:00:00.048) 0:03:23.129 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "2", "_storage_test_pool_pvs_lvm": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:6 Wednesday 06 July 2022 12:25:21 +0000 (0:00:00.055) 0:03:23.184 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda1", "pv": "/dev/sda1" } ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sdb1", "pv": "/dev/sdb1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:15 Wednesday 06 July 2022 12:25:21 +0000 (0:00:00.740) 0:03:23.925 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "2" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:19 Wednesday 06 July 2022 12:25:21 +0000 (0:00:00.083) 0:03:24.008 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:23 Wednesday 06 July 2022 12:25:21 +0000 (0:00:00.084) 0:03:24.093 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:29 Wednesday 06 July 2022 12:25:22 +0000 (0:00:00.138) 0:03:24.231 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:33 Wednesday 06 July 2022 12:25:22 +0000 (0:00:00.040) 0:03:24.271 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:37 Wednesday 06 July 2022 12:25:22 +0000 (0:00:00.054) 0:03:24.325 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:41 Wednesday 06 July 2022 12:25:22 +0000 (0:00:00.024) 0:03:24.350 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda1" } MSG: All assertions passed ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sdb1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:50 Wednesday 06 July 2022 12:25:22 +0000 (0:00:00.057) 0:03:24.408 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:6 Wednesday 06 July 2022 12:25:22 +0000 (0:00:00.042) 0:03:24.451 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:12 Wednesday 06 July 2022 12:25:22 +0000 (0:00:00.029) 0:03:24.480 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:16 Wednesday 06 July 2022 12:25:22 +0000 (0:00:00.028) 0:03:24.509 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:20 Wednesday 06 July 2022 12:25:22 +0000 (0:00:00.030) 0:03:24.539 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:24 Wednesday 06 July 2022 12:25:22 +0000 (0:00:00.028) 0:03:24.568 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:30 Wednesday 06 July 2022 12:25:22 +0000 (0:00:00.029) 0:03:24.597 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:36 Wednesday 06 July 2022 12:25:22 +0000 (0:00:00.027) 0:03:24.624 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:44 Wednesday 06 July 2022 12:25:22 +0000 (0:00:00.025) 0:03:24.650 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:53 Wednesday 06 July 2022 12:25:22 +0000 (0:00:00.035) 0:03:24.686 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 12:25:22 +0000 (0:00:00.044) 0:03:24.731 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 12:25:22 +0000 (0:00:00.042) 0:03:24.773 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheading", "-o", "lv_name", "--select", "lv_name=lv1&&lv_layout=raid0", "vg1" ], "delta": "0:00:00.038597", "end": "2022-07-06 12:25:22.244630", "rc": 0, "start": "2022-07-06 12:25:22.206033" } STDOUT: lv1 TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 12:25:23 +0000 (0:00:00.435) 0:03:25.209 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 12:25:23 +0000 (0:00:00.057) 0:03:25.267 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lvmraid_status": null }, "changed": false } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:56 Wednesday 06 July 2022 12:25:23 +0000 (0:00:00.044) 0:03:25.312 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 12:25:23 +0000 (0:00:00.046) 0:03:25.358 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 12:25:23 +0000 (0:00:00.046) 0:03:25.404 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 12:25:23 +0000 (0:00:00.024) 0:03:25.429 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 12:25:23 +0000 (0:00:00.022) 0:03:25.451 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 12:25:23 +0000 (0:00:00.023) 0:03:25.475 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:59 Wednesday 06 July 2022 12:25:23 +0000 (0:00:00.028) 0:03:25.504 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 12:25:23 +0000 (0:00:00.051) 0:03:25.555 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 12:25:23 +0000 (0:00:00.053) 0:03:25.609 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=/dev/sda1) => { "_storage_test_pool_member_path": "/dev/sda1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=/dev/sdb1) => { "_storage_test_pool_member_path": "/dev/sdb1", "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/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 12:25:23 +0000 (0:00:00.034) 0:03:25.644 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/sda1) included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/sdb1) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 12:25:23 +0000 (0:00:00.092) 0:03:25.736 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:4 Wednesday 06 July 2022 12:25:23 +0000 (0:00:00.052) 0:03:25.788 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:9 Wednesday 06 July 2022 12:25:23 +0000 (0:00:00.049) 0:03:25.838 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:15 Wednesday 06 July 2022 12:25:23 +0000 (0:00:00.036) 0:03:25.874 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:21 Wednesday 06 July 2022 12:25:23 +0000 (0:00:00.038) 0:03:25.913 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:27 Wednesday 06 July 2022 12:25:23 +0000 (0:00:00.035) 0:03:25.949 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 12:25:23 +0000 (0:00:00.038) 0:03:25.987 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:4 Wednesday 06 July 2022 12:25:23 +0000 (0:00:00.053) 0:03:26.041 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:9 Wednesday 06 July 2022 12:25:23 +0000 (0:00:00.051) 0:03:26.093 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:15 Wednesday 06 July 2022 12:25:24 +0000 (0:00:00.038) 0:03:26.131 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:21 Wednesday 06 July 2022 12:25:24 +0000 (0:00:00.035) 0:03:26.166 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:27 Wednesday 06 July 2022 12:25:24 +0000 (0:00:00.038) 0:03:26.205 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 12:25:24 +0000 (0:00:00.032) 0:03:26.237 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:62 Wednesday 06 July 2022 12:25:24 +0000 (0:00:00.033) 0:03:26.271 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 12:25:24 +0000 (0:00:00.048) 0:03:26.319 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 12:25:24 +0000 (0:00:00.043) 0:03:26.363 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 12:25:24 +0000 (0:00:00.026) 0:03:26.390 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 12:25:24 +0000 (0:00:00.025) 0:03:26.416 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 12:25:24 +0000 (0:00:00.025) 0:03:26.441 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 12:25:24 +0000 (0:00:00.024) 0:03:26.465 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 12:25:24 +0000 (0:00:00.025) 0:03:26.491 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 12:25:24 +0000 (0:00:00.022) 0:03:26.514 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 12:25:24 +0000 (0:00:00.022) 0:03:26.537 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:65 Wednesday 06 July 2022 12:25:24 +0000 (0:00:00.034) 0:03:26.571 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 12:25:24 +0000 (0:00:00.037) 0:03:26.609 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 12:25:24 +0000 (0:00:00.043) 0:03:26.653 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 12:25:24 +0000 (0:00:00.049) 0:03:26.702 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 12:25:24 +0000 (0:00:00.076) 0:03:26.779 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 12:25:24 +0000 (0:00:00.042) 0:03:26.821 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 509649, "block_size": 4096, "block_total": 521600, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048317, "inode_total": 1048320, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=64k,sunit=128,swidth=256,noquota", "size_available": 2087522304, "size_total": 2136473600, "uuid": "82052a97-b595-45aa-9d5b-c239f1ee5abc" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 509649, "block_size": 4096, "block_total": 521600, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048317, "inode_total": 1048320, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=64k,sunit=128,swidth=256,noquota", "size_available": 2087522304, "size_total": 2136473600, "uuid": "82052a97-b595-45aa-9d5b-c239f1ee5abc" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 12:25:24 +0000 (0:00:00.057) 0:03:26.879 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 12:25:24 +0000 (0:00:00.058) 0:03:26.938 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 12:25:24 +0000 (0:00:00.097) 0:03:27.035 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 12:25:25 +0000 (0:00:00.132) 0:03:27.168 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 12:25:25 +0000 (0:00:00.026) 0:03:27.195 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 12:25:25 +0000 (0:00:00.046) 0:03:27.241 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 12:25:25 +0000 (0:00:00.050) 0:03:27.291 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 12:25:25 +0000 (0:00:00.065) 0:03:27.357 ******** ok: [/cache/fedora-35.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/vg1-lv1 " ], "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/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 12:25:25 +0000 (0:00:00.066) 0:03:27.424 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 12:25:25 +0000 (0:00:00.050) 0:03:27.475 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 12:25:25 +0000 (0:00:00.064) 0:03:27.540 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 12:25:25 +0000 (0:00:00.039) 0:03:27.579 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 12:25:25 +0000 (0:00:00.036) 0:03:27.615 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 12:25:25 +0000 (0:00:00.039) 0:03:27.655 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 12:25:25 +0000 (0:00:00.055) 0:03:27.710 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657110297.479724, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657110295.910724, "dev": 5, "device_type": 64770, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 639, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657110295.910724, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "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/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 12:25:26 +0000 (0:00:00.399) 0:03:28.110 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 12:25:26 +0000 (0:00:00.041) 0:03:28.151 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 12:25:26 +0000 (0:00:00.040) 0:03:28.192 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 12:25:26 +0000 (0:00:00.042) 0:03:28.234 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 12:25:26 +0000 (0:00:00.027) 0:03:28.261 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 12:25:26 +0000 (0:00:00.047) 0:03:28.309 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 12:25:26 +0000 (0:00:00.024) 0:03:28.333 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 12:25:28 +0000 (0:00:01.887) 0:03:30.221 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 12:25:28 +0000 (0:00:00.030) 0:03:30.251 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 12:25:28 +0000 (0:00:00.029) 0:03:30.281 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 12:25:28 +0000 (0:00:00.053) 0:03:30.334 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 12:25:28 +0000 (0:00:00.028) 0:03:30.363 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 12:25:28 +0000 (0:00:00.023) 0:03:30.386 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 12:25:28 +0000 (0:00:00.024) 0:03:30.411 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 12:25:28 +0000 (0:00:00.022) 0:03:30.433 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 12:25:28 +0000 (0:00:00.023) 0:03:30.457 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 12:25:28 +0000 (0:00:00.103) 0:03:30.560 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 12:25:28 +0000 (0:00:00.098) 0:03:30.658 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 12:25:28 +0000 (0:00:00.040) 0:03:30.699 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 12:25:28 +0000 (0:00:00.041) 0:03:30.741 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 12:25:28 +0000 (0:00:00.035) 0:03:30.777 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 12:25:28 +0000 (0:00:00.078) 0:03:30.855 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 12:25:28 +0000 (0:00:00.102) 0:03:30.957 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 12:25:28 +0000 (0:00:00.038) 0:03:30.996 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 12:25:28 +0000 (0:00:00.035) 0:03:31.032 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 12:25:28 +0000 (0:00:00.040) 0:03:31.072 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 12:25:29 +0000 (0:00:00.039) 0:03:31.112 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 12:25:29 +0000 (0:00:00.035) 0:03:31.147 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 12:25:29 +0000 (0:00:00.037) 0:03:31.185 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 12:25:29 +0000 (0:00:00.388) 0:03:31.573 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 12:25:29 +0000 (0:00:00.378) 0:03:31.952 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 12:25:29 +0000 (0:00:00.053) 0:03:32.006 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 12:25:29 +0000 (0:00:00.039) 0:03:32.045 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 12:25:29 +0000 (0:00:00.038) 0:03:32.084 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 12:25:30 +0000 (0:00:00.037) 0:03:32.122 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 12:25:30 +0000 (0:00:00.039) 0:03:32.161 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 12:25:30 +0000 (0:00:00.041) 0:03:32.203 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 12:25:30 +0000 (0:00:00.036) 0:03:32.240 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 12:25:30 +0000 (0:00:00.040) 0:03:32.280 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 12:25:30 +0000 (0:00:00.038) 0:03:32.318 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 12:25:30 +0000 (0:00:00.051) 0:03:32.370 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.040009", "end": "2022-07-06 12:25:29.850837", "rc": 0, "start": "2022-07-06 12:25:29.810828" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=rwi-aor--- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=raid0 TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 12:25:30 +0000 (0:00:00.445) 0:03:32.816 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "raid0" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 12:25:30 +0000 (0:00:00.051) 0:03:32.867 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 12:25:30 +0000 (0:00:00.052) 0:03:32.920 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 12:25:30 +0000 (0:00:00.038) 0:03:32.958 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 12:25:30 +0000 (0:00:00.042) 0:03:33.001 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 12:25:30 +0000 (0:00:00.036) 0:03:33.038 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 12:25:30 +0000 (0:00:00.035) 0:03:33.074 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 12:25:31 +0000 (0:00:00.041) 0:03:33.115 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:47 Wednesday 06 July 2022 12:25:31 +0000 (0:00:00.051) 0:03:33.166 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 12:25:31 +0000 (0:00:00.024) 0:03:33.191 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Remove the device created above] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_create_raid_pool_then_remove.yml:190 Wednesday 06 July 2022 12:25:31 +0000 (0:00:00.092) 0:03:33.284 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 12:25:31 +0000 (0:00:00.141) 0:03:33.425 ******** included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 12:25:31 +0000 (0:00:00.040) 0:03:33.466 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 12:25:31 +0000 (0:00:00.525) 0:03:33.991 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 12:25:31 +0000 (0:00:00.069) 0:03:34.060 ******** ok: [/cache/fedora-35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 12:25:32 +0000 (0:00:00.035) 0:03:34.095 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 12:25:32 +0000 (0:00:00.039) 0:03:34.135 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 12:25:32 +0000 (0:00:00.060) 0:03:34.196 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 12:25:32 +0000 (0:00:00.023) 0:03:34.219 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 12:25:32 +0000 (0:00:00.030) 0:03:34.250 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "state": "absent", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "size": "2g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 12:25:32 +0000 (0:00:00.044) 0:03:34.295 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 12:25:32 +0000 (0:00:00.046) 0:03:34.341 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 12:25:32 +0000 (0:00:00.031) 0:03:34.373 ******** skipping: [/cache/fedora-35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 12:25:32 +0000 (0:00:00.036) 0:03:34.410 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 12:25:32 +0000 (0:00:00.030) 0:03:34.441 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 12:25:32 +0000 (0:00:00.030) 0:03:34.472 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 12:25:32 +0000 (0:00:00.070) 0:03:34.542 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 12:25:32 +0000 (0:00:00.025) 0:03:34.568 ******** changed: [/cache/fedora-35.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "e2fsprogs", "btrfs-progs", "dosfstools" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 12:25:36 +0000 (0:00:03.739) 0:03:38.307 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 12:25:36 +0000 (0:00:00.040) 0:03:38.348 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 12:25:36 +0000 (0:00:00.025) 0:03:38.373 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "e2fsprogs", "btrfs-progs", "dosfstools" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 12:25:36 +0000 (0:00:00.042) 0:03:38.416 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 12:25:36 +0000 (0:00:00.086) 0:03:38.503 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 12:25:36 +0000 (0:00:00.085) 0:03:38.589 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.qcow2.snap] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 12:25:36 +0000 (0:00:00.476) 0:03:39.065 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 12:25:37 +0000 (0:00:00.735) 0:03:39.801 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 12:25:37 +0000 (0:00:00.043) 0:03:39.844 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 12:25:38 +0000 (0:00:00.707) 0:03:40.552 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 12:25:38 +0000 (0:00:00.413) 0:03:40.966 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 12:25:38 +0000 (0:00:00.026) 0:03:40.992 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_create_raid_pool_then_remove.yml:206 Wednesday 06 July 2022 12:25:39 +0000 (0:00:00.944) 0:03:41.937 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:1 Wednesday 06 July 2022 12:25:39 +0000 (0:00:00.068) 0:03:42.006 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "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/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "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/tmpus9dv81c/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 12:25:39 +0000 (0:00:00.055) 0:03:42.061 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 12:25:40 +0000 (0:00:00.039) 0:03:42.101 ******** ok: [/cache/fedora-35.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-06-12-21-45-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/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": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/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": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/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": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:19 Wednesday 06 July 2022 12:25:40 +0000 (0:00:00.393) 0:03:42.495 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002667", "end": "2022-07-06 12:25:39.907827", "rc": 0, "start": "2022-07-06 12:25:39.905160" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:24 Wednesday 06 July 2022 12:25:40 +0000 (0:00:00.377) 0:03:42.872 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002927", "end": "2022-07-06 12:25:40.343962", "failed_when_result": false, "rc": 0, "start": "2022-07-06 12:25:40.341035" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:33 Wednesday 06 July 2022 12:25:41 +0000 (0:00:00.437) 0:03:43.310 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', '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': '/opt/test1', 'name': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:5 Wednesday 06 July 2022 12:25:41 +0000 (0:00:00.103) 0:03:43.413 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:18 Wednesday 06 July 2022 12:25:41 +0000 (0:00:00.038) 0:03:43.452 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:1 Wednesday 06 July 2022 12:25:41 +0000 (0:00:00.049) 0:03:43.501 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:6 Wednesday 06 July 2022 12:25:41 +0000 (0:00:00.055) 0:03:43.557 ******** TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:15 Wednesday 06 July 2022 12:25:41 +0000 (0:00:00.023) 0:03:43.581 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:19 Wednesday 06 July 2022 12:25:41 +0000 (0:00:00.051) 0:03:43.633 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:23 Wednesday 06 July 2022 12:25:41 +0000 (0:00:00.052) 0:03:43.685 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:29 Wednesday 06 July 2022 12:25:41 +0000 (0:00:00.054) 0:03:43.740 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:33 Wednesday 06 July 2022 12:25:41 +0000 (0:00:00.037) 0:03:43.777 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:37 Wednesday 06 July 2022 12:25:41 +0000 (0:00:00.051) 0:03:43.828 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:41 Wednesday 06 July 2022 12:25:41 +0000 (0:00:00.026) 0:03:43.855 ******** TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:50 Wednesday 06 July 2022 12:25:41 +0000 (0:00:00.023) 0:03:43.878 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:6 Wednesday 06 July 2022 12:25:41 +0000 (0:00:00.043) 0:03:43.922 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:12 Wednesday 06 July 2022 12:25:41 +0000 (0:00:00.025) 0:03:43.947 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:16 Wednesday 06 July 2022 12:25:41 +0000 (0:00:00.026) 0:03:43.974 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:20 Wednesday 06 July 2022 12:25:41 +0000 (0:00:00.023) 0:03:43.997 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:24 Wednesday 06 July 2022 12:25:41 +0000 (0:00:00.023) 0:03:44.021 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:30 Wednesday 06 July 2022 12:25:41 +0000 (0:00:00.026) 0:03:44.047 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:36 Wednesday 06 July 2022 12:25:41 +0000 (0:00:00.024) 0:03:44.071 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:44 Wednesday 06 July 2022 12:25:42 +0000 (0:00:00.022) 0:03:44.094 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:53 Wednesday 06 July 2022 12:25:42 +0000 (0:00:00.036) 0:03:44.130 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 12:25:42 +0000 (0:00:00.046) 0:03:44.177 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 12:25:42 +0000 (0:00:00.050) 0:03:44.228 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 12:25:42 +0000 (0:00:00.031) 0:03:44.259 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 12:25:42 +0000 (0:00:00.033) 0:03:44.292 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:56 Wednesday 06 July 2022 12:25:42 +0000 (0:00:00.031) 0:03:44.324 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 12:25:42 +0000 (0:00:00.047) 0:03:44.371 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 12:25:42 +0000 (0:00:00.044) 0:03:44.415 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 12:25:42 +0000 (0:00:00.025) 0:03:44.441 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 12:25:42 +0000 (0:00:00.024) 0:03:44.465 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 12:25:42 +0000 (0:00:00.024) 0:03:44.489 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:59 Wednesday 06 July 2022 12:25:42 +0000 (0:00:00.028) 0:03:44.518 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 12:25:42 +0000 (0:00:00.112) 0:03:44.630 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 12:25:42 +0000 (0:00:00.049) 0:03:44.680 ******** TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 12:25:42 +0000 (0:00:00.024) 0:03:44.704 ******** TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 12:25:42 +0000 (0:00:00.026) 0:03:44.730 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:62 Wednesday 06 July 2022 12:25:42 +0000 (0:00:00.047) 0:03:44.777 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 12:25:42 +0000 (0:00:00.050) 0:03:44.828 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 12:25:42 +0000 (0:00:00.049) 0:03:44.878 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 12:25:42 +0000 (0:00:00.027) 0:03:44.906 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 12:25:42 +0000 (0:00:00.026) 0:03:44.933 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 12:25:42 +0000 (0:00:00.026) 0:03:44.959 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 12:25:42 +0000 (0:00:00.027) 0:03:44.986 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 12:25:42 +0000 (0:00:00.026) 0:03:45.013 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 12:25:42 +0000 (0:00:00.026) 0:03:45.040 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 12:25:42 +0000 (0:00:00.025) 0:03:45.065 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:65 Wednesday 06 July 2022 12:25:43 +0000 (0:00:00.039) 0:03:45.105 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 12:25:43 +0000 (0:00:00.036) 0:03:45.141 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml for /cache/fedora-35.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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], '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/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 12:25:43 +0000 (0:00:00.043) 0:03:45.185 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 12:25:43 +0000 (0:00:00.048) 0:03:45.234 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 12:25:43 +0000 (0:00:00.080) 0:03:45.314 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 12:25:43 +0000 (0:00:00.041) 0:03:45.355 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 12:25:43 +0000 (0:00:00.059) 0:03:45.415 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 12:25:43 +0000 (0:00:00.025) 0:03:45.440 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 12:25:43 +0000 (0:00:00.051) 0:03:45.492 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 12:25:43 +0000 (0:00:00.038) 0:03:45.531 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 12:25:43 +0000 (0:00:00.027) 0:03:45.558 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 12:25:43 +0000 (0:00:00.024) 0:03:45.583 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 12:25:43 +0000 (0:00:00.025) 0:03:45.608 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 12:25:43 +0000 (0:00:00.038) 0:03:45.647 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 12:25:43 +0000 (0:00:00.066) 0:03:45.714 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 12:25:43 +0000 (0:00:00.023) 0:03:45.738 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 12:25:43 +0000 (0:00:00.049) 0:03:45.787 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 12:25:43 +0000 (0:00:00.034) 0:03:45.822 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 12:25:43 +0000 (0:00:00.037) 0:03:45.859 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 12:25:43 +0000 (0:00:00.024) 0:03:45.884 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 12:25:43 +0000 (0:00:00.023) 0:03:45.908 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 12:25:44 +0000 (0:00:00.449) 0:03:46.357 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 12:25:44 +0000 (0:00:00.082) 0:03:46.440 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 12:25:44 +0000 (0:00:00.025) 0:03:46.466 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 12:25:44 +0000 (0:00:00.103) 0:03:46.569 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 12:25:44 +0000 (0:00:00.024) 0:03:46.594 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 12:25:44 +0000 (0:00:00.022) 0:03:46.617 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 12:25:44 +0000 (0:00:00.023) 0:03:46.641 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 12:25:46 +0000 (0:00:01.917) 0:03:48.558 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 12:25:46 +0000 (0:00:00.027) 0:03:48.585 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 12:25:46 +0000 (0:00:00.029) 0:03:48.615 ******** skipping: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 12:25:46 +0000 (0:00:00.030) 0:03:48.646 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 12:25:46 +0000 (0:00:00.026) 0:03:48.672 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 12:25:46 +0000 (0:00:00.025) 0:03:48.698 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 12:25:46 +0000 (0:00:00.025) 0:03:48.724 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 12:25:46 +0000 (0:00:00.027) 0:03:48.751 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 12:25:46 +0000 (0:00:00.023) 0:03:48.774 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 12:25:46 +0000 (0:00:00.052) 0:03:48.827 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 12:25:46 +0000 (0:00:00.050) 0:03:48.878 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 12:25:46 +0000 (0:00:00.035) 0:03:48.913 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 12:25:46 +0000 (0:00:00.034) 0:03:48.948 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 12:25:46 +0000 (0:00:00.033) 0:03:48.982 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 12:25:46 +0000 (0:00:00.039) 0:03:49.021 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 12:25:46 +0000 (0:00:00.038) 0:03:49.060 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 12:25:47 +0000 (0:00:00.039) 0:03:49.099 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 12:25:47 +0000 (0:00:00.037) 0:03:49.136 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 12:25:47 +0000 (0:00:00.039) 0:03:49.176 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 12:25:47 +0000 (0:00:00.035) 0:03:49.211 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 12:25:47 +0000 (0:00:00.035) 0:03:49.247 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 12:25:47 +0000 (0:00:00.040) 0:03:49.287 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 12:25:47 +0000 (0:00:00.029) 0:03:49.317 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 12:25:47 +0000 (0:00:00.037) 0:03:49.355 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 12:25:47 +0000 (0:00:00.039) 0:03:49.394 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 12:25:47 +0000 (0:00:00.039) 0:03:49.433 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 12:25:47 +0000 (0:00:00.041) 0:03:49.475 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 12:25:47 +0000 (0:00:00.039) 0:03:49.514 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 12:25:47 +0000 (0:00:00.042) 0:03:49.556 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 12:25:47 +0000 (0:00:00.041) 0:03:49.598 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 12:25:47 +0000 (0:00:00.045) 0:03:49.643 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 12:25:47 +0000 (0:00:00.037) 0:03:49.680 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 12:25:47 +0000 (0:00:00.036) 0:03:49.716 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 12:25:47 +0000 (0:00:00.025) 0:03:49.742 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 12:25:47 +0000 (0:00:00.028) 0:03:49.770 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 12:25:47 +0000 (0:00:00.025) 0:03:49.796 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 12:25:47 +0000 (0:00:00.025) 0:03:49.821 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 12:25:47 +0000 (0:00:00.025) 0:03:49.846 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 12:25:47 +0000 (0:00:00.075) 0:03:49.922 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 12:25:47 +0000 (0:00:00.026) 0:03:49.949 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 12:25:47 +0000 (0:00:00.025) 0:03:49.975 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 12:25:47 +0000 (0:00:00.035) 0:03:50.010 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:47 Wednesday 06 July 2022 12:25:47 +0000 (0:00:00.036) 0:03:50.047 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 12:25:47 +0000 (0:00:00.020) 0:03:50.068 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=1130 changed=14 unreachable=0 failed=0 skipped=989 rescued=0 ignored=0 Wednesday 06 July 2022 12:25:48 +0000 (0:00:00.046) 0:03:50.114 ******** =============================================================================== fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 9.51s /tmp/tmpfdufgi2k/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 --- 5.15s /tmp/tmpfdufgi2k/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 --- 3.85s /tmp/tmpfdufgi2k/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 --- 3.74s /tmp/tmpfdufgi2k/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 --- 3.73s /tmp/tmpfdufgi2k/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 --- 3.66s /tmp/tmpfdufgi2k/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 --- 3.36s /tmp/tmpfdufgi2k/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.82s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : make sure blivet is available ------- 2.50s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.48s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Ensure cryptsetup is present -------------------------------------------- 2.06s /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 2.03s /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 2.02s /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 1.96s /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 1.95s /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 1.94s /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 1.94s /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 ----------- fedora.linux_system_roles.storage : get service facts ------------------- 1.93s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Ensure cryptsetup is present -------------------------------------------- 1.92s /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 1.92s /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 -----------