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/tmpdbh6f40u 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_resize.yml ***************************************************** 1 plays in /tmp/tmpmb3dyg70/tests/tests_resize.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:1 Thursday 21 July 2022 17:08:05 +0000 (0:00:00.016) 0:00:00.016 ********* ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [include_role : linux-system-roles.storage] ******************************* task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:20 Thursday 21 July 2022 17:08:06 +0000 (0:00:01.344) 0:00:01.360 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:08:06 +0000 (0:00:00.035) 0:00:01.396 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:08:06 +0000 (0:00:00.031) 0:00:01.427 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:08:07 +0000 (0:00:00.538) 0:00:01.966 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:08:07 +0000 (0:00:00.053) 0:00:02.020 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:08:07 +0000 (0:00:00.027) 0:00:02.048 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:08:07 +0000 (0:00:00.028) 0:00:02.076 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:08:07 +0000 (0:00:00.045) 0:00:02.121 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:08:07 +0000 (0:00:00.017) 0:00:02.139 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:08:10 +0000 (0:00:02.604) 0:00:04.743 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:08:10 +0000 (0:00:00.032) 0:00:04.776 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:08:10 +0000 (0:00:00.031) 0:00:04.807 ********* ok: [/cache/fedora-36.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:08:11 +0000 (0:00:00.777) 0:00:05.585 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 17:08:11 +0000 (0:00:00.040) 0:00:05.626 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 17:08:11 +0000 (0:00:00.039) 0:00:05.665 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable COPRs] ******************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 17:08:11 +0000 (0:00:00.042) 0:00:05.708 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:08:11 +0000 (0:00:00.048) 0:00:05.756 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:08:13 +0000 (0:00:01.909) 0:00:07.666 ********* ok: [/cache/fedora-36.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-hotplugd.service": { "name": "cloud-init-hotplugd.service", "source": "systemd", "state": "inactive", "status": "static" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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-onfailure.service": { "name": "dracut-shutdown-onfailure.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" }, "nm-priv-helper.service": { "name": "nm-priv-helper.service", "source": "systemd", "state": "inactive", "status": "static" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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-migrate.service": { "name": "rpmdb-migrate.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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-boot-update.service": { "name": "systemd-boot-update.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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-FAAC\\x2dBFC8.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-FAAC\\x2dBFC8.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-disk-by\\x2duuid-cb4982f0\\x2dd861\\x2d4106\\x2dada7\\x2daaeba17ae2bb.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-cb4982f0\\x2dd861\\x2d4106\\x2dada7\\x2daaeba17ae2bb.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:08:15 +0000 (0:00:02.221) 0:00:09.887 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:08:15 +0000 (0:00:00.058) 0:00:09.946 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:08:15 +0000 (0:00:00.023) 0:00:09.969 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 17:08:16 +0000 (0:00:00.580) 0:00:10.550 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:08:16 +0000 (0:00:00.037) 0:00:10.587 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 17:08:16 +0000 (0:00:00.022) 0:00:10.609 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 17:08:16 +0000 (0:00:00.035) 0:00:10.645 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 17:08:16 +0000 (0:00:00.033) 0:00:10.679 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 17:08:16 +0000 (0:00:00.033) 0:00:10.712 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 17:08:16 +0000 (0:00:00.033) 0:00:10.745 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 17:08:16 +0000 (0:00:00.023) 0:00:10.769 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 17:08:16 +0000 (0:00:00.035) 0:00:10.804 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 17:08:16 +0000 (0:00:00.024) 0:00:10.828 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "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": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 17:08:16 +0000 (0:00:00.544) 0:00:11.372 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 17:08:16 +0000 (0:00:00.022) 0:00:11.395 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:23 Thursday 21 July 2022 17:08:17 +0000 (0:00:00.984) 0:00:12.380 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:30 Thursday 21 July 2022 17:08:17 +0000 (0:00:00.065) 0:00:12.446 ********* included: /tmp/tmpmb3dyg70/tests/get_unused_disk.yml for /cache/fedora-36.qcow2.snap TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmpmb3dyg70/tests/get_unused_disk.yml:2 Thursday 21 July 2022 17:08:18 +0000 (0:00:00.065) 0:00:12.511 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "disks": [ "sda" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpmb3dyg70/tests/get_unused_disk.yml:9 Thursday 21 July 2022 17:08:18 +0000 (0:00:00.529) 0:00:13.041 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "unused_disks": [ "sda" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmpmb3dyg70/tests/get_unused_disk.yml:14 Thursday 21 July 2022 17:08:18 +0000 (0:00:00.042) 0:00:13.084 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/get_unused_disk.yml:19 Thursday 21 July 2022 17:08:18 +0000 (0:00:00.039) 0:00:13.123 ********* ok: [/cache/fedora-36.qcow2.snap] => { "unused_disks": [ "sda" ] } TASK [Create one LVM logical volume with "5g" under one volume group] ********** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:37 Thursday 21 July 2022 17:08:18 +0000 (0:00:00.038) 0:00:13.161 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:08:18 +0000 (0:00:00.043) 0:00:13.204 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:08:18 +0000 (0:00:00.033) 0:00:13.238 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:08:19 +0000 (0:00:00.564) 0:00:13.803 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:08:19 +0000 (0:00:00.058) 0:00:13.861 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:08:19 +0000 (0:00:00.031) 0:00:13.893 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:08:19 +0000 (0:00:00.032) 0:00:13.925 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:08:19 +0000 (0:00:00.045) 0:00:13.971 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:08:19 +0000 (0:00:00.019) 0:00:13.990 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:08:19 +0000 (0:00:00.029) 0:00:14.020 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:08:19 +0000 (0:00:00.035) 0:00:14.055 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:08:19 +0000 (0:00:00.033) 0:00:14.089 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:08:19 +0000 (0:00:00.028) 0:00:14.118 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:08:19 +0000 (0:00:00.028) 0:00:14.146 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:08:19 +0000 (0:00:00.026) 0:00:14.172 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:08:19 +0000 (0:00:00.026) 0:00:14.199 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:08:19 +0000 (0:00:00.057) 0:00:14.256 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:08:19 +0000 (0:00:00.022) 0:00:14.279 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "dosfstools", "btrfs-progs", "lvm2", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 17:08:22 +0000 (0:00:02.804) 0:00:17.083 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:08:22 +0000 (0:00:00.035) 0:00:17.119 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 17:08:22 +0000 (0:00:00.020) 0:00:17.139 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "dosfstools", "btrfs-progs", "lvm2", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 17:08:22 +0000 (0:00:00.038) 0:00:17.177 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 17:08:22 +0000 (0:00:00.042) 0:00:17.220 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 17:08:22 +0000 (0:00:00.038) 0:00:17.258 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 17:08:22 +0000 (0:00:00.039) 0:00:17.298 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 17:08:23 +0000 (0:00:01.109) 0:00:18.407 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext4', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 17:08:24 +0000 (0:00:00.601) 0:00:19.009 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 17:08:25 +0000 (0:00:00.798) 0:00:19.807 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "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": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 17:08:25 +0000 (0:00:00.417) 0:00:20.225 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 17:08:25 +0000 (0:00:00.025) 0:00:20.250 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:52 Thursday 21 July 2022 17:08:26 +0000 (0:00:00.990) 0:00:21.240 ********* included: /tmp/tmpmb3dyg70/tests/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:1 Thursday 21 July 2022 17:08:26 +0000 (0:00:00.039) 0:00:21.280 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:6 Thursday 21 July 2022 17:08:26 +0000 (0:00:00.078) 0:00:21.358 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:14 Thursday 21 July 2022 17:08:26 +0000 (0:00:00.038) 0:00:21.397 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "dfec3fa3-ebf1-46a7-a7d7-43188da2358d" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "GIDiaV-t8cL-W1Km-Pi8h-BEWu-jPe7-2Lkodm" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-17-07-52-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": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/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": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/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": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/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/tmpmb3dyg70/tests/verify-role-results.yml:19 Thursday 21 July 2022 17:08:27 +0000 (0:00:00.579) 0:00:21.976 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003325", "end": "2022-07-21 17:08:27.467315", "rc": 0, "start": "2022-07-21 17:08:27.463990" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 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=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /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/foo-test1 /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:24 Thursday 21 July 2022 17:08:28 +0000 (0:00:00.515) 0:00:22.491 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003437", "end": "2022-07-21 17:08:27.884197", "failed_when_result": false, "rc": 0, "start": "2022-07-21 17:08:27.880760" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:33 Thursday 21 July 2022 17:08:28 +0000 (0:00:00.415) 0:00:22.907 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:5 Thursday 21 July 2022 17:08:28 +0000 (0:00:00.060) 0:00:22.967 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:18 Thursday 21 July 2022 17:08:28 +0000 (0:00:00.037) 0:00:23.004 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:08:28 +0000 (0:00:00.047) 0:00:23.052 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 17:08:28 +0000 (0:00:00.054) 0:00:23.107 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:08:29 +0000 (0:00:00.560) 0:00:23.667 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:08:29 +0000 (0:00:00.048) 0:00:23.716 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 17:08:29 +0000 (0:00:00.048) 0:00:23.764 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 17:08:29 +0000 (0:00:00.047) 0:00:23.812 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 17:08:29 +0000 (0:00:00.035) 0:00:23.848 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 17:08:29 +0000 (0:00:00.049) 0:00:23.897 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 17:08:29 +0000 (0:00:00.025) 0:00:23.922 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:08:29 +0000 (0:00:00.049) 0:00:23.971 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:6 Thursday 21 July 2022 17:08:29 +0000 (0:00:00.046) 0:00:24.018 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:12 Thursday 21 July 2022 17:08:29 +0000 (0:00:00.023) 0:00:24.041 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:16 Thursday 21 July 2022 17:08:29 +0000 (0:00:00.022) 0:00:24.064 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:20 Thursday 21 July 2022 17:08:29 +0000 (0:00:00.022) 0:00:24.086 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:24 Thursday 21 July 2022 17:08:29 +0000 (0:00:00.022) 0:00:24.109 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:30 Thursday 21 July 2022 17:08:29 +0000 (0:00:00.023) 0:00:24.133 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:36 Thursday 21 July 2022 17:08:29 +0000 (0:00:00.025) 0:00:24.158 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:44 Thursday 21 July 2022 17:08:29 +0000 (0:00:00.023) 0:00:24.182 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:08:29 +0000 (0:00:00.071) 0:00:24.254 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:08:29 +0000 (0:00:00.046) 0:00:24.300 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml for /cache/fedora-36.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:08:29 +0000 (0:00:00.082) 0:00:24.382 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:08:29 +0000 (0:00:00.029) 0:00:24.412 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:08:29 +0000 (0:00:00.027) 0:00:24.440 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:08:30 +0000 (0:00:00.032) 0:00:24.472 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:08:30 +0000 (0:00:00.053) 0:00:24.525 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml for /cache/fedora-36.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:08:30 +0000 (0:00:00.044) 0:00:24.570 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:08:30 +0000 (0:00:00.025) 0:00:24.595 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:08:30 +0000 (0:00:00.025) 0:00:24.621 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:08:30 +0000 (0:00:00.024) 0:00:24.646 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:08:30 +0000 (0:00:00.024) 0:00:24.670 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:08:30 +0000 (0:00:00.050) 0:00:24.720 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:08:30 +0000 (0:00:00.050) 0:00:24.771 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:08:30 +0000 (0:00:00.026) 0:00:24.797 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 17:08:30 +0000 (0:00:00.044) 0:00:24.842 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 17:08:30 +0000 (0:00:00.050) 0:00:24.892 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 17:08:30 +0000 (0:00:00.050) 0:00:24.943 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 17:08:30 +0000 (0:00:00.036) 0:00:24.980 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 17:08:30 +0000 (0:00:00.036) 0:00:25.016 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 17:08:30 +0000 (0:00:00.037) 0:00:25.054 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:08:30 +0000 (0:00:00.032) 0:00:25.086 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 17:08:30 +0000 (0:00:00.032) 0:00:25.119 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:08:30 +0000 (0:00:00.048) 0:00:25.168 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml for /cache/fedora-36.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:08:30 +0000 (0:00:00.044) 0:00:25.213 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:08:30 +0000 (0:00:00.024) 0:00:25.237 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:08:30 +0000 (0:00:00.024) 0:00:25.261 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:08:30 +0000 (0:00:00.023) 0:00:25.284 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:08:30 +0000 (0:00:00.024) 0:00:25.309 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:08:30 +0000 (0:00:00.024) 0:00:25.334 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:08:30 +0000 (0:00:00.026) 0:00:25.360 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:08:30 +0000 (0:00:00.024) 0:00:25.385 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 17:08:30 +0000 (0:00:00.036) 0:00:25.421 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:08:31 +0000 (0:00:00.036) 0:00:25.457 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml for /cache/fedora-36.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:2 Thursday 21 July 2022 17:08:31 +0000 (0:00:00.045) 0:00:25.503 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume.yml:10 Thursday 21 July 2022 17:08:31 +0000 (0:00:00.081) 0:00:25.585 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:08:31 +0000 (0:00:00.106) 0:00:25.692 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 17:08:31 +0000 (0:00:00.041) 0:00:25.734 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1199010, "block_size": 4096, "block_total": 1268648, "block_used": 69638, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 4911144960, "size_total": 5196382208, "uuid": "dfec3fa3-ebf1-46a7-a7d7-43188da2358d" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1199010, "block_size": 4096, "block_total": 1268648, "block_used": 69638, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 4911144960, "size_total": 5196382208, "uuid": "dfec3fa3-ebf1-46a7-a7d7-43188da2358d" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 17:08:31 +0000 (0:00:00.056) 0:00:25.790 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:08:31 +0000 (0:00:00.053) 0:00:25.844 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 17:08:31 +0000 (0:00:00.048) 0:00:25.892 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 17:08:31 +0000 (0:00:00.052) 0:00:25.945 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 17:08:31 +0000 (0:00:00.024) 0:00:25.970 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 17:08:31 +0000 (0:00:00.023) 0:00:25.993 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 17:08:31 +0000 (0:00:00.024) 0:00:26.017 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:08:31 +0000 (0:00:00.037) 0:00:26.055 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:08:31 +0000 (0:00:00.063) 0:00:26.118 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 17:08:31 +0000 (0:00:00.050) 0:00:26.169 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 17:08:31 +0000 (0:00:00.048) 0:00:26.218 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 17:08:31 +0000 (0:00:00.035) 0:00:26.254 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:08:31 +0000 (0:00:00.037) 0:00:26.291 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:08:31 +0000 (0:00:00.036) 0:00:26.328 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:08:31 +0000 (0:00:00.041) 0:00:26.370 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658423303.992376, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658423301.9953759, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 862, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658423301.9953759, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:08:32 +0000 (0:00:00.430) 0:00:26.800 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 17:08:32 +0000 (0:00:00.036) 0:00:26.837 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 17:08:32 +0000 (0:00:00.037) 0:00:26.875 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 17:08:32 +0000 (0:00:00.036) 0:00:26.912 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 17:08:32 +0000 (0:00:00.022) 0:00:26.934 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:08:32 +0000 (0:00:00.038) 0:00:26.972 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:08:32 +0000 (0:00:00.022) 0:00:26.995 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:08:34 +0000 (0:00:02.038) 0:00:29.034 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:08:34 +0000 (0:00:00.023) 0:00:29.058 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 17:08:34 +0000 (0:00:00.048) 0:00:29.106 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 17:08:34 +0000 (0:00:00.050) 0:00:29.157 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:08:34 +0000 (0:00:00.024) 0:00:29.181 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 17:08:34 +0000 (0:00:00.022) 0:00:29.203 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 17:08:34 +0000 (0:00:00.022) 0:00:29.226 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 17:08:34 +0000 (0:00:00.021) 0:00:29.248 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:08:34 +0000 (0:00:00.021) 0:00:29.270 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 17:08:34 +0000 (0:00:00.049) 0:00:29.319 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 17:08:34 +0000 (0:00:00.048) 0:00:29.367 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 17:08:34 +0000 (0:00:00.033) 0:00:29.401 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 17:08:34 +0000 (0:00:00.047) 0:00:29.449 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 17:08:35 +0000 (0:00:00.036) 0:00:29.485 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:08:35 +0000 (0:00:00.032) 0:00:29.518 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:08:35 +0000 (0:00:00.035) 0:00:29.553 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:08:35 +0000 (0:00:00.037) 0:00:29.591 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:08:35 +0000 (0:00:00.041) 0:00:29.633 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:08:35 +0000 (0:00:00.040) 0:00:29.673 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:08:35 +0000 (0:00:00.034) 0:00:29.708 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:08:35 +0000 (0:00:00.033) 0:00:29.741 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:08:35 +0000 (0:00:00.039) 0:00:29.781 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:08:35 +0000 (0:00:00.536) 0:00:30.318 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:08:36 +0000 (0:00:00.423) 0:00:30.742 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:08:36 +0000 (0:00:00.049) 0:00:30.791 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:08:36 +0000 (0:00:00.038) 0:00:30.829 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:08:36 +0000 (0:00:00.038) 0:00:30.867 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:08:36 +0000 (0:00:00.039) 0:00:30.907 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:08:36 +0000 (0:00:00.036) 0:00:30.943 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:08:36 +0000 (0:00:00.039) 0:00:30.983 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:08:36 +0000 (0:00:00.036) 0:00:31.020 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:08:36 +0000 (0:00:00.068) 0:00:31.088 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:08:36 +0000 (0:00:00.069) 0:00:31.157 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:08:36 +0000 (0:00:00.081) 0:00:31.238 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.038662", "end": "2022-07-21 17:08:36.665760", "rc": 0, "start": "2022-07-21 17:08:36.627098" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:08:37 +0000 (0:00:00.447) 0:00:31.686 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:08:37 +0000 (0:00:00.047) 0:00:31.734 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:08:37 +0000 (0:00:00.048) 0:00:31.782 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:08:37 +0000 (0:00:00.035) 0:00:31.818 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:08:37 +0000 (0:00:00.035) 0:00:31.854 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:08:37 +0000 (0:00:00.039) 0:00:31.893 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:16 Thursday 21 July 2022 17:08:37 +0000 (0:00:00.038) 0:00:31.932 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:43 Thursday 21 July 2022 17:08:37 +0000 (0:00:00.037) 0:00:31.970 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:53 Thursday 21 July 2022 17:08:37 +0000 (0:00:00.024) 0:00:31.994 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change volume_size to "9g"] ********************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:54 Thursday 21 July 2022 17:08:37 +0000 (0:00:00.035) 0:00:32.030 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:08:37 +0000 (0:00:00.049) 0:00:32.079 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:08:37 +0000 (0:00:00.035) 0:00:32.115 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:08:38 +0000 (0:00:00.553) 0:00:32.669 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:08:38 +0000 (0:00:00.060) 0:00:32.729 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:08:38 +0000 (0:00:00.033) 0:00:32.763 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:08:38 +0000 (0:00:00.033) 0:00:32.796 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:08:38 +0000 (0:00:00.046) 0:00:32.842 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:08:38 +0000 (0:00:00.021) 0:00:32.864 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:08:38 +0000 (0:00:00.027) 0:00:32.891 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "9g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:08:38 +0000 (0:00:00.037) 0:00:32.929 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:08:38 +0000 (0:00:00.038) 0:00:32.968 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:08:38 +0000 (0:00:00.027) 0:00:32.996 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:08:38 +0000 (0:00:00.029) 0:00:33.025 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:08:38 +0000 (0:00:00.030) 0:00:33.055 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:08:38 +0000 (0:00:00.030) 0:00:33.086 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:08:38 +0000 (0:00:00.089) 0:00:33.175 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:08:38 +0000 (0:00:00.022) 0:00:33.198 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "btrfs-progs", "dosfstools", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 17:08:41 +0000 (0:00:02.689) 0:00:35.887 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:08:41 +0000 (0:00:00.039) 0:00:35.927 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 17:08:41 +0000 (0:00:00.022) 0:00:35.949 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "btrfs-progs", "dosfstools", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 17:08:41 +0000 (0:00:00.042) 0:00:35.992 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 17:08:41 +0000 (0:00:00.039) 0:00:36.032 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 17:08:41 +0000 (0:00:00.036) 0:00:36.069 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 17:08:41 +0000 (0:00:00.038) 0:00:36.107 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 17:08:42 +0000 (0:00:00.770) 0:00:36.878 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext4', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 17:08:42 +0000 (0:00:00.462) 0:00:37.340 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 17:08:43 +0000 (0:00:00.776) 0:00:38.116 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "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": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 17:08:44 +0000 (0:00:00.401) 0:00:38.517 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 17:08:44 +0000 (0:00:00.022) 0:00:38.540 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:68 Thursday 21 July 2022 17:08:45 +0000 (0:00:00.967) 0:00:39.508 ********* included: /tmp/tmpmb3dyg70/tests/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:1 Thursday 21 July 2022 17:08:45 +0000 (0:00:00.044) 0:00:39.552 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:6 Thursday 21 July 2022 17:08:45 +0000 (0:00:00.102) 0:00:39.655 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:14 Thursday 21 July 2022 17:08:45 +0000 (0:00:00.035) 0:00:39.690 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "9G", "type": "lvm", "uuid": "dfec3fa3-ebf1-46a7-a7d7-43188da2358d" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "GIDiaV-t8cL-W1Km-Pi8h-BEWu-jPe7-2Lkodm" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-17-07-52-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": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/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": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/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": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/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/tmpmb3dyg70/tests/verify-role-results.yml:19 Thursday 21 July 2022 17:08:45 +0000 (0:00:00.415) 0:00:40.106 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003437", "end": "2022-07-21 17:08:45.494575", "rc": 0, "start": "2022-07-21 17:08:45.491138" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 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=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /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/foo-test1 /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:24 Thursday 21 July 2022 17:08:46 +0000 (0:00:00.409) 0:00:40.516 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003321", "end": "2022-07-21 17:08:45.907032", "failed_when_result": false, "rc": 0, "start": "2022-07-21 17:08:45.903711" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:33 Thursday 21 July 2022 17:08:46 +0000 (0:00:00.412) 0:00:40.928 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:5 Thursday 21 July 2022 17:08:46 +0000 (0:00:00.058) 0:00:40.987 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:18 Thursday 21 July 2022 17:08:46 +0000 (0:00:00.038) 0:00:41.025 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:08:46 +0000 (0:00:00.045) 0:00:41.071 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 17:08:46 +0000 (0:00:00.055) 0:00:41.126 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:08:47 +0000 (0:00:00.421) 0:00:41.548 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:08:47 +0000 (0:00:00.050) 0:00:41.598 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 17:08:47 +0000 (0:00:00.052) 0:00:41.651 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 17:08:47 +0000 (0:00:00.048) 0:00:41.700 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 17:08:47 +0000 (0:00:00.040) 0:00:41.740 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 17:08:47 +0000 (0:00:00.052) 0:00:41.792 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 17:08:47 +0000 (0:00:00.025) 0:00:41.818 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:08:47 +0000 (0:00:00.074) 0:00:41.892 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:6 Thursday 21 July 2022 17:08:47 +0000 (0:00:00.070) 0:00:41.963 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:12 Thursday 21 July 2022 17:08:47 +0000 (0:00:00.024) 0:00:41.988 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:16 Thursday 21 July 2022 17:08:47 +0000 (0:00:00.025) 0:00:42.013 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:20 Thursday 21 July 2022 17:08:47 +0000 (0:00:00.026) 0:00:42.040 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:24 Thursday 21 July 2022 17:08:47 +0000 (0:00:00.025) 0:00:42.065 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:30 Thursday 21 July 2022 17:08:47 +0000 (0:00:00.023) 0:00:42.088 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:36 Thursday 21 July 2022 17:08:47 +0000 (0:00:00.025) 0:00:42.114 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:44 Thursday 21 July 2022 17:08:47 +0000 (0:00:00.028) 0:00:42.142 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:08:47 +0000 (0:00:00.034) 0:00:42.177 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:08:47 +0000 (0:00:00.045) 0:00:42.222 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml for /cache/fedora-36.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:08:47 +0000 (0:00:00.045) 0:00:42.268 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:08:47 +0000 (0:00:00.026) 0:00:42.294 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:08:47 +0000 (0:00:00.026) 0:00:42.321 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:08:47 +0000 (0:00:00.030) 0:00:42.352 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:08:47 +0000 (0:00:00.047) 0:00:42.399 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml for /cache/fedora-36.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:08:47 +0000 (0:00:00.044) 0:00:42.444 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:08:48 +0000 (0:00:00.023) 0:00:42.467 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:08:48 +0000 (0:00:00.026) 0:00:42.493 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:08:48 +0000 (0:00:00.023) 0:00:42.517 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:08:48 +0000 (0:00:00.022) 0:00:42.540 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:08:48 +0000 (0:00:00.044) 0:00:42.585 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:08:48 +0000 (0:00:00.050) 0:00:42.635 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:08:48 +0000 (0:00:00.029) 0:00:42.665 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 17:08:48 +0000 (0:00:00.047) 0:00:42.712 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 17:08:48 +0000 (0:00:00.050) 0:00:42.763 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 17:08:48 +0000 (0:00:00.052) 0:00:42.815 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 17:08:48 +0000 (0:00:00.038) 0:00:42.854 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 17:08:48 +0000 (0:00:00.039) 0:00:42.893 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 17:08:48 +0000 (0:00:00.039) 0:00:42.932 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:08:48 +0000 (0:00:00.035) 0:00:42.968 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 17:08:48 +0000 (0:00:00.037) 0:00:43.005 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:08:48 +0000 (0:00:00.050) 0:00:43.056 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml for /cache/fedora-36.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:08:48 +0000 (0:00:00.045) 0:00:43.101 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:08:48 +0000 (0:00:00.075) 0:00:43.177 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:08:48 +0000 (0:00:00.025) 0:00:43.203 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:08:48 +0000 (0:00:00.023) 0:00:43.226 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:08:48 +0000 (0:00:00.023) 0:00:43.249 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:08:48 +0000 (0:00:00.024) 0:00:43.274 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:08:48 +0000 (0:00:00.023) 0:00:43.297 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:08:48 +0000 (0:00:00.028) 0:00:43.325 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 17:08:48 +0000 (0:00:00.037) 0:00:43.363 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:08:48 +0000 (0:00:00.039) 0:00:43.402 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml for /cache/fedora-36.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:2 Thursday 21 July 2022 17:08:48 +0000 (0:00:00.047) 0:00:43.450 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume.yml:10 Thursday 21 July 2022 17:08:49 +0000 (0:00:00.051) 0:00:43.501 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:08:49 +0000 (0:00:00.079) 0:00:43.581 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 17:08:49 +0000 (0:00:00.040) 0:00:43.621 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2178069, "block_size": 4096, "block_total": 2300135, "block_used": 122066, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 589813, "inode_total": 589824, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 8921370624, "size_total": 9421352960, "uuid": "dfec3fa3-ebf1-46a7-a7d7-43188da2358d" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2178069, "block_size": 4096, "block_total": 2300135, "block_used": 122066, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 589813, "inode_total": 589824, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 8921370624, "size_total": 9421352960, "uuid": "dfec3fa3-ebf1-46a7-a7d7-43188da2358d" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 17:08:49 +0000 (0:00:00.053) 0:00:43.675 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:08:49 +0000 (0:00:00.050) 0:00:43.725 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 17:08:49 +0000 (0:00:00.051) 0:00:43.777 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 17:08:49 +0000 (0:00:00.048) 0:00:43.825 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 17:08:49 +0000 (0:00:00.023) 0:00:43.848 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 17:08:49 +0000 (0:00:00.024) 0:00:43.872 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 17:08:49 +0000 (0:00:00.024) 0:00:43.897 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:08:49 +0000 (0:00:00.037) 0:00:43.934 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:08:49 +0000 (0:00:00.071) 0:00:44.005 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 17:08:49 +0000 (0:00:00.051) 0:00:44.057 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 17:08:49 +0000 (0:00:00.049) 0:00:44.106 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 17:08:49 +0000 (0:00:00.046) 0:00:44.152 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:08:49 +0000 (0:00:00.042) 0:00:44.195 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:08:49 +0000 (0:00:00.038) 0:00:44.233 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:08:49 +0000 (0:00:00.054) 0:00:44.287 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658423322.317376, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658423320.815376, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 862, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658423320.815376, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:08:50 +0000 (0:00:00.432) 0:00:44.720 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 17:08:50 +0000 (0:00:00.038) 0:00:44.759 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 17:08:50 +0000 (0:00:00.072) 0:00:44.831 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 17:08:50 +0000 (0:00:00.102) 0:00:44.933 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 17:08:50 +0000 (0:00:00.024) 0:00:44.958 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:08:50 +0000 (0:00:00.038) 0:00:44.996 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:08:50 +0000 (0:00:00.023) 0:00:45.019 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:08:52 +0000 (0:00:02.045) 0:00:47.064 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:08:52 +0000 (0:00:00.023) 0:00:47.088 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 17:08:52 +0000 (0:00:00.024) 0:00:47.112 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 17:08:52 +0000 (0:00:00.049) 0:00:47.162 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:08:52 +0000 (0:00:00.023) 0:00:47.186 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 17:08:52 +0000 (0:00:00.024) 0:00:47.210 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 17:08:52 +0000 (0:00:00.023) 0:00:47.234 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 17:08:52 +0000 (0:00:00.023) 0:00:47.257 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:08:52 +0000 (0:00:00.023) 0:00:47.280 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 17:08:52 +0000 (0:00:00.050) 0:00:47.331 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 17:08:52 +0000 (0:00:00.046) 0:00:47.378 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 17:08:52 +0000 (0:00:00.034) 0:00:47.413 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 17:08:52 +0000 (0:00:00.034) 0:00:47.448 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 17:08:53 +0000 (0:00:00.038) 0:00:47.486 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:08:53 +0000 (0:00:00.036) 0:00:47.523 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:08:53 +0000 (0:00:00.038) 0:00:47.561 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:08:53 +0000 (0:00:00.035) 0:00:47.597 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:08:53 +0000 (0:00:00.040) 0:00:47.638 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:08:53 +0000 (0:00:00.036) 0:00:47.674 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:08:53 +0000 (0:00:00.035) 0:00:47.710 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:08:53 +0000 (0:00:00.035) 0:00:47.746 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:08:53 +0000 (0:00:00.040) 0:00:47.787 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:08:53 +0000 (0:00:00.412) 0:00:48.200 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:08:54 +0000 (0:00:00.422) 0:00:48.622 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "9663676416" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:08:54 +0000 (0:00:00.050) 0:00:48.673 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "9663676416" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:08:54 +0000 (0:00:00.067) 0:00:48.741 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:08:54 +0000 (0:00:00.038) 0:00:48.780 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:08:54 +0000 (0:00:00.035) 0:00:48.815 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:08:54 +0000 (0:00:00.035) 0:00:48.851 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:08:54 +0000 (0:00:00.035) 0:00:48.886 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:08:54 +0000 (0:00:00.038) 0:00:48.925 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 9663676416, "changed": false, "failed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:08:54 +0000 (0:00:00.034) 0:00:48.959 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "9663676416" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:08:54 +0000 (0:00:00.067) 0:00:49.027 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:08:54 +0000 (0:00:00.111) 0:00:49.139 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.038878", "end": "2022-07-21 17:08:54.561740", "rc": 0, "start": "2022-07-21 17:08:54.522862" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:08:55 +0000 (0:00:00.447) 0:00:49.586 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:08:55 +0000 (0:00:00.050) 0:00:49.636 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:08:55 +0000 (0:00:00.050) 0:00:49.686 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:08:55 +0000 (0:00:00.038) 0:00:49.725 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:08:55 +0000 (0:00:00.036) 0:00:49.762 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:08:55 +0000 (0:00:00.040) 0:00:49.802 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:16 Thursday 21 July 2022 17:08:55 +0000 (0:00:00.037) 0:00:49.840 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:43 Thursday 21 July 2022 17:08:55 +0000 (0:00:00.034) 0:00:49.875 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:53 Thursday 21 July 2022 17:08:55 +0000 (0:00:00.021) 0:00:49.896 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change volume size to "5g"] ********************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:70 Thursday 21 July 2022 17:08:55 +0000 (0:00:00.038) 0:00:49.934 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:08:55 +0000 (0:00:00.051) 0:00:49.985 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:08:55 +0000 (0:00:00.036) 0:00:50.022 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:08:56 +0000 (0:00:00.576) 0:00:50.598 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:08:56 +0000 (0:00:00.060) 0:00:50.659 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:08:56 +0000 (0:00:00.037) 0:00:50.696 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:08:56 +0000 (0:00:00.038) 0:00:50.734 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:08:56 +0000 (0:00:00.047) 0:00:50.781 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:08:56 +0000 (0:00:00.021) 0:00:50.803 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:08:56 +0000 (0:00:00.029) 0:00:50.833 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:08:56 +0000 (0:00:00.039) 0:00:50.873 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:08:56 +0000 (0:00:00.037) 0:00:50.910 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:08:56 +0000 (0:00:00.030) 0:00:50.940 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:08:56 +0000 (0:00:00.029) 0:00:50.970 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:08:56 +0000 (0:00:00.029) 0:00:51.000 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:08:56 +0000 (0:00:00.029) 0:00:51.030 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:08:56 +0000 (0:00:00.118) 0:00:51.148 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:08:56 +0000 (0:00:00.021) 0:00:51.170 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "btrfs-progs", "lvm2", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 17:08:59 +0000 (0:00:02.780) 0:00:53.951 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:08:59 +0000 (0:00:00.039) 0:00:53.991 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 17:08:59 +0000 (0:00:00.022) 0:00:54.013 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "btrfs-progs", "lvm2", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 17:08:59 +0000 (0:00:00.041) 0:00:54.054 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 17:08:59 +0000 (0:00:00.037) 0:00:54.092 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 17:08:59 +0000 (0:00:00.040) 0:00:54.133 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 17:08:59 +0000 (0:00:00.039) 0:00:54.172 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 17:09:00 +0000 (0:00:00.793) 0:00:54.966 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext4', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 17:09:00 +0000 (0:00:00.479) 0:00:55.446 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 17:09:01 +0000 (0:00:00.779) 0:00:56.225 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "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": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 17:09:02 +0000 (0:00:00.401) 0:00:56.627 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 17:09:02 +0000 (0:00:00.022) 0:00:56.650 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:84 Thursday 21 July 2022 17:09:03 +0000 (0:00:00.946) 0:00:57.597 ********* included: /tmp/tmpmb3dyg70/tests/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:1 Thursday 21 July 2022 17:09:03 +0000 (0:00:00.045) 0:00:57.642 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:6 Thursday 21 July 2022 17:09:03 +0000 (0:00:00.087) 0:00:57.730 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:14 Thursday 21 July 2022 17:09:03 +0000 (0:00:00.105) 0:00:57.836 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "dfec3fa3-ebf1-46a7-a7d7-43188da2358d" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "GIDiaV-t8cL-W1Km-Pi8h-BEWu-jPe7-2Lkodm" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-17-07-52-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": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/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": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/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": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/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/tmpmb3dyg70/tests/verify-role-results.yml:19 Thursday 21 July 2022 17:09:03 +0000 (0:00:00.434) 0:00:58.270 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003036", "end": "2022-07-21 17:09:03.656159", "rc": 0, "start": "2022-07-21 17:09:03.653123" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 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=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /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/foo-test1 /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:24 Thursday 21 July 2022 17:09:04 +0000 (0:00:00.406) 0:00:58.676 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003348", "end": "2022-07-21 17:09:04.067339", "failed_when_result": false, "rc": 0, "start": "2022-07-21 17:09:04.063991" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:33 Thursday 21 July 2022 17:09:04 +0000 (0:00:00.413) 0:00:59.089 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:5 Thursday 21 July 2022 17:09:04 +0000 (0:00:00.060) 0:00:59.150 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:18 Thursday 21 July 2022 17:09:04 +0000 (0:00:00.035) 0:00:59.185 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:09:04 +0000 (0:00:00.045) 0:00:59.231 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 17:09:04 +0000 (0:00:00.055) 0:00:59.287 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:09:05 +0000 (0:00:00.412) 0:00:59.700 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:09:05 +0000 (0:00:00.051) 0:00:59.752 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 17:09:05 +0000 (0:00:00.048) 0:00:59.800 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 17:09:05 +0000 (0:00:00.046) 0:00:59.847 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 17:09:05 +0000 (0:00:00.034) 0:00:59.881 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 17:09:05 +0000 (0:00:00.045) 0:00:59.927 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 17:09:05 +0000 (0:00:00.022) 0:00:59.950 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:09:05 +0000 (0:00:00.038) 0:00:59.988 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:6 Thursday 21 July 2022 17:09:05 +0000 (0:00:00.039) 0:01:00.028 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:12 Thursday 21 July 2022 17:09:05 +0000 (0:00:00.022) 0:01:00.051 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:16 Thursday 21 July 2022 17:09:05 +0000 (0:00:00.021) 0:01:00.073 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:20 Thursday 21 July 2022 17:09:05 +0000 (0:00:00.021) 0:01:00.095 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:24 Thursday 21 July 2022 17:09:05 +0000 (0:00:00.021) 0:01:00.117 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:30 Thursday 21 July 2022 17:09:05 +0000 (0:00:00.022) 0:01:00.139 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:36 Thursday 21 July 2022 17:09:05 +0000 (0:00:00.021) 0:01:00.161 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:44 Thursday 21 July 2022 17:09:05 +0000 (0:00:00.022) 0:01:00.184 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:09:05 +0000 (0:00:00.067) 0:01:00.251 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:09:05 +0000 (0:00:00.068) 0:01:00.320 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml for /cache/fedora-36.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:09:05 +0000 (0:00:00.043) 0:01:00.363 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:09:05 +0000 (0:00:00.026) 0:01:00.389 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:09:05 +0000 (0:00:00.025) 0:01:00.415 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:09:05 +0000 (0:00:00.025) 0:01:00.440 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:09:06 +0000 (0:00:00.043) 0:01:00.483 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml for /cache/fedora-36.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:09:06 +0000 (0:00:00.041) 0:01:00.525 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:09:06 +0000 (0:00:00.022) 0:01:00.547 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:09:06 +0000 (0:00:00.021) 0:01:00.568 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:09:06 +0000 (0:00:00.021) 0:01:00.590 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:09:06 +0000 (0:00:00.021) 0:01:00.611 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:09:06 +0000 (0:00:00.045) 0:01:00.656 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:09:06 +0000 (0:00:00.045) 0:01:00.702 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:09:06 +0000 (0:00:00.027) 0:01:00.729 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 17:09:06 +0000 (0:00:00.041) 0:01:00.771 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 17:09:06 +0000 (0:00:00.046) 0:01:00.817 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 17:09:06 +0000 (0:00:00.047) 0:01:00.864 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 17:09:06 +0000 (0:00:00.033) 0:01:00.898 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 17:09:06 +0000 (0:00:00.033) 0:01:00.932 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 17:09:06 +0000 (0:00:00.033) 0:01:00.965 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:09:06 +0000 (0:00:00.034) 0:01:01.000 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 17:09:06 +0000 (0:00:00.036) 0:01:01.036 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:09:06 +0000 (0:00:00.048) 0:01:01.085 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml for /cache/fedora-36.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:09:06 +0000 (0:00:00.043) 0:01:01.129 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:09:06 +0000 (0:00:00.023) 0:01:01.153 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:09:06 +0000 (0:00:00.023) 0:01:01.176 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:09:06 +0000 (0:00:00.025) 0:01:01.202 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:09:06 +0000 (0:00:00.025) 0:01:01.227 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:09:06 +0000 (0:00:00.035) 0:01:01.263 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:09:06 +0000 (0:00:00.024) 0:01:01.287 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:09:06 +0000 (0:00:00.023) 0:01:01.310 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 17:09:06 +0000 (0:00:00.066) 0:01:01.377 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:09:06 +0000 (0:00:00.070) 0:01:01.447 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml for /cache/fedora-36.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:2 Thursday 21 July 2022 17:09:07 +0000 (0:00:00.069) 0:01:01.517 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume.yml:10 Thursday 21 July 2022 17:09:07 +0000 (0:00:00.049) 0:01:01.567 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:09:07 +0000 (0:00:00.080) 0:01:01.647 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 17:09:07 +0000 (0:00:00.044) 0:01:01.692 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1199011, "block_size": 4096, "block_total": 1268648, "block_used": 69637, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 4911149056, "size_total": 5196382208, "uuid": "dfec3fa3-ebf1-46a7-a7d7-43188da2358d" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1199011, "block_size": 4096, "block_total": 1268648, "block_used": 69637, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 4911149056, "size_total": 5196382208, "uuid": "dfec3fa3-ebf1-46a7-a7d7-43188da2358d" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 17:09:07 +0000 (0:00:00.055) 0:01:01.747 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:09:07 +0000 (0:00:00.048) 0:01:01.796 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 17:09:07 +0000 (0:00:00.049) 0:01:01.845 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 17:09:07 +0000 (0:00:00.051) 0:01:01.896 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 17:09:07 +0000 (0:00:00.024) 0:01:01.921 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 17:09:07 +0000 (0:00:00.024) 0:01:01.946 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 17:09:07 +0000 (0:00:00.026) 0:01:01.972 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:09:07 +0000 (0:00:00.035) 0:01:02.008 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:09:07 +0000 (0:00:00.061) 0:01:02.070 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 17:09:07 +0000 (0:00:00.053) 0:01:02.123 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 17:09:07 +0000 (0:00:00.049) 0:01:02.173 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 17:09:07 +0000 (0:00:00.037) 0:01:02.210 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:09:07 +0000 (0:00:00.036) 0:01:02.247 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:09:07 +0000 (0:00:00.043) 0:01:02.290 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:09:07 +0000 (0:00:00.038) 0:01:02.329 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658423340.4163759, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658423338.839376, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 862, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658423338.839376, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:09:08 +0000 (0:00:00.412) 0:01:02.741 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 17:09:08 +0000 (0:00:00.038) 0:01:02.780 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 17:09:08 +0000 (0:00:00.038) 0:01:02.819 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 17:09:08 +0000 (0:00:00.035) 0:01:02.854 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 17:09:08 +0000 (0:00:00.025) 0:01:02.880 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:09:08 +0000 (0:00:00.038) 0:01:02.918 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:09:08 +0000 (0:00:00.024) 0:01:02.943 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:09:10 +0000 (0:00:01.977) 0:01:04.920 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:09:10 +0000 (0:00:00.025) 0:01:04.946 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 17:09:10 +0000 (0:00:00.024) 0:01:04.971 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 17:09:10 +0000 (0:00:00.058) 0:01:05.029 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:09:10 +0000 (0:00:00.025) 0:01:05.055 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 17:09:10 +0000 (0:00:00.026) 0:01:05.081 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 17:09:10 +0000 (0:00:00.025) 0:01:05.107 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 17:09:10 +0000 (0:00:00.026) 0:01:05.133 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:09:10 +0000 (0:00:00.024) 0:01:05.157 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 17:09:10 +0000 (0:00:00.057) 0:01:05.215 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 17:09:10 +0000 (0:00:00.049) 0:01:05.265 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 17:09:10 +0000 (0:00:00.037) 0:01:05.303 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 17:09:10 +0000 (0:00:00.038) 0:01:05.342 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 17:09:10 +0000 (0:00:00.037) 0:01:05.379 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:09:10 +0000 (0:00:00.034) 0:01:05.414 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:09:10 +0000 (0:00:00.035) 0:01:05.450 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:09:11 +0000 (0:00:00.036) 0:01:05.487 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:09:11 +0000 (0:00:00.036) 0:01:05.523 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:09:11 +0000 (0:00:00.038) 0:01:05.561 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:09:11 +0000 (0:00:00.035) 0:01:05.597 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:09:11 +0000 (0:00:00.036) 0:01:05.633 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:09:11 +0000 (0:00:00.034) 0:01:05.668 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:09:11 +0000 (0:00:00.421) 0:01:06.089 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:09:12 +0000 (0:00:00.436) 0:01:06.526 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:09:12 +0000 (0:00:00.087) 0:01:06.614 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:09:12 +0000 (0:00:00.074) 0:01:06.688 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:09:12 +0000 (0:00:00.037) 0:01:06.725 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:09:12 +0000 (0:00:00.037) 0:01:06.763 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:09:12 +0000 (0:00:00.036) 0:01:06.800 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:09:12 +0000 (0:00:00.102) 0:01:06.902 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:09:12 +0000 (0:00:00.039) 0:01:06.942 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:09:12 +0000 (0:00:00.039) 0:01:06.982 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:09:12 +0000 (0:00:00.039) 0:01:07.021 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:09:12 +0000 (0:00:00.049) 0:01:07.071 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.038740", "end": "2022-07-21 17:09:12.510523", "rc": 0, "start": "2022-07-21 17:09:12.471783" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:09:13 +0000 (0:00:00.464) 0:01:07.536 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:09:13 +0000 (0:00:00.052) 0:01:07.588 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:09:13 +0000 (0:00:00.049) 0:01:07.638 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:09:13 +0000 (0:00:00.035) 0:01:07.674 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:09:13 +0000 (0:00:00.039) 0:01:07.713 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:09:13 +0000 (0:00:00.040) 0:01:07.754 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:16 Thursday 21 July 2022 17:09:13 +0000 (0:00:00.038) 0:01:07.792 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:43 Thursday 21 July 2022 17:09:13 +0000 (0:00:00.037) 0:01:07.830 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:53 Thursday 21 July 2022 17:09:13 +0000 (0:00:00.023) 0:01:07.853 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Try to create LVM with a too-large volume size, resize to "12884901888.0"] *** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:88 Thursday 21 July 2022 17:09:13 +0000 (0:00:00.046) 0:01:07.900 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:09:13 +0000 (0:00:00.039) 0:01:07.939 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:09:13 +0000 (0:00:00.034) 0:01:07.974 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:09:14 +0000 (0:00:00.562) 0:01:08.537 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:09:14 +0000 (0:00:00.068) 0:01:08.605 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:09:14 +0000 (0:00:00.036) 0:01:08.642 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:09:14 +0000 (0:00:00.038) 0:01:08.680 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:09:14 +0000 (0:00:00.051) 0:01:08.731 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:09:14 +0000 (0:00:00.022) 0:01:08.754 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:09:14 +0000 (0:00:00.030) 0:01:08.784 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "12884901888.0" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:09:14 +0000 (0:00:00.129) 0:01:08.914 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:09:14 +0000 (0:00:00.038) 0:01:08.952 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:09:14 +0000 (0:00:00.027) 0:01:08.980 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:09:14 +0000 (0:00:00.027) 0:01:09.007 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:09:14 +0000 (0:00:00.030) 0:01:09.038 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:09:14 +0000 (0:00:00.029) 0:01:09.067 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:09:14 +0000 (0:00:00.046) 0:01:09.113 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:09:14 +0000 (0:00:00.020) 0:01:09.134 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: volume 'test1' cannot be resized to '12 GiB' TASK [linux-system-roles.storage : failed message] ***************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:99 Thursday 21 July 2022 17:09:16 +0000 (0:00:02.147) 0:01:11.281 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "volume 'test1' cannot be resized to '12 GiB'", 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '12884901888.0', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}], 'raid_chunk_size': None}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': False, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:09:16 +0000 (0:00:00.041) 0:01:11.323 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:106 Thursday 21 July 2022 17:09:16 +0000 (0:00:00.021) 0:01:11.344 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:112 Thursday 21 July 2022 17:09:16 +0000 (0:00:00.037) 0:01:11.382 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Try to create LVM with volume size equal disk's size, resize to "10737418240"] *** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:121 Thursday 21 July 2022 17:09:16 +0000 (0:00:00.044) 0:01:11.426 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:09:17 +0000 (0:00:00.037) 0:01:11.464 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:09:17 +0000 (0:00:00.036) 0:01:11.500 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:09:17 +0000 (0:00:00.558) 0:01:12.059 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:09:17 +0000 (0:00:00.067) 0:01:12.126 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:09:17 +0000 (0:00:00.065) 0:01:12.191 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:09:17 +0000 (0:00:00.039) 0:01:12.231 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:09:17 +0000 (0:00:00.046) 0:01:12.278 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:09:17 +0000 (0:00:00.025) 0:01:12.303 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:09:17 +0000 (0:00:00.028) 0:01:12.332 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "10737418240" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:09:17 +0000 (0:00:00.039) 0:01:12.372 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:09:17 +0000 (0:00:00.068) 0:01:12.440 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:09:18 +0000 (0:00:00.028) 0:01:12.469 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:09:18 +0000 (0:00:00.053) 0:01:12.522 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:09:18 +0000 (0:00:00.027) 0:01:12.550 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:09:18 +0000 (0:00:00.026) 0:01:12.576 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:09:18 +0000 (0:00:00.048) 0:01:12.625 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:09:18 +0000 (0:00:00.021) 0:01:12.646 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "dosfstools", "lvm2", "e2fsprogs", "btrfs-progs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "10737418240", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 17:09:20 +0000 (0:00:02.773) 0:01:15.419 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:09:20 +0000 (0:00:00.024) 0:01:15.444 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 17:09:21 +0000 (0:00:00.021) 0:01:15.466 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "dosfstools", "lvm2", "e2fsprogs", "btrfs-progs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "10737418240", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 17:09:21 +0000 (0:00:00.035) 0:01:15.501 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "10737418240", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 17:09:21 +0000 (0:00:00.035) 0:01:15.537 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 17:09:21 +0000 (0:00:00.036) 0:01:15.573 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 17:09:21 +0000 (0:00:00.027) 0:01:15.601 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 17:09:21 +0000 (0:00:00.781) 0:01:16.382 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext4', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 17:09:22 +0000 (0:00:00.462) 0:01:16.844 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 17:09:23 +0000 (0:00:00.794) 0:01:17.639 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "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": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 17:09:23 +0000 (0:00:00.421) 0:01:18.061 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 17:09:23 +0000 (0:00:00.022) 0:01:18.084 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:134 Thursday 21 July 2022 17:09:24 +0000 (0:00:00.981) 0:01:19.065 ********* included: /tmp/tmpmb3dyg70/tests/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:1 Thursday 21 July 2022 17:09:24 +0000 (0:00:00.037) 0:01:19.103 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "10737418240", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:6 Thursday 21 July 2022 17:09:24 +0000 (0:00:00.076) 0:01:19.179 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:14 Thursday 21 July 2022 17:09:24 +0000 (0:00:00.027) 0:01:19.207 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "10G", "type": "lvm", "uuid": "dfec3fa3-ebf1-46a7-a7d7-43188da2358d" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "GIDiaV-t8cL-W1Km-Pi8h-BEWu-jPe7-2Lkodm" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-17-07-52-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": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/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": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/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": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/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/tmpmb3dyg70/tests/verify-role-results.yml:19 Thursday 21 July 2022 17:09:25 +0000 (0:00:00.443) 0:01:19.650 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003842", "end": "2022-07-21 17:09:25.046930", "rc": 0, "start": "2022-07-21 17:09:25.043088" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 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=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /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/foo-test1 /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:24 Thursday 21 July 2022 17:09:25 +0000 (0:00:00.421) 0:01:20.072 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:01.005077", "end": "2022-07-21 17:09:26.480472", "failed_when_result": false, "rc": 0, "start": "2022-07-21 17:09:25.475395" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:33 Thursday 21 July 2022 17:09:27 +0000 (0:00:01.435) 0:01:21.507 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '10737418240', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:5 Thursday 21 July 2022 17:09:27 +0000 (0:00:00.051) 0:01:21.558 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:18 Thursday 21 July 2022 17:09:27 +0000 (0:00:00.035) 0:01:21.594 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:09:27 +0000 (0:00:00.048) 0:01:21.642 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 17:09:27 +0000 (0:00:00.045) 0:01:21.687 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:09:27 +0000 (0:00:00.427) 0:01:22.114 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:09:27 +0000 (0:00:00.039) 0:01:22.154 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 17:09:27 +0000 (0:00:00.042) 0:01:22.197 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 17:09:27 +0000 (0:00:00.076) 0:01:22.273 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 17:09:27 +0000 (0:00:00.042) 0:01:22.315 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 17:09:27 +0000 (0:00:00.039) 0:01:22.355 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 17:09:27 +0000 (0:00:00.023) 0:01:22.379 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:09:28 +0000 (0:00:00.079) 0:01:22.458 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:6 Thursday 21 July 2022 17:09:28 +0000 (0:00:00.051) 0:01:22.509 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:12 Thursday 21 July 2022 17:09:28 +0000 (0:00:00.029) 0:01:22.539 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:16 Thursday 21 July 2022 17:09:28 +0000 (0:00:00.077) 0:01:22.616 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:20 Thursday 21 July 2022 17:09:28 +0000 (0:00:00.027) 0:01:22.644 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:24 Thursday 21 July 2022 17:09:28 +0000 (0:00:00.027) 0:01:22.671 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:30 Thursday 21 July 2022 17:09:28 +0000 (0:00:00.026) 0:01:22.697 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:36 Thursday 21 July 2022 17:09:28 +0000 (0:00:00.028) 0:01:22.726 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:44 Thursday 21 July 2022 17:09:28 +0000 (0:00:00.026) 0:01:22.752 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:09:28 +0000 (0:00:00.037) 0:01:22.789 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:09:28 +0000 (0:00:00.046) 0:01:22.836 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml for /cache/fedora-36.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '10737418240', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:09:28 +0000 (0:00:00.045) 0:01:22.881 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:09:28 +0000 (0:00:00.030) 0:01:22.912 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:09:28 +0000 (0:00:00.029) 0:01:22.941 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:09:28 +0000 (0:00:00.028) 0:01:22.970 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:09:28 +0000 (0:00:00.046) 0:01:23.017 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml for /cache/fedora-36.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '10737418240', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:09:28 +0000 (0:00:00.045) 0:01:23.062 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:09:28 +0000 (0:00:00.023) 0:01:23.086 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:09:28 +0000 (0:00:00.022) 0:01:23.109 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:09:28 +0000 (0:00:00.023) 0:01:23.132 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:09:28 +0000 (0:00:00.021) 0:01:23.154 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:09:28 +0000 (0:00:00.045) 0:01:23.200 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:09:28 +0000 (0:00:00.036) 0:01:23.236 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:09:28 +0000 (0:00:00.024) 0:01:23.261 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 17:09:28 +0000 (0:00:00.049) 0:01:23.310 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 17:09:28 +0000 (0:00:00.040) 0:01:23.350 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 17:09:28 +0000 (0:00:00.038) 0:01:23.389 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 17:09:28 +0000 (0:00:00.024) 0:01:23.413 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 17:09:28 +0000 (0:00:00.028) 0:01:23.442 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 17:09:29 +0000 (0:00:00.028) 0:01:23.470 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:09:29 +0000 (0:00:00.037) 0:01:23.507 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 17:09:29 +0000 (0:00:00.038) 0:01:23.545 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:09:29 +0000 (0:00:00.052) 0:01:23.598 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml for /cache/fedora-36.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '10737418240', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:09:29 +0000 (0:00:00.046) 0:01:23.645 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:09:29 +0000 (0:00:00.025) 0:01:23.671 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:09:29 +0000 (0:00:00.027) 0:01:23.698 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:09:29 +0000 (0:00:00.025) 0:01:23.723 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:09:29 +0000 (0:00:00.025) 0:01:23.749 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:09:29 +0000 (0:00:00.061) 0:01:23.811 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:09:29 +0000 (0:00:00.025) 0:01:23.836 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:09:29 +0000 (0:00:00.025) 0:01:23.862 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 17:09:29 +0000 (0:00:00.035) 0:01:23.897 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:09:29 +0000 (0:00:00.040) 0:01:23.937 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml for /cache/fedora-36.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '10737418240', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:2 Thursday 21 July 2022 17:09:29 +0000 (0:00:00.042) 0:01:23.980 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume.yml:10 Thursday 21 July 2022 17:09:29 +0000 (0:00:00.037) 0:01:24.017 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:09:29 +0000 (0:00:00.077) 0:01:24.095 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 17:09:29 +0000 (0:00:00.041) 0:01:24.136 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2422023, "block_size": 4096, "block_total": 2557143, "block_used": 135120, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 9920606208, "size_total": 10474057728, "uuid": "dfec3fa3-ebf1-46a7-a7d7-43188da2358d" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2422023, "block_size": 4096, "block_total": 2557143, "block_used": 135120, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 9920606208, "size_total": 10474057728, "uuid": "dfec3fa3-ebf1-46a7-a7d7-43188da2358d" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 17:09:29 +0000 (0:00:00.043) 0:01:24.180 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:09:29 +0000 (0:00:00.038) 0:01:24.218 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 17:09:29 +0000 (0:00:00.037) 0:01:24.255 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 17:09:29 +0000 (0:00:00.040) 0:01:24.296 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 17:09:29 +0000 (0:00:00.025) 0:01:24.321 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 17:09:29 +0000 (0:00:00.025) 0:01:24.347 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 17:09:29 +0000 (0:00:00.025) 0:01:24.372 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:09:29 +0000 (0:00:00.044) 0:01:24.416 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:09:30 +0000 (0:00:00.059) 0:01:24.476 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 17:09:30 +0000 (0:00:00.048) 0:01:24.525 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 17:09:30 +0000 (0:00:00.052) 0:01:24.577 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 17:09:30 +0000 (0:00:00.026) 0:01:24.604 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:09:30 +0000 (0:00:00.036) 0:01:24.641 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:09:30 +0000 (0:00:00.040) 0:01:24.681 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:09:30 +0000 (0:00:00.043) 0:01:24.724 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658423361.812376, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658423360.329376, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 862, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658423360.329376, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:09:30 +0000 (0:00:00.420) 0:01:25.145 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 17:09:30 +0000 (0:00:00.040) 0:01:25.185 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 17:09:30 +0000 (0:00:00.039) 0:01:25.224 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 17:09:30 +0000 (0:00:00.033) 0:01:25.258 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 17:09:30 +0000 (0:00:00.025) 0:01:25.284 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:09:30 +0000 (0:00:00.041) 0:01:25.325 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:09:30 +0000 (0:00:00.027) 0:01:25.352 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:09:32 +0000 (0:00:01.990) 0:01:27.342 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:09:32 +0000 (0:00:00.068) 0:01:27.410 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 17:09:32 +0000 (0:00:00.025) 0:01:27.436 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 17:09:33 +0000 (0:00:00.043) 0:01:27.479 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:09:33 +0000 (0:00:00.024) 0:01:27.504 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 17:09:33 +0000 (0:00:00.028) 0:01:27.533 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 17:09:33 +0000 (0:00:00.025) 0:01:27.558 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 17:09:33 +0000 (0:00:00.028) 0:01:27.587 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:09:33 +0000 (0:00:00.032) 0:01:27.620 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 17:09:33 +0000 (0:00:00.043) 0:01:27.664 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 17:09:33 +0000 (0:00:00.040) 0:01:27.704 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 17:09:33 +0000 (0:00:00.027) 0:01:27.732 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 17:09:33 +0000 (0:00:00.026) 0:01:27.758 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 17:09:33 +0000 (0:00:00.028) 0:01:27.787 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:09:33 +0000 (0:00:00.038) 0:01:27.826 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:09:33 +0000 (0:00:00.025) 0:01:27.852 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:09:33 +0000 (0:00:00.028) 0:01:27.880 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:09:33 +0000 (0:00:00.028) 0:01:27.909 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:09:33 +0000 (0:00:00.036) 0:01:27.946 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:09:33 +0000 (0:00:00.027) 0:01:27.973 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:09:33 +0000 (0:00:00.028) 0:01:28.002 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:09:33 +0000 (0:00:00.029) 0:01:28.031 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 10737418240, "changed": false, "lvm": "10g", "parted": "10GiB", "size": "10 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:09:33 +0000 (0:00:00.421) 0:01:28.453 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 10737418240, "changed": false, "lvm": "10g", "parted": "10GiB", "size": "10 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:09:34 +0000 (0:00:00.411) 0:01:28.865 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "10737418240" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:09:34 +0000 (0:00:00.041) 0:01:28.907 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "10737418240" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:09:34 +0000 (0:00:00.039) 0:01:28.946 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:09:34 +0000 (0:00:00.025) 0:01:28.972 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:09:34 +0000 (0:00:00.030) 0:01:29.002 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:09:34 +0000 (0:00:00.025) 0:01:29.027 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:09:34 +0000 (0:00:00.028) 0:01:29.055 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:09:34 +0000 (0:00:00.026) 0:01:29.082 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 10737418240, "changed": false, "failed": false, "lvm": "10g", "parted": "10GiB", "size": "10 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:09:34 +0000 (0:00:00.039) 0:01:29.122 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "10737418240" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:09:34 +0000 (0:00:00.036) 0:01:29.159 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:09:34 +0000 (0:00:00.077) 0:01:29.236 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.040865", "end": "2022-07-21 17:09:34.706169", "rc": 0, "start": "2022-07-21 17:09:34.665304" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:09:35 +0000 (0:00:00.495) 0:01:29.732 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:09:35 +0000 (0:00:00.040) 0:01:29.772 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:09:35 +0000 (0:00:00.044) 0:01:29.816 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:09:35 +0000 (0:00:00.028) 0:01:29.844 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:09:35 +0000 (0:00:00.025) 0:01:29.870 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:09:35 +0000 (0:00:00.025) 0:01:29.896 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:16 Thursday 21 July 2022 17:09:35 +0000 (0:00:00.025) 0:01:29.921 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:43 Thursday 21 July 2022 17:09:35 +0000 (0:00:00.035) 0:01:29.957 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:53 Thursday 21 July 2022 17:09:35 +0000 (0:00:00.021) 0:01:29.978 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Try to create LVM with an invalid size specification, resize to "xyz GiB"] *** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:138 Thursday 21 July 2022 17:09:35 +0000 (0:00:00.036) 0:01:30.014 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:09:35 +0000 (0:00:00.043) 0:01:30.058 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:09:35 +0000 (0:00:00.036) 0:01:30.095 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:09:36 +0000 (0:00:00.560) 0:01:30.655 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:09:36 +0000 (0:00:00.068) 0:01:30.723 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:09:36 +0000 (0:00:00.037) 0:01:30.761 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:09:36 +0000 (0:00:00.034) 0:01:30.795 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:09:36 +0000 (0:00:00.046) 0:01:30.842 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:09:36 +0000 (0:00:00.019) 0:01:30.862 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:09:36 +0000 (0:00:00.026) 0:01:30.888 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "xyz GiB" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:09:36 +0000 (0:00:00.041) 0:01:30.930 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:09:36 +0000 (0:00:00.059) 0:01:30.990 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:09:36 +0000 (0:00:00.033) 0:01:31.024 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:09:36 +0000 (0:00:00.030) 0:01:31.054 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:09:36 +0000 (0:00:00.030) 0:01:31.085 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:09:36 +0000 (0:00:00.029) 0:01:31.115 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:09:36 +0000 (0:00:00.048) 0:01:31.163 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:09:36 +0000 (0:00:00.021) 0:01:31.184 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: invalid size specification for volume in pool 'foo' TASK [linux-system-roles.storage : failed message] ***************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:99 Thursday 21 July 2022 17:09:38 +0000 (0:00:02.093) 0:01:33.278 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "invalid size specification for volume in pool 'foo'", 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': None, 'fs_label': '', 'fs_type': 'ext4', 'mount_options': None, 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 'xyz GiB', 'state': 'present', 'type': None, 'cached': None, 'cache_devices': [], 'cache_mode': None, 'cache_size': None, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None}], 'raid_chunk_size': None}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': False, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:09:38 +0000 (0:00:00.077) 0:01:33.356 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:156 Thursday 21 July 2022 17:09:38 +0000 (0:00:00.023) 0:01:33.379 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:162 Thursday 21 July 2022 17:09:38 +0000 (0:00:00.073) 0:01:33.453 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Try to create LVM with an invalid size specification, resize to "none"] *** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:171 Thursday 21 July 2022 17:09:39 +0000 (0:00:00.122) 0:01:33.575 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:09:39 +0000 (0:00:00.040) 0:01:33.615 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:09:39 +0000 (0:00:00.038) 0:01:33.654 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:09:39 +0000 (0:00:00.553) 0:01:34.207 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:09:39 +0000 (0:00:00.063) 0:01:34.271 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:09:39 +0000 (0:00:00.035) 0:01:34.307 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:09:39 +0000 (0:00:00.038) 0:01:34.346 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:09:39 +0000 (0:00:00.049) 0:01:34.395 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:09:39 +0000 (0:00:00.022) 0:01:34.417 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:09:39 +0000 (0:00:00.031) 0:01:34.448 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "none" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:09:40 +0000 (0:00:00.036) 0:01:34.485 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:09:40 +0000 (0:00:00.036) 0:01:34.522 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:09:40 +0000 (0:00:00.026) 0:01:34.549 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:09:40 +0000 (0:00:00.027) 0:01:34.576 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:09:40 +0000 (0:00:00.025) 0:01:34.602 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:09:40 +0000 (0:00:00.026) 0:01:34.629 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:09:40 +0000 (0:00:00.047) 0:01:34.676 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:09:40 +0000 (0:00:00.021) 0:01:34.698 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: invalid size specification for volume in pool 'foo' TASK [linux-system-roles.storage : failed message] ***************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:99 Thursday 21 July 2022 17:09:42 +0000 (0:00:02.038) 0:01:36.736 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "invalid size specification for volume in pool 'foo'", 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': None, 'fs_label': '', 'fs_type': 'ext4', 'mount_options': None, 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 'none', 'state': 'present', 'type': None, 'cached': None, 'cache_devices': [], 'cache_mode': None, 'cache_size': None, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None}], 'raid_chunk_size': None}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': False, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:09:42 +0000 (0:00:00.039) 0:01:36.775 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:189 Thursday 21 July 2022 17:09:42 +0000 (0:00:00.022) 0:01:36.798 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:195 Thursday 21 July 2022 17:09:42 +0000 (0:00:00.074) 0:01:36.873 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Clean up] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:202 Thursday 21 July 2022 17:09:42 +0000 (0:00:00.040) 0:01:36.913 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:09:42 +0000 (0:00:00.043) 0:01:36.957 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:09:42 +0000 (0:00:00.066) 0:01:37.024 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:09:43 +0000 (0:00:00.563) 0:01:37.587 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:09:43 +0000 (0:00:00.065) 0:01:37.652 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:09:43 +0000 (0:00:00.035) 0:01:37.688 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:09:43 +0000 (0:00:00.037) 0:01:37.726 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:09:43 +0000 (0:00:00.048) 0:01:37.774 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:09:43 +0000 (0:00:00.023) 0:01:37.798 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:09:43 +0000 (0:00:00.028) 0:01:37.827 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:09:43 +0000 (0:00:00.038) 0:01:37.865 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:09:43 +0000 (0:00:00.035) 0:01:37.901 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:09:43 +0000 (0:00:00.031) 0:01:37.933 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:09:43 +0000 (0:00:00.031) 0:01:37.965 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:09:43 +0000 (0:00:00.030) 0:01:37.996 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:09:43 +0000 (0:00:00.029) 0:01:38.025 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:09:43 +0000 (0:00:00.052) 0:01:38.078 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:09:43 +0000 (0:00:00.022) 0:01:38.101 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/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": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "btrfs-progs", "dosfstools", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 17:09:46 +0000 (0:00:02.902) 0:01:41.003 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:09:46 +0000 (0:00:00.027) 0:01:41.031 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 17:09:46 +0000 (0:00:00.022) 0:01:41.054 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/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": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "btrfs-progs", "dosfstools", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 17:09:46 +0000 (0:00:00.072) 0:01:41.126 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 17:09:46 +0000 (0:00:00.041) 0:01:41.168 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 17:09:46 +0000 (0:00:00.036) 0:01:41.205 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'ext4'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "fstype": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 17:09:47 +0000 (0:00:00.483) 0:01:41.688 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 17:09:47 +0000 (0:00:00.756) 0:01:42.445 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 17:09:48 +0000 (0:00:00.027) 0:01:42.472 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 17:09:48 +0000 (0:00:00.787) 0:01:43.260 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "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": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 17:09:49 +0000 (0:00:00.419) 0:01:43.679 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 17:09:49 +0000 (0:00:00.024) 0:01:43.703 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:215 Thursday 21 July 2022 17:09:50 +0000 (0:00:00.992) 0:01:44.696 ********* included: /tmp/tmpmb3dyg70/tests/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:1 Thursday 21 July 2022 17:09:50 +0000 (0:00:00.040) 0:01:44.736 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:6 Thursday 21 July 2022 17:09:50 +0000 (0:00:00.047) 0:01:44.784 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:14 Thursday 21 July 2022 17:09:50 +0000 (0:00:00.032) 0:01:44.816 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-17-07-52-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": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/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": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/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": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/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/tmpmb3dyg70/tests/verify-role-results.yml:19 Thursday 21 July 2022 17:09:50 +0000 (0:00:00.424) 0:01:45.240 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.004288", "end": "2022-07-21 17:09:51.611745", "rc": 0, "start": "2022-07-21 17:09:50.607457" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 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=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /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/tmpmb3dyg70/tests/verify-role-results.yml:24 Thursday 21 July 2022 17:09:52 +0000 (0:00:01.395) 0:01:46.636 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003697", "end": "2022-07-21 17:09:52.029212", "failed_when_result": false, "rc": 0, "start": "2022-07-21 17:09:52.025515" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:33 Thursday 21 July 2022 17:09:52 +0000 (0:00:00.426) 0:01:47.063 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'absent', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:5 Thursday 21 July 2022 17:09:52 +0000 (0:00:00.047) 0:01:47.110 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:18 Thursday 21 July 2022 17:09:52 +0000 (0:00:00.080) 0:01:47.191 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:09:52 +0000 (0:00:00.044) 0:01:47.235 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 17:09:52 +0000 (0:00:00.120) 0:01:47.356 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:09:52 +0000 (0:00:00.022) 0:01:47.379 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:09:52 +0000 (0:00:00.041) 0:01:47.421 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 17:09:53 +0000 (0:00:00.041) 0:01:47.462 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 17:09:53 +0000 (0:00:00.042) 0:01:47.505 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 17:09:53 +0000 (0:00:00.039) 0:01:47.544 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 17:09:53 +0000 (0:00:00.040) 0:01:47.584 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 17:09:53 +0000 (0:00:00.025) 0:01:47.610 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:09:53 +0000 (0:00:00.028) 0:01:47.639 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:6 Thursday 21 July 2022 17:09:53 +0000 (0:00:00.056) 0:01:47.695 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:12 Thursday 21 July 2022 17:09:53 +0000 (0:00:00.027) 0:01:47.723 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:16 Thursday 21 July 2022 17:09:53 +0000 (0:00:00.028) 0:01:47.751 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:20 Thursday 21 July 2022 17:09:53 +0000 (0:00:00.026) 0:01:47.778 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:24 Thursday 21 July 2022 17:09:53 +0000 (0:00:00.027) 0:01:47.805 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:30 Thursday 21 July 2022 17:09:53 +0000 (0:00:00.026) 0:01:47.832 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:36 Thursday 21 July 2022 17:09:53 +0000 (0:00:00.029) 0:01:47.861 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:44 Thursday 21 July 2022 17:09:53 +0000 (0:00:00.030) 0:01:47.892 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:09:53 +0000 (0:00:00.040) 0:01:47.932 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:09:53 +0000 (0:00:00.048) 0:01:47.981 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml for /cache/fedora-36.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:09:53 +0000 (0:00:00.042) 0:01:48.024 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:09:53 +0000 (0:00:00.028) 0:01:48.053 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:09:53 +0000 (0:00:00.038) 0:01:48.091 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:09:53 +0000 (0:00:00.031) 0:01:48.122 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:09:53 +0000 (0:00:00.045) 0:01:48.168 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml for /cache/fedora-36.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:09:53 +0000 (0:00:00.044) 0:01:48.212 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:09:53 +0000 (0:00:00.024) 0:01:48.237 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:09:53 +0000 (0:00:00.026) 0:01:48.263 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:09:53 +0000 (0:00:00.026) 0:01:48.289 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:09:53 +0000 (0:00:00.025) 0:01:48.315 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:09:53 +0000 (0:00:00.048) 0:01:48.363 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:09:53 +0000 (0:00:00.042) 0:01:48.405 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:09:53 +0000 (0:00:00.021) 0:01:48.427 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:09:53 +0000 (0:00:00.022) 0:01:48.449 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 17:09:54 +0000 (0:00:00.041) 0:01:48.491 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:09:54 +0000 (0:00:00.050) 0:01:48.542 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml for /cache/fedora-36.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:09:54 +0000 (0:00:00.087) 0:01:48.629 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:09:54 +0000 (0:00:00.025) 0:01:48.655 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:09:54 +0000 (0:00:00.024) 0:01:48.679 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:09:54 +0000 (0:00:00.027) 0:01:48.706 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:09:54 +0000 (0:00:00.028) 0:01:48.734 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:09:54 +0000 (0:00:00.024) 0:01:48.759 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:09:54 +0000 (0:00:00.026) 0:01:48.785 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:09:54 +0000 (0:00:00.026) 0:01:48.811 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 17:09:54 +0000 (0:00:00.042) 0:01:48.854 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:09:54 +0000 (0:00:00.034) 0:01:48.888 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml for /cache/fedora-36.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:2 Thursday 21 July 2022 17:09:54 +0000 (0:00:00.042) 0:01:48.930 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume.yml:10 Thursday 21 July 2022 17:09:54 +0000 (0:00:00.040) 0:01:48.971 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:09:54 +0000 (0:00:00.079) 0:01:49.050 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 17:09:54 +0000 (0:00:00.039) 0:01:49.090 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 17:09:54 +0000 (0:00:00.049) 0:01:49.139 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:09:54 +0000 (0:00:00.023) 0:01:49.162 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 17:09:54 +0000 (0:00:00.039) 0:01:49.202 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 17:09:54 +0000 (0:00:00.024) 0:01:49.227 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 17:09:54 +0000 (0:00:00.023) 0:01:49.250 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 17:09:54 +0000 (0:00:00.023) 0:01:49.273 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 17:09:54 +0000 (0:00:00.023) 0:01:49.297 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:09:54 +0000 (0:00:00.033) 0:01:49.330 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:09:54 +0000 (0:00:00.053) 0:01:49.384 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 17:09:54 +0000 (0:00:00.026) 0:01:49.410 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 17:09:54 +0000 (0:00:00.038) 0:01:49.449 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 17:09:55 +0000 (0:00:00.033) 0:01:49.483 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:09:55 +0000 (0:00:00.041) 0:01:49.525 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:09:55 +0000 (0:00:00.027) 0:01:49.553 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:09:55 +0000 (0:00:00.024) 0:01:49.577 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:09:55 +0000 (0:00:00.419) 0:01:49.997 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 17:09:55 +0000 (0:00:00.050) 0:01:50.047 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 17:09:55 +0000 (0:00:00.037) 0:01:50.085 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 17:09:55 +0000 (0:00:00.108) 0:01:50.193 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 17:09:55 +0000 (0:00:00.080) 0:01:50.274 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:09:55 +0000 (0:00:00.025) 0:01:50.299 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:09:55 +0000 (0:00:00.025) 0:01:50.325 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:09:57 +0000 (0:00:02.009) 0:01:52.334 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:09:57 +0000 (0:00:00.026) 0:01:52.360 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 17:09:57 +0000 (0:00:00.025) 0:01:52.386 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 17:09:57 +0000 (0:00:00.026) 0:01:52.412 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:09:57 +0000 (0:00:00.025) 0:01:52.438 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 17:09:58 +0000 (0:00:00.026) 0:01:52.465 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 17:09:58 +0000 (0:00:00.025) 0:01:52.490 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 17:09:58 +0000 (0:00:00.026) 0:01:52.517 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:09:58 +0000 (0:00:00.026) 0:01:52.544 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 17:09:58 +0000 (0:00:00.040) 0:01:52.584 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 17:09:58 +0000 (0:00:00.039) 0:01:52.624 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 17:09:58 +0000 (0:00:00.027) 0:01:52.651 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 17:09:58 +0000 (0:00:00.033) 0:01:52.684 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 17:09:58 +0000 (0:00:00.025) 0:01:52.709 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:09:58 +0000 (0:00:00.037) 0:01:52.747 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:09:58 +0000 (0:00:00.029) 0:01:52.776 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:09:58 +0000 (0:00:00.032) 0:01:52.809 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:09:58 +0000 (0:00:00.029) 0:01:52.838 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:09:58 +0000 (0:00:00.027) 0:01:52.866 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:09:58 +0000 (0:00:00.025) 0:01:52.892 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:09:58 +0000 (0:00:00.029) 0:01:52.921 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:09:58 +0000 (0:00:00.025) 0:01:52.946 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:09:58 +0000 (0:00:00.023) 0:01:52.970 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:09:58 +0000 (0:00:00.027) 0:01:52.998 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:09:58 +0000 (0:00:00.030) 0:01:53.028 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "10737418240" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:09:58 +0000 (0:00:00.034) 0:01:53.062 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:09:58 +0000 (0:00:00.024) 0:01:53.087 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:09:58 +0000 (0:00:00.024) 0:01:53.111 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:09:58 +0000 (0:00:00.031) 0:01:53.143 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:09:58 +0000 (0:00:00.024) 0:01:53.167 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:09:58 +0000 (0:00:00.026) 0:01:53.194 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:09:58 +0000 (0:00:00.036) 0:01:53.230 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "10737418240" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:09:58 +0000 (0:00:00.037) 0:01:53.268 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:09:58 +0000 (0:00:00.024) 0:01:53.293 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:09:58 +0000 (0:00:00.023) 0:01:53.316 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:09:58 +0000 (0:00:00.023) 0:01:53.340 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:09:58 +0000 (0:00:00.024) 0:01:53.365 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:09:58 +0000 (0:00:00.023) 0:01:53.389 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:09:58 +0000 (0:00:00.025) 0:01:53.415 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:09:58 +0000 (0:00:00.025) 0:01:53.440 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:16 Thursday 21 July 2022 17:09:59 +0000 (0:00:00.025) 0:01:53.466 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:43 Thursday 21 July 2022 17:09:59 +0000 (0:00:00.036) 0:01:53.502 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:53 Thursday 21 July 2022 17:09:59 +0000 (0:00:00.023) 0:01:53.526 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Create a LVM logical volume with "5g" for ext3 FS] *********************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:219 Thursday 21 July 2022 17:09:59 +0000 (0:00:00.036) 0:01:53.562 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:09:59 +0000 (0:00:00.059) 0:01:53.622 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:09:59 +0000 (0:00:00.038) 0:01:53.661 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:09:59 +0000 (0:00:00.612) 0:01:54.274 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:09:59 +0000 (0:00:00.063) 0:01:54.337 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:09:59 +0000 (0:00:00.038) 0:01:54.376 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:09:59 +0000 (0:00:00.039) 0:01:54.415 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:10:00 +0000 (0:00:00.054) 0:01:54.470 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:10:00 +0000 (0:00:00.020) 0:01:54.490 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:10:00 +0000 (0:00:00.040) 0:01:54.531 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext3", "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:10:00 +0000 (0:00:00.039) 0:01:54.570 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:10:00 +0000 (0:00:00.039) 0:01:54.610 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:10:00 +0000 (0:00:00.029) 0:01:54.639 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:10:00 +0000 (0:00:00.033) 0:01:54.672 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:10:00 +0000 (0:00:00.026) 0:01:54.699 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:10:00 +0000 (0:00:00.027) 0:01:54.726 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:10:00 +0000 (0:00:00.050) 0:01:54.777 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:10:00 +0000 (0:00:00.025) 0:01:54.802 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "btrfs-progs", "lvm2", "e2fsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 17:10:02 +0000 (0:00:02.618) 0:01:57.421 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:10:03 +0000 (0:00:00.037) 0:01:57.459 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 17:10:03 +0000 (0:00:00.024) 0:01:57.483 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "btrfs-progs", "lvm2", "e2fsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 17:10:03 +0000 (0:00:00.040) 0:01:57.524 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 17:10:03 +0000 (0:00:00.042) 0:01:57.566 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 17:10:03 +0000 (0:00:00.042) 0:01:57.608 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 17:10:03 +0000 (0:00:00.030) 0:01:57.639 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 17:10:03 +0000 (0:00:00.809) 0:01:58.449 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext3', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext3", "mount_info": { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 17:10:04 +0000 (0:00:00.457) 0:01:58.907 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 17:10:05 +0000 (0:00:00.757) 0:01:59.664 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "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": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 17:10:05 +0000 (0:00:00.452) 0:02:00.116 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 17:10:05 +0000 (0:00:00.062) 0:02:00.178 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:233 Thursday 21 July 2022 17:10:06 +0000 (0:00:00.972) 0:02:01.151 ********* included: /tmp/tmpmb3dyg70/tests/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:1 Thursday 21 July 2022 17:10:06 +0000 (0:00:00.042) 0:02:01.193 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:6 Thursday 21 July 2022 17:10:06 +0000 (0:00:00.041) 0:02:01.235 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:14 Thursday 21 July 2022 17:10:06 +0000 (0:00:00.025) 0:02:01.260 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext3", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "cb9decfb-8ccf-4e08-a1c9-693f20a9b261" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "WjntIu-W8wR-p5Wg-Yt4k-qLOa-QC2T-uW5s4X" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-17-07-52-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": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/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": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/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": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/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/tmpmb3dyg70/tests/verify-role-results.yml:19 Thursday 21 July 2022 17:10:07 +0000 (0:00:00.448) 0:02:01.709 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003495", "end": "2022-07-21 17:10:07.114132", "rc": 0, "start": "2022-07-21 17:10:07.110637" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 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=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /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/foo-test1 /opt/test1 ext3 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:24 Thursday 21 July 2022 17:10:07 +0000 (0:00:00.430) 0:02:02.139 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003452", "end": "2022-07-21 17:10:07.526547", "failed_when_result": false, "rc": 0, "start": "2022-07-21 17:10:07.523095" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:33 Thursday 21 July 2022 17:10:08 +0000 (0:00:00.413) 0:02:02.554 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:5 Thursday 21 July 2022 17:10:08 +0000 (0:00:00.052) 0:02:02.606 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:18 Thursday 21 July 2022 17:10:08 +0000 (0:00:00.034) 0:02:02.641 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:10:08 +0000 (0:00:00.049) 0:02:02.690 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 17:10:08 +0000 (0:00:00.088) 0:02:02.779 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:10:08 +0000 (0:00:00.420) 0:02:03.200 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:10:08 +0000 (0:00:00.087) 0:02:03.287 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 17:10:08 +0000 (0:00:00.086) 0:02:03.374 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 17:10:08 +0000 (0:00:00.041) 0:02:03.416 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 17:10:09 +0000 (0:00:00.085) 0:02:03.501 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 17:10:09 +0000 (0:00:00.118) 0:02:03.620 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 17:10:09 +0000 (0:00:00.027) 0:02:03.647 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:10:09 +0000 (0:00:00.046) 0:02:03.694 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:6 Thursday 21 July 2022 17:10:09 +0000 (0:00:00.045) 0:02:03.739 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:12 Thursday 21 July 2022 17:10:09 +0000 (0:00:00.033) 0:02:03.773 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:16 Thursday 21 July 2022 17:10:09 +0000 (0:00:00.032) 0:02:03.806 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:20 Thursday 21 July 2022 17:10:09 +0000 (0:00:00.028) 0:02:03.834 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:24 Thursday 21 July 2022 17:10:09 +0000 (0:00:00.027) 0:02:03.862 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:30 Thursday 21 July 2022 17:10:09 +0000 (0:00:00.026) 0:02:03.889 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:36 Thursday 21 July 2022 17:10:09 +0000 (0:00:00.026) 0:02:03.915 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:44 Thursday 21 July 2022 17:10:09 +0000 (0:00:00.027) 0:02:03.943 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:10:09 +0000 (0:00:00.035) 0:02:03.978 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:10:09 +0000 (0:00:00.048) 0:02:04.027 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml for /cache/fedora-36.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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:10:09 +0000 (0:00:00.044) 0:02:04.071 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:10:09 +0000 (0:00:00.028) 0:02:04.100 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:10:09 +0000 (0:00:00.031) 0:02:04.131 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:10:09 +0000 (0:00:00.031) 0:02:04.163 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:10:09 +0000 (0:00:00.046) 0:02:04.209 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml for /cache/fedora-36.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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:10:09 +0000 (0:00:00.044) 0:02:04.254 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:10:09 +0000 (0:00:00.023) 0:02:04.278 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:10:09 +0000 (0:00:00.023) 0:02:04.301 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:10:09 +0000 (0:00:00.022) 0:02:04.324 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:10:09 +0000 (0:00:00.026) 0:02:04.350 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:10:09 +0000 (0:00:00.048) 0:02:04.399 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:10:09 +0000 (0:00:00.041) 0:02:04.441 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:10:10 +0000 (0:00:00.029) 0:02:04.470 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 17:10:10 +0000 (0:00:00.044) 0:02:04.515 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 17:10:10 +0000 (0:00:00.053) 0:02:04.568 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 17:10:10 +0000 (0:00:00.040) 0:02:04.608 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 17:10:10 +0000 (0:00:00.027) 0:02:04.636 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 17:10:10 +0000 (0:00:00.027) 0:02:04.664 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 17:10:10 +0000 (0:00:00.028) 0:02:04.693 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:10:10 +0000 (0:00:00.036) 0:02:04.730 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 17:10:10 +0000 (0:00:00.077) 0:02:04.807 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:10:10 +0000 (0:00:00.088) 0:02:04.895 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml for /cache/fedora-36.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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:10:10 +0000 (0:00:00.046) 0:02:04.942 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:10:10 +0000 (0:00:00.027) 0:02:04.970 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:10:10 +0000 (0:00:00.026) 0:02:04.996 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:10:10 +0000 (0:00:00.024) 0:02:05.021 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:10:10 +0000 (0:00:00.025) 0:02:05.046 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:10:10 +0000 (0:00:00.028) 0:02:05.075 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:10:10 +0000 (0:00:00.028) 0:02:05.103 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:10:10 +0000 (0:00:00.026) 0:02:05.130 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 17:10:10 +0000 (0:00:00.038) 0:02:05.168 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:10:10 +0000 (0:00:00.041) 0:02:05.210 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml for /cache/fedora-36.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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:2 Thursday 21 July 2022 17:10:10 +0000 (0:00:00.044) 0:02:05.254 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume.yml:10 Thursday 21 July 2022 17:10:10 +0000 (0:00:00.049) 0:02:05.304 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:10:10 +0000 (0:00:00.085) 0:02:05.390 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 17:10:10 +0000 (0:00:00.046) 0:02:05.436 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1205649, "block_size": 4096, "block_total": 1271208, "block_used": 65559, "device": "/dev/mapper/foo-test1", "fstype": "ext3", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 4938338304, "size_total": 5206867968, "uuid": "cb9decfb-8ccf-4e08-a1c9-693f20a9b261" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1205649, "block_size": 4096, "block_total": 1271208, "block_used": 65559, "device": "/dev/mapper/foo-test1", "fstype": "ext3", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 4938338304, "size_total": 5206867968, "uuid": "cb9decfb-8ccf-4e08-a1c9-693f20a9b261" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 17:10:11 +0000 (0:00:00.050) 0:02:05.487 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:10:11 +0000 (0:00:00.042) 0:02:05.529 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 17:10:11 +0000 (0:00:00.049) 0:02:05.578 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 17:10:11 +0000 (0:00:00.042) 0:02:05.621 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 17:10:11 +0000 (0:00:00.024) 0:02:05.646 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 17:10:11 +0000 (0:00:00.025) 0:02:05.671 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 17:10:11 +0000 (0:00:00.026) 0:02:05.697 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:10:11 +0000 (0:00:00.037) 0:02:05.735 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext3 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:10:11 +0000 (0:00:00.051) 0:02:05.787 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 17:10:11 +0000 (0:00:00.041) 0:02:05.828 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 17:10:11 +0000 (0:00:00.041) 0:02:05.870 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 17:10:11 +0000 (0:00:00.029) 0:02:05.899 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:10:11 +0000 (0:00:00.038) 0:02:05.938 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:10:11 +0000 (0:00:00.041) 0:02:05.979 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:10:11 +0000 (0:00:00.040) 0:02:06.020 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658423403.887376, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658423402.331376, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1557, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658423402.331376, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:10:12 +0000 (0:00:00.434) 0:02:06.454 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 17:10:12 +0000 (0:00:00.141) 0:02:06.595 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 17:10:12 +0000 (0:00:00.038) 0:02:06.634 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 17:10:12 +0000 (0:00:00.040) 0:02:06.674 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 17:10:12 +0000 (0:00:00.024) 0:02:06.699 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:10:12 +0000 (0:00:00.040) 0:02:06.740 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:10:12 +0000 (0:00:00.024) 0:02:06.764 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:10:14 +0000 (0:00:01.976) 0:02:08.740 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:10:14 +0000 (0:00:00.026) 0:02:08.767 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 17:10:14 +0000 (0:00:00.025) 0:02:08.793 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 17:10:14 +0000 (0:00:00.044) 0:02:08.837 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:10:14 +0000 (0:00:00.026) 0:02:08.863 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 17:10:14 +0000 (0:00:00.026) 0:02:08.890 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 17:10:14 +0000 (0:00:00.026) 0:02:08.916 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 17:10:14 +0000 (0:00:00.025) 0:02:08.941 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:10:14 +0000 (0:00:00.028) 0:02:08.970 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 17:10:14 +0000 (0:00:00.040) 0:02:09.010 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 17:10:14 +0000 (0:00:00.040) 0:02:09.051 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 17:10:14 +0000 (0:00:00.028) 0:02:09.080 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 17:10:14 +0000 (0:00:00.028) 0:02:09.108 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 17:10:14 +0000 (0:00:00.028) 0:02:09.136 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:10:14 +0000 (0:00:00.038) 0:02:09.175 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:10:14 +0000 (0:00:00.028) 0:02:09.204 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:10:14 +0000 (0:00:00.029) 0:02:09.234 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:10:14 +0000 (0:00:00.026) 0:02:09.260 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:10:14 +0000 (0:00:00.028) 0:02:09.289 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:10:14 +0000 (0:00:00.027) 0:02:09.316 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:10:14 +0000 (0:00:00.029) 0:02:09.346 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:10:14 +0000 (0:00:00.037) 0:02:09.384 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:10:15 +0000 (0:00:00.480) 0:02:09.865 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:10:15 +0000 (0:00:00.414) 0:02:10.279 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:10:15 +0000 (0:00:00.043) 0:02:10.322 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:10:15 +0000 (0:00:00.040) 0:02:10.363 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:10:15 +0000 (0:00:00.030) 0:02:10.394 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:10:15 +0000 (0:00:00.028) 0:02:10.423 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:10:15 +0000 (0:00:00.026) 0:02:10.449 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:10:16 +0000 (0:00:00.025) 0:02:10.475 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:10:16 +0000 (0:00:00.027) 0:02:10.502 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:10:16 +0000 (0:00:00.034) 0:02:10.536 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:10:16 +0000 (0:00:00.035) 0:02:10.572 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:10:16 +0000 (0:00:00.042) 0:02:10.615 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.041650", "end": "2022-07-21 17:10:16.054749", "rc": 0, "start": "2022-07-21 17:10:16.013099" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:10:16 +0000 (0:00:00.468) 0:02:11.083 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:10:16 +0000 (0:00:00.043) 0:02:11.127 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:10:16 +0000 (0:00:00.044) 0:02:11.171 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:10:16 +0000 (0:00:00.033) 0:02:11.205 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:10:16 +0000 (0:00:00.029) 0:02:11.234 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:10:16 +0000 (0:00:00.027) 0:02:11.262 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:16 Thursday 21 July 2022 17:10:16 +0000 (0:00:00.027) 0:02:11.289 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:43 Thursday 21 July 2022 17:10:16 +0000 (0:00:00.036) 0:02:11.326 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:53 Thursday 21 July 2022 17:10:16 +0000 (0:00:00.021) 0:02:11.347 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change volume size to "9g"] ********************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:235 Thursday 21 July 2022 17:10:16 +0000 (0:00:00.034) 0:02:11.382 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:10:16 +0000 (0:00:00.053) 0:02:11.435 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:10:17 +0000 (0:00:00.037) 0:02:11.473 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:10:17 +0000 (0:00:00.555) 0:02:12.028 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:10:17 +0000 (0:00:00.100) 0:02:12.129 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:10:17 +0000 (0:00:00.037) 0:02:12.166 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:10:17 +0000 (0:00:00.037) 0:02:12.203 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:10:17 +0000 (0:00:00.050) 0:02:12.253 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:10:17 +0000 (0:00:00.022) 0:02:12.276 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:10:17 +0000 (0:00:00.031) 0:02:12.307 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext3", "mount_point": "/opt/test1", "name": "test1", "size": "9g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:10:17 +0000 (0:00:00.038) 0:02:12.346 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:10:17 +0000 (0:00:00.035) 0:02:12.381 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:10:17 +0000 (0:00:00.026) 0:02:12.408 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:10:17 +0000 (0:00:00.030) 0:02:12.438 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:10:18 +0000 (0:00:00.029) 0:02:12.467 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:10:18 +0000 (0:00:00.029) 0:02:12.496 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:10:18 +0000 (0:00:00.049) 0:02:12.546 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:10:18 +0000 (0:00:00.023) 0:02:12.570 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "btrfs-progs", "lvm2", "dosfstools", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 17:10:21 +0000 (0:00:02.999) 0:02:15.569 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:10:21 +0000 (0:00:00.029) 0:02:15.598 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 17:10:21 +0000 (0:00:00.022) 0:02:15.621 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "btrfs-progs", "lvm2", "dosfstools", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 17:10:21 +0000 (0:00:00.039) 0:02:15.660 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 17:10:21 +0000 (0:00:00.046) 0:02:15.706 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 17:10:21 +0000 (0:00:00.036) 0:02:15.743 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 17:10:21 +0000 (0:00:00.029) 0:02:15.772 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 17:10:22 +0000 (0:00:00.815) 0:02:16.588 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext3', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext3", "mount_info": { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 17:10:22 +0000 (0:00:00.503) 0:02:17.091 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 17:10:23 +0000 (0:00:00.835) 0:02:17.927 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "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": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 17:10:23 +0000 (0:00:00.420) 0:02:18.348 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 17:10:23 +0000 (0:00:00.025) 0:02:18.373 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:249 Thursday 21 July 2022 17:10:24 +0000 (0:00:00.997) 0:02:19.370 ********* included: /tmp/tmpmb3dyg70/tests/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:1 Thursday 21 July 2022 17:10:24 +0000 (0:00:00.046) 0:02:19.417 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:6 Thursday 21 July 2022 17:10:25 +0000 (0:00:00.044) 0:02:19.461 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:14 Thursday 21 July 2022 17:10:25 +0000 (0:00:00.025) 0:02:19.486 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext3", "label": "", "name": "/dev/mapper/foo-test1", "size": "9G", "type": "lvm", "uuid": "cb9decfb-8ccf-4e08-a1c9-693f20a9b261" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "WjntIu-W8wR-p5Wg-Yt4k-qLOa-QC2T-uW5s4X" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-17-07-52-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": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/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": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/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": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/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/tmpmb3dyg70/tests/verify-role-results.yml:19 Thursday 21 July 2022 17:10:25 +0000 (0:00:00.457) 0:02:19.943 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003315", "end": "2022-07-21 17:10:25.327040", "rc": 0, "start": "2022-07-21 17:10:25.323725" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 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=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /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/foo-test1 /opt/test1 ext3 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:24 Thursday 21 July 2022 17:10:25 +0000 (0:00:00.410) 0:02:20.353 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003539", "end": "2022-07-21 17:10:25.743094", "failed_when_result": false, "rc": 0, "start": "2022-07-21 17:10:25.739555" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:33 Thursday 21 July 2022 17:10:26 +0000 (0:00:00.416) 0:02:20.770 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:5 Thursday 21 July 2022 17:10:26 +0000 (0:00:00.048) 0:02:20.818 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:18 Thursday 21 July 2022 17:10:26 +0000 (0:00:00.034) 0:02:20.853 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:10:26 +0000 (0:00:00.045) 0:02:20.899 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 17:10:26 +0000 (0:00:00.045) 0:02:20.944 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:10:26 +0000 (0:00:00.407) 0:02:21.351 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:10:26 +0000 (0:00:00.082) 0:02:21.434 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 17:10:27 +0000 (0:00:00.083) 0:02:21.518 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 17:10:27 +0000 (0:00:00.043) 0:02:21.562 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 17:10:27 +0000 (0:00:00.042) 0:02:21.605 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 17:10:27 +0000 (0:00:00.041) 0:02:21.647 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 17:10:27 +0000 (0:00:00.026) 0:02:21.673 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:10:27 +0000 (0:00:00.043) 0:02:21.717 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:6 Thursday 21 July 2022 17:10:27 +0000 (0:00:00.045) 0:02:21.762 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:12 Thursday 21 July 2022 17:10:27 +0000 (0:00:00.026) 0:02:21.789 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:16 Thursday 21 July 2022 17:10:27 +0000 (0:00:00.033) 0:02:21.822 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:20 Thursday 21 July 2022 17:10:27 +0000 (0:00:00.030) 0:02:21.853 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:24 Thursday 21 July 2022 17:10:27 +0000 (0:00:00.026) 0:02:21.880 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:30 Thursday 21 July 2022 17:10:27 +0000 (0:00:00.026) 0:02:21.907 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:36 Thursday 21 July 2022 17:10:27 +0000 (0:00:00.026) 0:02:21.933 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:44 Thursday 21 July 2022 17:10:27 +0000 (0:00:00.028) 0:02:21.962 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:10:27 +0000 (0:00:00.037) 0:02:21.999 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:10:27 +0000 (0:00:00.046) 0:02:22.046 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml for /cache/fedora-36.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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:10:27 +0000 (0:00:00.044) 0:02:22.090 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:10:27 +0000 (0:00:00.030) 0:02:22.121 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:10:27 +0000 (0:00:00.029) 0:02:22.151 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:10:27 +0000 (0:00:00.031) 0:02:22.182 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:10:27 +0000 (0:00:00.046) 0:02:22.229 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml for /cache/fedora-36.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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:10:27 +0000 (0:00:00.047) 0:02:22.276 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:10:27 +0000 (0:00:00.026) 0:02:22.303 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:10:27 +0000 (0:00:00.026) 0:02:22.329 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:10:27 +0000 (0:00:00.026) 0:02:22.355 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:10:27 +0000 (0:00:00.027) 0:02:22.382 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:10:27 +0000 (0:00:00.047) 0:02:22.430 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:10:28 +0000 (0:00:00.042) 0:02:22.473 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:10:28 +0000 (0:00:00.026) 0:02:22.499 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 17:10:28 +0000 (0:00:00.041) 0:02:22.540 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 17:10:28 +0000 (0:00:00.039) 0:02:22.580 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 17:10:28 +0000 (0:00:00.039) 0:02:22.619 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 17:10:28 +0000 (0:00:00.027) 0:02:22.647 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 17:10:28 +0000 (0:00:00.026) 0:02:22.673 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 17:10:28 +0000 (0:00:00.029) 0:02:22.703 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:10:28 +0000 (0:00:00.089) 0:02:22.793 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 17:10:28 +0000 (0:00:00.035) 0:02:22.828 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:10:28 +0000 (0:00:00.049) 0:02:22.878 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml for /cache/fedora-36.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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:10:28 +0000 (0:00:00.046) 0:02:22.925 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:10:28 +0000 (0:00:00.025) 0:02:22.951 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:10:28 +0000 (0:00:00.028) 0:02:22.979 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:10:28 +0000 (0:00:00.025) 0:02:23.004 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:10:28 +0000 (0:00:00.024) 0:02:23.028 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:10:28 +0000 (0:00:00.024) 0:02:23.053 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:10:28 +0000 (0:00:00.024) 0:02:23.077 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:10:28 +0000 (0:00:00.023) 0:02:23.101 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 17:10:28 +0000 (0:00:00.033) 0:02:23.134 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:10:28 +0000 (0:00:00.033) 0:02:23.168 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml for /cache/fedora-36.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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:2 Thursday 21 July 2022 17:10:28 +0000 (0:00:00.042) 0:02:23.211 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume.yml:10 Thursday 21 July 2022 17:10:28 +0000 (0:00:00.036) 0:02:23.247 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:10:28 +0000 (0:00:00.077) 0:02:23.325 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 17:10:28 +0000 (0:00:00.043) 0:02:23.368 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2185028, "block_size": 4096, "block_total": 2303015, "block_used": 117987, "device": "/dev/mapper/foo-test1", "fstype": "ext3", "inode_available": 589813, "inode_total": 589824, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 8949874688, "size_total": 9433149440, "uuid": "cb9decfb-8ccf-4e08-a1c9-693f20a9b261" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2185028, "block_size": 4096, "block_total": 2303015, "block_used": 117987, "device": "/dev/mapper/foo-test1", "fstype": "ext3", "inode_available": 589813, "inode_total": 589824, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 8949874688, "size_total": 9433149440, "uuid": "cb9decfb-8ccf-4e08-a1c9-693f20a9b261" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 17:10:28 +0000 (0:00:00.047) 0:02:23.416 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:10:29 +0000 (0:00:00.040) 0:02:23.457 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 17:10:29 +0000 (0:00:00.043) 0:02:23.500 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 17:10:29 +0000 (0:00:00.045) 0:02:23.546 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 17:10:29 +0000 (0:00:00.025) 0:02:23.571 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 17:10:29 +0000 (0:00:00.023) 0:02:23.595 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 17:10:29 +0000 (0:00:00.025) 0:02:23.620 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:10:29 +0000 (0:00:00.036) 0:02:23.657 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext3 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:10:29 +0000 (0:00:00.048) 0:02:23.705 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 17:10:29 +0000 (0:00:00.043) 0:02:23.748 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 17:10:29 +0000 (0:00:00.040) 0:02:23.789 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 17:10:29 +0000 (0:00:00.028) 0:02:23.817 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:10:29 +0000 (0:00:00.036) 0:02:23.854 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:10:29 +0000 (0:00:00.039) 0:02:23.893 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:10:29 +0000 (0:00:00.040) 0:02:23.933 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658423422.062376, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658423420.478376, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1557, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658423420.478376, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:10:29 +0000 (0:00:00.441) 0:02:24.374 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 17:10:29 +0000 (0:00:00.052) 0:02:24.427 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 17:10:30 +0000 (0:00:00.047) 0:02:24.474 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 17:10:30 +0000 (0:00:00.041) 0:02:24.516 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 17:10:30 +0000 (0:00:00.026) 0:02:24.542 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:10:30 +0000 (0:00:00.042) 0:02:24.585 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:10:30 +0000 (0:00:00.025) 0:02:24.611 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:10:32 +0000 (0:00:02.083) 0:02:26.695 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:10:32 +0000 (0:00:00.028) 0:02:26.724 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 17:10:32 +0000 (0:00:00.024) 0:02:26.748 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 17:10:32 +0000 (0:00:00.045) 0:02:26.794 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:10:32 +0000 (0:00:00.025) 0:02:26.820 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 17:10:32 +0000 (0:00:00.028) 0:02:26.848 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 17:10:32 +0000 (0:00:00.027) 0:02:26.876 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 17:10:32 +0000 (0:00:00.028) 0:02:26.904 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:10:32 +0000 (0:00:00.024) 0:02:26.929 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 17:10:32 +0000 (0:00:00.043) 0:02:26.972 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 17:10:32 +0000 (0:00:00.041) 0:02:27.014 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 17:10:32 +0000 (0:00:00.028) 0:02:27.043 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 17:10:32 +0000 (0:00:00.025) 0:02:27.068 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 17:10:32 +0000 (0:00:00.028) 0:02:27.097 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:10:32 +0000 (0:00:00.036) 0:02:27.133 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:10:32 +0000 (0:00:00.033) 0:02:27.166 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:10:32 +0000 (0:00:00.027) 0:02:27.194 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:10:32 +0000 (0:00:00.029) 0:02:27.223 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:10:32 +0000 (0:00:00.025) 0:02:27.249 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:10:32 +0000 (0:00:00.025) 0:02:27.275 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:10:32 +0000 (0:00:00.026) 0:02:27.301 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:10:32 +0000 (0:00:00.027) 0:02:27.329 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:10:33 +0000 (0:00:00.435) 0:02:27.764 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:10:33 +0000 (0:00:00.485) 0:02:28.250 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "9663676416" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:10:33 +0000 (0:00:00.088) 0:02:28.339 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "9663676416" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:10:33 +0000 (0:00:00.095) 0:02:28.434 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:10:34 +0000 (0:00:00.030) 0:02:28.465 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:10:34 +0000 (0:00:00.027) 0:02:28.492 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:10:34 +0000 (0:00:00.029) 0:02:28.521 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:10:34 +0000 (0:00:00.094) 0:02:28.616 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:10:34 +0000 (0:00:00.029) 0:02:28.645 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 9663676416, "changed": false, "failed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:10:34 +0000 (0:00:00.041) 0:02:28.686 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "9663676416" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:10:34 +0000 (0:00:00.040) 0:02:28.727 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:10:34 +0000 (0:00:00.044) 0:02:28.771 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.040703", "end": "2022-07-21 17:10:34.214674", "rc": 0, "start": "2022-07-21 17:10:34.173971" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:10:34 +0000 (0:00:00.471) 0:02:29.242 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:10:34 +0000 (0:00:00.042) 0:02:29.285 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:10:34 +0000 (0:00:00.044) 0:02:29.329 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:10:34 +0000 (0:00:00.028) 0:02:29.357 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:10:34 +0000 (0:00:00.030) 0:02:29.388 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:10:34 +0000 (0:00:00.040) 0:02:29.428 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:16 Thursday 21 July 2022 17:10:35 +0000 (0:00:00.032) 0:02:29.461 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:43 Thursday 21 July 2022 17:10:35 +0000 (0:00:00.039) 0:02:29.501 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:53 Thursday 21 July 2022 17:10:35 +0000 (0:00:00.025) 0:02:29.526 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change volume size to "5g"] ********************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:251 Thursday 21 July 2022 17:10:35 +0000 (0:00:00.043) 0:02:29.570 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:10:35 +0000 (0:00:00.058) 0:02:29.628 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:10:35 +0000 (0:00:00.038) 0:02:29.667 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:10:35 +0000 (0:00:00.560) 0:02:30.227 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:10:35 +0000 (0:00:00.066) 0:02:30.294 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:10:35 +0000 (0:00:00.037) 0:02:30.331 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:10:35 +0000 (0:00:00.037) 0:02:30.369 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:10:35 +0000 (0:00:00.049) 0:02:30.418 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:10:35 +0000 (0:00:00.021) 0:02:30.439 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:10:36 +0000 (0:00:00.030) 0:02:30.470 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext3", "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:10:36 +0000 (0:00:00.100) 0:02:30.571 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:10:36 +0000 (0:00:00.093) 0:02:30.664 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:10:36 +0000 (0:00:00.029) 0:02:30.694 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:10:36 +0000 (0:00:00.029) 0:02:30.723 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:10:36 +0000 (0:00:00.031) 0:02:30.754 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:10:36 +0000 (0:00:00.028) 0:02:30.782 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:10:36 +0000 (0:00:00.051) 0:02:30.834 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:10:36 +0000 (0:00:00.024) 0:02:30.859 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" }, { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "lvm2", "btrfs-progs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 17:10:39 +0000 (0:00:03.113) 0:02:33.973 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:10:39 +0000 (0:00:00.027) 0:02:34.000 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 17:10:39 +0000 (0:00:00.021) 0:02:34.022 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" }, { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "lvm2", "btrfs-progs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 17:10:39 +0000 (0:00:00.039) 0:02:34.062 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 17:10:39 +0000 (0:00:00.036) 0:02:34.099 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 17:10:39 +0000 (0:00:00.038) 0:02:34.137 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 17:10:39 +0000 (0:00:00.038) 0:02:34.176 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 17:10:40 +0000 (0:00:00.779) 0:02:34.956 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext3', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext3", "mount_info": { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 17:10:40 +0000 (0:00:00.457) 0:02:35.413 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 17:10:41 +0000 (0:00:00.772) 0:02:36.185 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "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": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 17:10:42 +0000 (0:00:00.429) 0:02:36.615 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 17:10:42 +0000 (0:00:00.024) 0:02:36.640 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:265 Thursday 21 July 2022 17:10:43 +0000 (0:00:00.971) 0:02:37.612 ********* included: /tmp/tmpmb3dyg70/tests/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:1 Thursday 21 July 2022 17:10:43 +0000 (0:00:00.051) 0:02:37.663 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:6 Thursday 21 July 2022 17:10:43 +0000 (0:00:00.116) 0:02:37.780 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:14 Thursday 21 July 2022 17:10:43 +0000 (0:00:00.027) 0:02:37.807 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext3", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "cb9decfb-8ccf-4e08-a1c9-693f20a9b261" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "WjntIu-W8wR-p5Wg-Yt4k-qLOa-QC2T-uW5s4X" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-17-07-52-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": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/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": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/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": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/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/tmpmb3dyg70/tests/verify-role-results.yml:19 Thursday 21 July 2022 17:10:43 +0000 (0:00:00.450) 0:02:38.258 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.004013", "end": "2022-07-21 17:10:43.658457", "rc": 0, "start": "2022-07-21 17:10:43.654444" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 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=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /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/foo-test1 /opt/test1 ext3 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:24 Thursday 21 July 2022 17:10:44 +0000 (0:00:00.428) 0:02:38.686 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003267", "end": "2022-07-21 17:10:44.076413", "failed_when_result": false, "rc": 0, "start": "2022-07-21 17:10:44.073146" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:33 Thursday 21 July 2022 17:10:44 +0000 (0:00:00.416) 0:02:39.102 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:5 Thursday 21 July 2022 17:10:44 +0000 (0:00:00.053) 0:02:39.156 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:18 Thursday 21 July 2022 17:10:44 +0000 (0:00:00.038) 0:02:39.194 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:10:44 +0000 (0:00:00.049) 0:02:39.243 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 17:10:44 +0000 (0:00:00.049) 0:02:39.293 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:10:45 +0000 (0:00:00.429) 0:02:39.723 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:10:45 +0000 (0:00:00.042) 0:02:39.766 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 17:10:45 +0000 (0:00:00.044) 0:02:39.810 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 17:10:45 +0000 (0:00:00.040) 0:02:39.851 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 17:10:45 +0000 (0:00:00.039) 0:02:39.891 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 17:10:45 +0000 (0:00:00.043) 0:02:39.934 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 17:10:45 +0000 (0:00:00.028) 0:02:39.962 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:10:45 +0000 (0:00:00.045) 0:02:40.008 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:6 Thursday 21 July 2022 17:10:45 +0000 (0:00:00.046) 0:02:40.055 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:12 Thursday 21 July 2022 17:10:45 +0000 (0:00:00.026) 0:02:40.082 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:16 Thursday 21 July 2022 17:10:45 +0000 (0:00:00.026) 0:02:40.108 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:20 Thursday 21 July 2022 17:10:45 +0000 (0:00:00.026) 0:02:40.134 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:24 Thursday 21 July 2022 17:10:45 +0000 (0:00:00.027) 0:02:40.162 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:30 Thursday 21 July 2022 17:10:45 +0000 (0:00:00.065) 0:02:40.228 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:36 Thursday 21 July 2022 17:10:45 +0000 (0:00:00.027) 0:02:40.256 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:44 Thursday 21 July 2022 17:10:45 +0000 (0:00:00.026) 0:02:40.282 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:10:45 +0000 (0:00:00.039) 0:02:40.321 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:10:45 +0000 (0:00:00.048) 0:02:40.370 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml for /cache/fedora-36.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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:10:45 +0000 (0:00:00.046) 0:02:40.416 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:10:45 +0000 (0:00:00.030) 0:02:40.447 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:10:46 +0000 (0:00:00.029) 0:02:40.477 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:10:46 +0000 (0:00:00.030) 0:02:40.507 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:10:46 +0000 (0:00:00.050) 0:02:40.557 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml for /cache/fedora-36.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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:10:46 +0000 (0:00:00.044) 0:02:40.602 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:10:46 +0000 (0:00:00.026) 0:02:40.629 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:10:46 +0000 (0:00:00.030) 0:02:40.659 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:10:46 +0000 (0:00:00.028) 0:02:40.688 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:10:46 +0000 (0:00:00.027) 0:02:40.715 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:10:46 +0000 (0:00:00.053) 0:02:40.768 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:10:46 +0000 (0:00:00.043) 0:02:40.812 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:10:46 +0000 (0:00:00.030) 0:02:40.843 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 17:10:46 +0000 (0:00:00.047) 0:02:40.890 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 17:10:46 +0000 (0:00:00.042) 0:02:40.933 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 17:10:46 +0000 (0:00:00.048) 0:02:40.981 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 17:10:46 +0000 (0:00:00.026) 0:02:41.007 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 17:10:46 +0000 (0:00:00.027) 0:02:41.034 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 17:10:46 +0000 (0:00:00.025) 0:02:41.060 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:10:46 +0000 (0:00:00.039) 0:02:41.100 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 17:10:46 +0000 (0:00:00.035) 0:02:41.136 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:10:46 +0000 (0:00:00.046) 0:02:41.182 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml for /cache/fedora-36.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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:10:46 +0000 (0:00:00.044) 0:02:41.227 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:10:46 +0000 (0:00:00.022) 0:02:41.250 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:10:46 +0000 (0:00:00.023) 0:02:41.273 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:10:46 +0000 (0:00:00.026) 0:02:41.300 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:10:46 +0000 (0:00:00.025) 0:02:41.326 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:10:46 +0000 (0:00:00.026) 0:02:41.352 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:10:46 +0000 (0:00:00.025) 0:02:41.377 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:10:46 +0000 (0:00:00.071) 0:02:41.448 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 17:10:47 +0000 (0:00:00.037) 0:02:41.486 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:10:47 +0000 (0:00:00.039) 0:02:41.525 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml for /cache/fedora-36.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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:2 Thursday 21 July 2022 17:10:47 +0000 (0:00:00.047) 0:02:41.573 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume.yml:10 Thursday 21 July 2022 17:10:47 +0000 (0:00:00.041) 0:02:41.614 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:10:47 +0000 (0:00:00.080) 0:02:41.695 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 17:10:47 +0000 (0:00:00.042) 0:02:41.738 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1205650, "block_size": 4096, "block_total": 1271208, "block_used": 65558, "device": "/dev/mapper/foo-test1", "fstype": "ext3", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 4938342400, "size_total": 5206867968, "uuid": "cb9decfb-8ccf-4e08-a1c9-693f20a9b261" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1205650, "block_size": 4096, "block_total": 1271208, "block_used": 65558, "device": "/dev/mapper/foo-test1", "fstype": "ext3", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 4938342400, "size_total": 5206867968, "uuid": "cb9decfb-8ccf-4e08-a1c9-693f20a9b261" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 17:10:47 +0000 (0:00:00.046) 0:02:41.784 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:10:47 +0000 (0:00:00.044) 0:02:41.829 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 17:10:47 +0000 (0:00:00.042) 0:02:41.872 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 17:10:47 +0000 (0:00:00.042) 0:02:41.914 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 17:10:47 +0000 (0:00:00.023) 0:02:41.938 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 17:10:47 +0000 (0:00:00.025) 0:02:41.964 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 17:10:47 +0000 (0:00:00.023) 0:02:41.987 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:10:47 +0000 (0:00:00.034) 0:02:42.022 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext3 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:10:47 +0000 (0:00:00.053) 0:02:42.075 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 17:10:47 +0000 (0:00:00.041) 0:02:42.116 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 17:10:47 +0000 (0:00:00.041) 0:02:42.158 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 17:10:47 +0000 (0:00:00.025) 0:02:42.183 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:10:47 +0000 (0:00:00.040) 0:02:42.224 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:10:47 +0000 (0:00:00.038) 0:02:42.263 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:10:47 +0000 (0:00:00.039) 0:02:42.302 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658423440.383376, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658423438.860376, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1557, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658423438.860376, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:10:48 +0000 (0:00:00.429) 0:02:42.732 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 17:10:48 +0000 (0:00:00.037) 0:02:42.769 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 17:10:48 +0000 (0:00:00.038) 0:02:42.808 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 17:10:48 +0000 (0:00:00.039) 0:02:42.848 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 17:10:48 +0000 (0:00:00.026) 0:02:42.874 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:10:48 +0000 (0:00:00.039) 0:02:42.914 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:10:48 +0000 (0:00:00.033) 0:02:42.947 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:10:50 +0000 (0:00:02.057) 0:02:45.005 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:10:50 +0000 (0:00:00.027) 0:02:45.032 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 17:10:50 +0000 (0:00:00.025) 0:02:45.057 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 17:10:50 +0000 (0:00:00.115) 0:02:45.173 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:10:50 +0000 (0:00:00.027) 0:02:45.200 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 17:10:50 +0000 (0:00:00.025) 0:02:45.225 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 17:10:50 +0000 (0:00:00.025) 0:02:45.251 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 17:10:50 +0000 (0:00:00.025) 0:02:45.276 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:10:50 +0000 (0:00:00.025) 0:02:45.302 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 17:10:50 +0000 (0:00:00.043) 0:02:45.346 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 17:10:50 +0000 (0:00:00.044) 0:02:45.391 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 17:10:50 +0000 (0:00:00.026) 0:02:45.417 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 17:10:50 +0000 (0:00:00.028) 0:02:45.445 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 17:10:51 +0000 (0:00:00.028) 0:02:45.474 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:10:51 +0000 (0:00:00.040) 0:02:45.514 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:10:51 +0000 (0:00:00.027) 0:02:45.542 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:10:51 +0000 (0:00:00.036) 0:02:45.579 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:10:51 +0000 (0:00:00.026) 0:02:45.605 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:10:51 +0000 (0:00:00.029) 0:02:45.635 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:10:51 +0000 (0:00:00.027) 0:02:45.663 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:10:51 +0000 (0:00:00.026) 0:02:45.689 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:10:51 +0000 (0:00:00.025) 0:02:45.715 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:10:51 +0000 (0:00:00.425) 0:02:46.140 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:10:52 +0000 (0:00:00.419) 0:02:46.559 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:10:52 +0000 (0:00:00.040) 0:02:46.600 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:10:52 +0000 (0:00:00.037) 0:02:46.637 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:10:52 +0000 (0:00:00.028) 0:02:46.666 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:10:52 +0000 (0:00:00.029) 0:02:46.695 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:10:52 +0000 (0:00:00.029) 0:02:46.724 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:10:52 +0000 (0:00:00.025) 0:02:46.749 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:10:52 +0000 (0:00:00.024) 0:02:46.774 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:10:52 +0000 (0:00:00.037) 0:02:46.812 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:10:52 +0000 (0:00:00.042) 0:02:46.855 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:10:52 +0000 (0:00:00.044) 0:02:46.899 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.039420", "end": "2022-07-21 17:10:52.371694", "rc": 0, "start": "2022-07-21 17:10:52.332274" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:10:52 +0000 (0:00:00.501) 0:02:47.401 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:10:52 +0000 (0:00:00.042) 0:02:47.443 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:10:53 +0000 (0:00:00.043) 0:02:47.487 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:10:53 +0000 (0:00:00.029) 0:02:47.516 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:10:53 +0000 (0:00:00.028) 0:02:47.545 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:10:53 +0000 (0:00:00.030) 0:02:47.575 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:16 Thursday 21 July 2022 17:10:53 +0000 (0:00:00.028) 0:02:47.604 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:43 Thursday 21 July 2022 17:10:53 +0000 (0:00:00.037) 0:02:47.641 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:53 Thursday 21 July 2022 17:10:53 +0000 (0:00:00.022) 0:02:47.664 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:267 Thursday 21 July 2022 17:10:53 +0000 (0:00:00.043) 0:02:47.708 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:10:53 +0000 (0:00:00.064) 0:02:47.773 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:10:53 +0000 (0:00:00.037) 0:02:47.810 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:10:53 +0000 (0:00:00.570) 0:02:48.380 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:10:53 +0000 (0:00:00.066) 0:02:48.447 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:10:54 +0000 (0:00:00.038) 0:02:48.485 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:10:54 +0000 (0:00:00.044) 0:02:48.529 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:10:54 +0000 (0:00:00.049) 0:02:48.579 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:10:54 +0000 (0:00:00.021) 0:02:48.601 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:10:54 +0000 (0:00:00.031) 0:02:48.633 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:10:54 +0000 (0:00:00.039) 0:02:48.672 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:10:54 +0000 (0:00:00.037) 0:02:48.710 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:10:54 +0000 (0:00:00.030) 0:02:48.740 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:10:54 +0000 (0:00:00.027) 0:02:48.768 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:10:54 +0000 (0:00:00.028) 0:02:48.797 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:10:54 +0000 (0:00:00.031) 0:02:48.828 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:10:54 +0000 (0:00:00.045) 0:02:48.874 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:10:54 +0000 (0:00:00.024) 0:02:48.898 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/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": "ext3", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "dosfstools", "e2fsprogs", "btrfs-progs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 17:10:57 +0000 (0:00:03.002) 0:02:51.901 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:10:57 +0000 (0:00:00.026) 0:02:51.927 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 17:10:57 +0000 (0:00:00.022) 0:02:51.949 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/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": "ext3", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "dosfstools", "e2fsprogs", "btrfs-progs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 17:10:57 +0000 (0:00:00.040) 0:02:51.990 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 17:10:57 +0000 (0:00:00.041) 0:02:52.032 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 17:10:57 +0000 (0:00:00.040) 0:02:52.073 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'ext3'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext3", "mount_info": { "fstype": "ext3", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 17:10:58 +0000 (0:00:00.441) 0:02:52.514 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 17:10:58 +0000 (0:00:00.774) 0:02:53.289 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 17:10:58 +0000 (0:00:00.029) 0:02:53.318 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 17:10:59 +0000 (0:00:00.786) 0:02:54.104 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "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": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 17:11:00 +0000 (0:00:00.434) 0:02:54.538 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 17:11:00 +0000 (0:00:00.022) 0:02:54.561 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:280 Thursday 21 July 2022 17:11:01 +0000 (0:00:00.999) 0:02:55.560 ********* included: /tmp/tmpmb3dyg70/tests/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:1 Thursday 21 July 2022 17:11:01 +0000 (0:00:00.050) 0:02:55.611 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:6 Thursday 21 July 2022 17:11:01 +0000 (0:00:00.040) 0:02:55.651 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:14 Thursday 21 July 2022 17:11:01 +0000 (0:00:00.024) 0:02:55.676 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-17-07-52-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": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/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": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/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": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/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/tmpmb3dyg70/tests/verify-role-results.yml:19 Thursday 21 July 2022 17:11:01 +0000 (0:00:00.437) 0:02:56.114 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003525", "end": "2022-07-21 17:11:01.575785", "rc": 0, "start": "2022-07-21 17:11:01.572260" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 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=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /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/tmpmb3dyg70/tests/verify-role-results.yml:24 Thursday 21 July 2022 17:11:02 +0000 (0:00:00.489) 0:02:56.603 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003394", "end": "2022-07-21 17:11:02.001911", "failed_when_result": false, "rc": 0, "start": "2022-07-21 17:11:01.998517" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:33 Thursday 21 July 2022 17:11:02 +0000 (0:00:00.427) 0:02:57.030 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'absent', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:5 Thursday 21 July 2022 17:11:02 +0000 (0:00:00.053) 0:02:57.084 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:18 Thursday 21 July 2022 17:11:02 +0000 (0:00:00.034) 0:02:57.118 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:11:02 +0000 (0:00:00.047) 0:02:57.166 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 17:11:02 +0000 (0:00:00.045) 0:02:57.211 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:11:02 +0000 (0:00:00.023) 0:02:57.235 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:11:02 +0000 (0:00:00.042) 0:02:57.277 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 17:11:02 +0000 (0:00:00.043) 0:02:57.320 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 17:11:02 +0000 (0:00:00.042) 0:02:57.362 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 17:11:02 +0000 (0:00:00.038) 0:02:57.401 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 17:11:02 +0000 (0:00:00.041) 0:02:57.442 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 17:11:03 +0000 (0:00:00.023) 0:02:57.466 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:11:03 +0000 (0:00:00.022) 0:02:57.489 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:6 Thursday 21 July 2022 17:11:03 +0000 (0:00:00.040) 0:02:57.530 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:12 Thursday 21 July 2022 17:11:03 +0000 (0:00:00.024) 0:02:57.555 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:16 Thursday 21 July 2022 17:11:03 +0000 (0:00:00.023) 0:02:57.578 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:20 Thursday 21 July 2022 17:11:03 +0000 (0:00:00.025) 0:02:57.604 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:24 Thursday 21 July 2022 17:11:03 +0000 (0:00:00.025) 0:02:57.630 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:30 Thursday 21 July 2022 17:11:03 +0000 (0:00:00.026) 0:02:57.657 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:36 Thursday 21 July 2022 17:11:03 +0000 (0:00:00.023) 0:02:57.680 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:44 Thursday 21 July 2022 17:11:03 +0000 (0:00:00.025) 0:02:57.706 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:11:03 +0000 (0:00:00.036) 0:02:57.743 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:11:03 +0000 (0:00:00.045) 0:02:57.788 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml for /cache/fedora-36.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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:11:03 +0000 (0:00:00.044) 0:02:57.833 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:11:03 +0000 (0:00:00.030) 0:02:57.864 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:11:03 +0000 (0:00:00.029) 0:02:57.893 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:11:03 +0000 (0:00:00.027) 0:02:57.921 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:11:03 +0000 (0:00:00.048) 0:02:57.969 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml for /cache/fedora-36.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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:11:03 +0000 (0:00:00.046) 0:02:58.016 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:11:03 +0000 (0:00:00.024) 0:02:58.040 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:11:03 +0000 (0:00:00.024) 0:02:58.065 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:11:03 +0000 (0:00:00.023) 0:02:58.089 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:11:03 +0000 (0:00:00.026) 0:02:58.115 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:11:03 +0000 (0:00:00.085) 0:02:58.201 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:11:03 +0000 (0:00:00.042) 0:02:58.243 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:11:03 +0000 (0:00:00.022) 0:02:58.266 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:11:03 +0000 (0:00:00.021) 0:02:58.287 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 17:11:03 +0000 (0:00:00.040) 0:02:58.328 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:11:03 +0000 (0:00:00.047) 0:02:58.376 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml for /cache/fedora-36.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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:11:03 +0000 (0:00:00.046) 0:02:58.422 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:11:03 +0000 (0:00:00.024) 0:02:58.447 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:11:04 +0000 (0:00:00.023) 0:02:58.470 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:11:04 +0000 (0:00:00.026) 0:02:58.497 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:11:04 +0000 (0:00:00.025) 0:02:58.522 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:11:04 +0000 (0:00:00.023) 0:02:58.546 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:11:04 +0000 (0:00:00.026) 0:02:58.573 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:11:04 +0000 (0:00:00.026) 0:02:58.599 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 17:11:04 +0000 (0:00:00.040) 0:02:58.639 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:11:04 +0000 (0:00:00.037) 0:02:58.676 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml for /cache/fedora-36.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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:2 Thursday 21 July 2022 17:11:04 +0000 (0:00:00.044) 0:02:58.721 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume.yml:10 Thursday 21 July 2022 17:11:04 +0000 (0:00:00.043) 0:02:58.764 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:11:04 +0000 (0:00:00.087) 0:02:58.851 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 17:11:04 +0000 (0:00:00.046) 0:02:58.898 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 17:11:04 +0000 (0:00:00.050) 0:02:58.949 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:11:04 +0000 (0:00:00.033) 0:02:58.982 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 17:11:04 +0000 (0:00:00.039) 0:02:59.022 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 17:11:04 +0000 (0:00:00.028) 0:02:59.051 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 17:11:04 +0000 (0:00:00.026) 0:02:59.078 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 17:11:04 +0000 (0:00:00.025) 0:02:59.103 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 17:11:04 +0000 (0:00:00.028) 0:02:59.132 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:11:04 +0000 (0:00:00.035) 0:02:59.167 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:11:04 +0000 (0:00:00.056) 0:02:59.223 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 17:11:04 +0000 (0:00:00.023) 0:02:59.247 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 17:11:04 +0000 (0:00:00.040) 0:02:59.287 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 17:11:04 +0000 (0:00:00.028) 0:02:59.315 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:11:04 +0000 (0:00:00.041) 0:02:59.357 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:11:04 +0000 (0:00:00.025) 0:02:59.382 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:11:04 +0000 (0:00:00.024) 0:02:59.407 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:11:05 +0000 (0:00:00.472) 0:02:59.880 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 17:11:05 +0000 (0:00:00.041) 0:02:59.921 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 17:11:05 +0000 (0:00:00.026) 0:02:59.947 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 17:11:05 +0000 (0:00:00.038) 0:02:59.986 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 17:11:05 +0000 (0:00:00.023) 0:03:00.010 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:11:05 +0000 (0:00:00.024) 0:03:00.034 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:11:05 +0000 (0:00:00.023) 0:03:00.057 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:11:07 +0000 (0:00:01.997) 0:03:02.055 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:11:07 +0000 (0:00:00.026) 0:03:02.082 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 17:11:07 +0000 (0:00:00.026) 0:03:02.108 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 17:11:07 +0000 (0:00:00.025) 0:03:02.133 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:11:07 +0000 (0:00:00.027) 0:03:02.161 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 17:11:07 +0000 (0:00:00.025) 0:03:02.187 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 17:11:07 +0000 (0:00:00.025) 0:03:02.213 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 17:11:07 +0000 (0:00:00.027) 0:03:02.240 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:11:07 +0000 (0:00:00.027) 0:03:02.268 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 17:11:07 +0000 (0:00:00.040) 0:03:02.308 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 17:11:07 +0000 (0:00:00.040) 0:03:02.349 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 17:11:07 +0000 (0:00:00.028) 0:03:02.377 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 17:11:07 +0000 (0:00:00.029) 0:03:02.407 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 17:11:07 +0000 (0:00:00.027) 0:03:02.434 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:11:08 +0000 (0:00:00.036) 0:03:02.471 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:11:08 +0000 (0:00:00.029) 0:03:02.500 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:11:08 +0000 (0:00:00.039) 0:03:02.539 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:11:08 +0000 (0:00:00.028) 0:03:02.568 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:11:08 +0000 (0:00:00.027) 0:03:02.596 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:11:08 +0000 (0:00:00.027) 0:03:02.623 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:11:08 +0000 (0:00:00.029) 0:03:02.653 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:11:08 +0000 (0:00:00.028) 0:03:02.682 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:11:08 +0000 (0:00:00.029) 0:03:02.711 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:11:08 +0000 (0:00:00.026) 0:03:02.738 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:11:08 +0000 (0:00:00.031) 0:03:02.769 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:11:08 +0000 (0:00:00.040) 0:03:02.810 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:11:08 +0000 (0:00:00.032) 0:03:02.843 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:11:08 +0000 (0:00:00.029) 0:03:02.872 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:11:08 +0000 (0:00:00.030) 0:03:02.902 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:11:08 +0000 (0:00:00.026) 0:03:02.929 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:11:08 +0000 (0:00:00.025) 0:03:02.955 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:11:08 +0000 (0:00:00.146) 0:03:03.101 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:11:08 +0000 (0:00:00.039) 0:03:03.141 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:11:08 +0000 (0:00:00.025) 0:03:03.166 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:11:08 +0000 (0:00:00.024) 0:03:03.190 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:11:08 +0000 (0:00:00.028) 0:03:03.218 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:11:08 +0000 (0:00:00.027) 0:03:03.246 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:11:08 +0000 (0:00:00.025) 0:03:03.271 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:11:08 +0000 (0:00:00.023) 0:03:03.294 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:11:08 +0000 (0:00:00.025) 0:03:03.320 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:16 Thursday 21 July 2022 17:11:08 +0000 (0:00:00.025) 0:03:03.346 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:43 Thursday 21 July 2022 17:11:08 +0000 (0:00:00.034) 0:03:03.380 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:53 Thursday 21 July 2022 17:11:08 +0000 (0:00:00.020) 0:03:03.401 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Create a LVM logical volume with "5g" for ext2 FS] *********************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:284 Thursday 21 July 2022 17:11:08 +0000 (0:00:00.037) 0:03:03.438 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:11:09 +0000 (0:00:00.069) 0:03:03.507 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:11:09 +0000 (0:00:00.035) 0:03:03.543 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:11:09 +0000 (0:00:00.590) 0:03:04.133 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:11:09 +0000 (0:00:00.066) 0:03:04.200 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:11:09 +0000 (0:00:00.034) 0:03:04.235 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:11:09 +0000 (0:00:00.035) 0:03:04.271 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:11:09 +0000 (0:00:00.047) 0:03:04.319 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:11:09 +0000 (0:00:00.020) 0:03:04.339 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:11:09 +0000 (0:00:00.026) 0:03:04.366 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext2", "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:11:09 +0000 (0:00:00.037) 0:03:04.403 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:11:09 +0000 (0:00:00.037) 0:03:04.441 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:11:10 +0000 (0:00:00.026) 0:03:04.468 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:11:10 +0000 (0:00:00.027) 0:03:04.496 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:11:10 +0000 (0:00:00.028) 0:03:04.524 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:11:10 +0000 (0:00:00.029) 0:03:04.553 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:11:10 +0000 (0:00:00.088) 0:03:04.642 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:11:10 +0000 (0:00:00.023) 0:03:04.665 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "btrfs-progs", "lvm2", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 17:11:12 +0000 (0:00:02.585) 0:03:07.251 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:11:12 +0000 (0:00:00.035) 0:03:07.287 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 17:11:12 +0000 (0:00:00.025) 0:03:07.312 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "btrfs-progs", "lvm2", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 17:11:12 +0000 (0:00:00.055) 0:03:07.367 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 17:11:12 +0000 (0:00:00.041) 0:03:07.409 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 17:11:12 +0000 (0:00:00.039) 0:03:07.449 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 17:11:13 +0000 (0:00:00.032) 0:03:07.481 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 17:11:13 +0000 (0:00:00.821) 0:03:08.302 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext2', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext2", "mount_info": { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 17:11:14 +0000 (0:00:00.457) 0:03:08.760 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 17:11:15 +0000 (0:00:00.798) 0:03:09.559 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "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": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 17:11:15 +0000 (0:00:00.415) 0:03:09.975 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 17:11:15 +0000 (0:00:00.023) 0:03:09.998 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:298 Thursday 21 July 2022 17:11:16 +0000 (0:00:00.984) 0:03:10.982 ********* included: /tmp/tmpmb3dyg70/tests/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:1 Thursday 21 July 2022 17:11:16 +0000 (0:00:00.057) 0:03:11.040 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:6 Thursday 21 July 2022 17:11:16 +0000 (0:00:00.085) 0:03:11.125 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:14 Thursday 21 July 2022 17:11:16 +0000 (0:00:00.029) 0:03:11.155 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext2", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "12803eb4-5520-433d-bf8d-063bdac407f0" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "f5bTWj-YCgU-MEog-sTr0-BrQY-2MNb-UbggRO" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-17-07-52-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": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/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": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/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": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/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/tmpmb3dyg70/tests/verify-role-results.yml:19 Thursday 21 July 2022 17:11:17 +0000 (0:00:00.435) 0:03:11.590 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003277", "end": "2022-07-21 17:11:17.035847", "rc": 0, "start": "2022-07-21 17:11:17.032570" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 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=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /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/foo-test1 /opt/test1 ext2 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:24 Thursday 21 July 2022 17:11:17 +0000 (0:00:00.473) 0:03:12.064 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003491", "end": "2022-07-21 17:11:17.500783", "failed_when_result": false, "rc": 0, "start": "2022-07-21 17:11:17.497292" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:33 Thursday 21 July 2022 17:11:18 +0000 (0:00:00.465) 0:03:12.529 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:5 Thursday 21 July 2022 17:11:18 +0000 (0:00:00.053) 0:03:12.583 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:18 Thursday 21 July 2022 17:11:18 +0000 (0:00:00.035) 0:03:12.619 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:11:18 +0000 (0:00:00.046) 0:03:12.665 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 17:11:18 +0000 (0:00:00.044) 0:03:12.710 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:11:18 +0000 (0:00:00.421) 0:03:13.131 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:11:18 +0000 (0:00:00.038) 0:03:13.170 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 17:11:18 +0000 (0:00:00.045) 0:03:13.215 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 17:11:18 +0000 (0:00:00.045) 0:03:13.260 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 17:11:18 +0000 (0:00:00.042) 0:03:13.303 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 17:11:18 +0000 (0:00:00.037) 0:03:13.341 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 17:11:18 +0000 (0:00:00.023) 0:03:13.365 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:11:18 +0000 (0:00:00.047) 0:03:13.412 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:6 Thursday 21 July 2022 17:11:19 +0000 (0:00:00.047) 0:03:13.460 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:12 Thursday 21 July 2022 17:11:19 +0000 (0:00:00.025) 0:03:13.485 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:16 Thursday 21 July 2022 17:11:19 +0000 (0:00:00.023) 0:03:13.509 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:20 Thursday 21 July 2022 17:11:19 +0000 (0:00:00.024) 0:03:13.533 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:24 Thursday 21 July 2022 17:11:19 +0000 (0:00:00.023) 0:03:13.557 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:30 Thursday 21 July 2022 17:11:19 +0000 (0:00:00.023) 0:03:13.581 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:36 Thursday 21 July 2022 17:11:19 +0000 (0:00:00.029) 0:03:13.610 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:44 Thursday 21 July 2022 17:11:19 +0000 (0:00:00.033) 0:03:13.644 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:11:19 +0000 (0:00:00.039) 0:03:13.684 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:11:19 +0000 (0:00:00.049) 0:03:13.733 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml for /cache/fedora-36.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': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:11:19 +0000 (0:00:00.043) 0:03:13.776 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:11:19 +0000 (0:00:00.027) 0:03:13.804 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:11:19 +0000 (0:00:00.027) 0:03:13.832 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:11:19 +0000 (0:00:00.027) 0:03:13.859 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:11:19 +0000 (0:00:00.044) 0:03:13.904 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml for /cache/fedora-36.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': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:11:19 +0000 (0:00:00.093) 0:03:13.997 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:11:19 +0000 (0:00:00.025) 0:03:14.022 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:11:19 +0000 (0:00:00.023) 0:03:14.046 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:11:19 +0000 (0:00:00.025) 0:03:14.071 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:11:19 +0000 (0:00:00.026) 0:03:14.098 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:11:19 +0000 (0:00:00.047) 0:03:14.145 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:11:19 +0000 (0:00:00.043) 0:03:14.189 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:11:19 +0000 (0:00:00.027) 0:03:14.217 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 17:11:19 +0000 (0:00:00.043) 0:03:14.260 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 17:11:19 +0000 (0:00:00.044) 0:03:14.304 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 17:11:19 +0000 (0:00:00.042) 0:03:14.347 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 17:11:19 +0000 (0:00:00.028) 0:03:14.376 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 17:11:19 +0000 (0:00:00.028) 0:03:14.404 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 17:11:19 +0000 (0:00:00.031) 0:03:14.436 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:11:20 +0000 (0:00:00.034) 0:03:14.471 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 17:11:20 +0000 (0:00:00.034) 0:03:14.506 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:11:20 +0000 (0:00:00.049) 0:03:14.555 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml for /cache/fedora-36.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': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:11:20 +0000 (0:00:00.044) 0:03:14.599 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:11:20 +0000 (0:00:00.023) 0:03:14.623 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:11:20 +0000 (0:00:00.024) 0:03:14.648 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:11:20 +0000 (0:00:00.023) 0:03:14.671 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:11:20 +0000 (0:00:00.023) 0:03:14.694 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:11:20 +0000 (0:00:00.023) 0:03:14.718 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:11:20 +0000 (0:00:00.024) 0:03:14.743 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:11:20 +0000 (0:00:00.023) 0:03:14.766 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 17:11:20 +0000 (0:00:00.034) 0:03:14.800 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:11:20 +0000 (0:00:00.035) 0:03:14.836 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml for /cache/fedora-36.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': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:2 Thursday 21 July 2022 17:11:20 +0000 (0:00:00.043) 0:03:14.880 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume.yml:10 Thursday 21 July 2022 17:11:20 +0000 (0:00:00.037) 0:03:14.918 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:11:20 +0000 (0:00:00.080) 0:03:14.998 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 17:11:20 +0000 (0:00:00.043) 0:03:15.041 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1222050, "block_size": 4096, "block_total": 1287592, "block_used": 65542, "device": "/dev/mapper/foo-test1", "fstype": "ext2", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 5005516800, "size_total": 5273976832, "uuid": "12803eb4-5520-433d-bf8d-063bdac407f0" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1222050, "block_size": 4096, "block_total": 1287592, "block_used": 65542, "device": "/dev/mapper/foo-test1", "fstype": "ext2", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 5005516800, "size_total": 5273976832, "uuid": "12803eb4-5520-433d-bf8d-063bdac407f0" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 17:11:20 +0000 (0:00:00.043) 0:03:15.085 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:11:20 +0000 (0:00:00.088) 0:03:15.173 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 17:11:20 +0000 (0:00:00.153) 0:03:15.326 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 17:11:20 +0000 (0:00:00.040) 0:03:15.367 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 17:11:20 +0000 (0:00:00.023) 0:03:15.391 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 17:11:20 +0000 (0:00:00.025) 0:03:15.416 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 17:11:20 +0000 (0:00:00.025) 0:03:15.442 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:11:21 +0000 (0:00:00.033) 0:03:15.476 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext2 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:11:21 +0000 (0:00:00.051) 0:03:15.527 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 17:11:21 +0000 (0:00:00.040) 0:03:15.568 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 17:11:21 +0000 (0:00:00.037) 0:03:15.606 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 17:11:21 +0000 (0:00:00.024) 0:03:15.630 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:11:21 +0000 (0:00:00.035) 0:03:15.666 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:11:21 +0000 (0:00:00.041) 0:03:15.707 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:11:21 +0000 (0:00:00.039) 0:03:15.746 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658423473.740376, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658423472.146376, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1956, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658423472.146376, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:11:21 +0000 (0:00:00.410) 0:03:16.156 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 17:11:21 +0000 (0:00:00.038) 0:03:16.195 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 17:11:21 +0000 (0:00:00.037) 0:03:16.232 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 17:11:21 +0000 (0:00:00.035) 0:03:16.268 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 17:11:21 +0000 (0:00:00.023) 0:03:16.291 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:11:21 +0000 (0:00:00.040) 0:03:16.331 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:11:21 +0000 (0:00:00.022) 0:03:16.354 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:11:23 +0000 (0:00:01.998) 0:03:18.353 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:11:23 +0000 (0:00:00.026) 0:03:18.380 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 17:11:23 +0000 (0:00:00.026) 0:03:18.406 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 17:11:24 +0000 (0:00:00.080) 0:03:18.487 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:11:24 +0000 (0:00:00.027) 0:03:18.514 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 17:11:24 +0000 (0:00:00.025) 0:03:18.539 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 17:11:24 +0000 (0:00:00.023) 0:03:18.563 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 17:11:24 +0000 (0:00:00.024) 0:03:18.587 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:11:24 +0000 (0:00:00.025) 0:03:18.613 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 17:11:24 +0000 (0:00:00.041) 0:03:18.655 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 17:11:24 +0000 (0:00:00.074) 0:03:18.730 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 17:11:24 +0000 (0:00:00.029) 0:03:18.759 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 17:11:24 +0000 (0:00:00.073) 0:03:18.833 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 17:11:24 +0000 (0:00:00.027) 0:03:18.860 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:11:24 +0000 (0:00:00.037) 0:03:18.898 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:11:24 +0000 (0:00:00.029) 0:03:18.927 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:11:24 +0000 (0:00:00.028) 0:03:18.956 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:11:24 +0000 (0:00:00.025) 0:03:18.982 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:11:24 +0000 (0:00:00.025) 0:03:19.008 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:11:24 +0000 (0:00:00.027) 0:03:19.035 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:11:24 +0000 (0:00:00.025) 0:03:19.061 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:11:24 +0000 (0:00:00.026) 0:03:19.087 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:11:25 +0000 (0:00:00.419) 0:03:19.506 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:11:25 +0000 (0:00:00.423) 0:03:19.930 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:11:25 +0000 (0:00:00.042) 0:03:19.972 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:11:25 +0000 (0:00:00.043) 0:03:20.016 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:11:25 +0000 (0:00:00.028) 0:03:20.044 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:11:25 +0000 (0:00:00.026) 0:03:20.070 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:11:25 +0000 (0:00:00.026) 0:03:20.096 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:11:25 +0000 (0:00:00.027) 0:03:20.124 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:11:25 +0000 (0:00:00.029) 0:03:20.153 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:11:25 +0000 (0:00:00.038) 0:03:20.192 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:11:25 +0000 (0:00:00.039) 0:03:20.231 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:11:25 +0000 (0:00:00.046) 0:03:20.278 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.037330", "end": "2022-07-21 17:11:25.704626", "rc": 0, "start": "2022-07-21 17:11:25.667296" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:11:26 +0000 (0:00:00.457) 0:03:20.735 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:11:26 +0000 (0:00:00.046) 0:03:20.781 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:11:26 +0000 (0:00:00.050) 0:03:20.831 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:11:26 +0000 (0:00:00.030) 0:03:20.861 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:11:26 +0000 (0:00:00.027) 0:03:20.889 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:11:26 +0000 (0:00:00.027) 0:03:20.917 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:16 Thursday 21 July 2022 17:11:26 +0000 (0:00:00.026) 0:03:20.943 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:43 Thursday 21 July 2022 17:11:26 +0000 (0:00:00.079) 0:03:21.022 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:53 Thursday 21 July 2022 17:11:26 +0000 (0:00:00.023) 0:03:21.046 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change volume size to "9g"] ********************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:300 Thursday 21 July 2022 17:11:26 +0000 (0:00:00.105) 0:03:21.152 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:11:26 +0000 (0:00:00.073) 0:03:21.226 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:11:26 +0000 (0:00:00.040) 0:03:21.266 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:11:27 +0000 (0:00:00.554) 0:03:21.821 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:11:27 +0000 (0:00:00.066) 0:03:21.888 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:11:27 +0000 (0:00:00.037) 0:03:21.925 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:11:27 +0000 (0:00:00.037) 0:03:21.963 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:11:27 +0000 (0:00:00.049) 0:03:22.013 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:11:27 +0000 (0:00:00.021) 0:03:22.034 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:11:27 +0000 (0:00:00.029) 0:03:22.064 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext2", "mount_point": "/opt/test1", "name": "test1", "size": "9g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:11:27 +0000 (0:00:00.043) 0:03:22.107 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:11:27 +0000 (0:00:00.035) 0:03:22.142 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:11:27 +0000 (0:00:00.029) 0:03:22.172 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:11:27 +0000 (0:00:00.028) 0:03:22.201 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:11:27 +0000 (0:00:00.030) 0:03:22.231 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:11:27 +0000 (0:00:00.029) 0:03:22.261 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:11:27 +0000 (0:00:00.048) 0:03:22.310 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:11:27 +0000 (0:00:00.027) 0:03:22.338 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "btrfs-progs", "dosfstools", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 17:11:30 +0000 (0:00:03.052) 0:03:25.390 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:11:30 +0000 (0:00:00.028) 0:03:25.419 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 17:11:30 +0000 (0:00:00.022) 0:03:25.441 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "btrfs-progs", "dosfstools", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 17:11:31 +0000 (0:00:00.083) 0:03:25.525 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 17:11:31 +0000 (0:00:00.081) 0:03:25.606 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 17:11:31 +0000 (0:00:00.036) 0:03:25.643 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 17:11:31 +0000 (0:00:00.028) 0:03:25.671 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 17:11:32 +0000 (0:00:00.786) 0:03:26.458 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext2', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext2", "mount_info": { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 17:11:32 +0000 (0:00:00.443) 0:03:26.902 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 17:11:33 +0000 (0:00:00.781) 0:03:27.683 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "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": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 17:11:33 +0000 (0:00:00.433) 0:03:28.116 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 17:11:33 +0000 (0:00:00.025) 0:03:28.142 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:314 Thursday 21 July 2022 17:11:34 +0000 (0:00:01.010) 0:03:29.152 ********* included: /tmp/tmpmb3dyg70/tests/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:1 Thursday 21 July 2022 17:11:34 +0000 (0:00:00.058) 0:03:29.211 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:6 Thursday 21 July 2022 17:11:34 +0000 (0:00:00.040) 0:03:29.252 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:14 Thursday 21 July 2022 17:11:34 +0000 (0:00:00.024) 0:03:29.277 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext2", "label": "", "name": "/dev/mapper/foo-test1", "size": "9G", "type": "lvm", "uuid": "12803eb4-5520-433d-bf8d-063bdac407f0" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "f5bTWj-YCgU-MEog-sTr0-BrQY-2MNb-UbggRO" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-17-07-52-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": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/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": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/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": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/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/tmpmb3dyg70/tests/verify-role-results.yml:19 Thursday 21 July 2022 17:11:35 +0000 (0:00:00.445) 0:03:29.722 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003670", "end": "2022-07-21 17:11:35.119211", "rc": 0, "start": "2022-07-21 17:11:35.115541" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 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=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /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/foo-test1 /opt/test1 ext2 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:24 Thursday 21 July 2022 17:11:35 +0000 (0:00:00.427) 0:03:30.150 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003426", "end": "2022-07-21 17:11:35.541712", "failed_when_result": false, "rc": 0, "start": "2022-07-21 17:11:35.538286" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:33 Thursday 21 July 2022 17:11:36 +0000 (0:00:00.423) 0:03:30.574 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:5 Thursday 21 July 2022 17:11:36 +0000 (0:00:00.050) 0:03:30.624 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:18 Thursday 21 July 2022 17:11:36 +0000 (0:00:00.033) 0:03:30.658 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:11:36 +0000 (0:00:00.045) 0:03:30.704 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 17:11:36 +0000 (0:00:00.116) 0:03:30.820 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:11:36 +0000 (0:00:00.417) 0:03:31.237 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:11:36 +0000 (0:00:00.042) 0:03:31.280 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 17:11:36 +0000 (0:00:00.042) 0:03:31.322 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 17:11:36 +0000 (0:00:00.044) 0:03:31.367 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 17:11:36 +0000 (0:00:00.042) 0:03:31.410 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 17:11:37 +0000 (0:00:00.044) 0:03:31.454 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 17:11:37 +0000 (0:00:00.025) 0:03:31.480 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:11:37 +0000 (0:00:00.047) 0:03:31.528 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:6 Thursday 21 July 2022 17:11:37 +0000 (0:00:00.045) 0:03:31.573 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:12 Thursday 21 July 2022 17:11:37 +0000 (0:00:00.025) 0:03:31.599 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:16 Thursday 21 July 2022 17:11:37 +0000 (0:00:00.025) 0:03:31.624 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:20 Thursday 21 July 2022 17:11:37 +0000 (0:00:00.024) 0:03:31.649 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:24 Thursday 21 July 2022 17:11:37 +0000 (0:00:00.024) 0:03:31.674 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:30 Thursday 21 July 2022 17:11:37 +0000 (0:00:00.025) 0:03:31.700 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:36 Thursday 21 July 2022 17:11:37 +0000 (0:00:00.026) 0:03:31.726 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:44 Thursday 21 July 2022 17:11:37 +0000 (0:00:00.026) 0:03:31.753 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:11:37 +0000 (0:00:00.038) 0:03:31.791 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:11:37 +0000 (0:00:00.063) 0:03:31.855 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml for /cache/fedora-36.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': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:11:37 +0000 (0:00:00.050) 0:03:31.905 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:11:37 +0000 (0:00:00.042) 0:03:31.948 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:11:37 +0000 (0:00:00.033) 0:03:31.981 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:11:37 +0000 (0:00:00.034) 0:03:32.016 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:11:37 +0000 (0:00:00.047) 0:03:32.063 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml for /cache/fedora-36.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': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:11:37 +0000 (0:00:00.045) 0:03:32.109 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:11:37 +0000 (0:00:00.026) 0:03:32.136 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:11:37 +0000 (0:00:00.024) 0:03:32.160 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:11:37 +0000 (0:00:00.023) 0:03:32.184 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:11:37 +0000 (0:00:00.025) 0:03:32.209 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:11:37 +0000 (0:00:00.046) 0:03:32.255 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:11:37 +0000 (0:00:00.139) 0:03:32.395 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:11:37 +0000 (0:00:00.030) 0:03:32.425 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 17:11:38 +0000 (0:00:00.043) 0:03:32.468 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 17:11:38 +0000 (0:00:00.043) 0:03:32.511 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 17:11:38 +0000 (0:00:00.053) 0:03:32.564 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 17:11:38 +0000 (0:00:00.027) 0:03:32.592 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 17:11:38 +0000 (0:00:00.026) 0:03:32.618 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 17:11:38 +0000 (0:00:00.029) 0:03:32.648 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:11:38 +0000 (0:00:00.034) 0:03:32.682 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 17:11:38 +0000 (0:00:00.036) 0:03:32.718 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:11:38 +0000 (0:00:00.049) 0:03:32.767 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml for /cache/fedora-36.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': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:11:38 +0000 (0:00:00.046) 0:03:32.814 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:11:38 +0000 (0:00:00.024) 0:03:32.838 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:11:38 +0000 (0:00:00.024) 0:03:32.863 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:11:38 +0000 (0:00:00.023) 0:03:32.887 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:11:38 +0000 (0:00:00.026) 0:03:32.913 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:11:38 +0000 (0:00:00.025) 0:03:32.938 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:11:38 +0000 (0:00:00.025) 0:03:32.964 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:11:38 +0000 (0:00:00.024) 0:03:32.988 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 17:11:38 +0000 (0:00:00.035) 0:03:33.023 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:11:38 +0000 (0:00:00.036) 0:03:33.059 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml for /cache/fedora-36.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': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:2 Thursday 21 July 2022 17:11:38 +0000 (0:00:00.044) 0:03:33.104 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume.yml:10 Thursday 21 July 2022 17:11:38 +0000 (0:00:00.040) 0:03:33.145 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:11:38 +0000 (0:00:00.077) 0:03:33.222 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 17:11:38 +0000 (0:00:00.043) 0:03:33.265 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2201429, "block_size": 4096, "block_total": 2319399, "block_used": 117970, "device": "/dev/mapper/foo-test1", "fstype": "ext2", "inode_available": 589813, "inode_total": 589824, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 9017053184, "size_total": 9500258304, "uuid": "12803eb4-5520-433d-bf8d-063bdac407f0" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2201429, "block_size": 4096, "block_total": 2319399, "block_used": 117970, "device": "/dev/mapper/foo-test1", "fstype": "ext2", "inode_available": 589813, "inode_total": 589824, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 9017053184, "size_total": 9500258304, "uuid": "12803eb4-5520-433d-bf8d-063bdac407f0" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 17:11:38 +0000 (0:00:00.045) 0:03:33.311 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:11:38 +0000 (0:00:00.040) 0:03:33.351 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 17:11:38 +0000 (0:00:00.041) 0:03:33.393 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 17:11:38 +0000 (0:00:00.044) 0:03:33.437 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 17:11:39 +0000 (0:00:00.026) 0:03:33.463 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 17:11:39 +0000 (0:00:00.026) 0:03:33.489 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 17:11:39 +0000 (0:00:00.025) 0:03:33.515 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:11:39 +0000 (0:00:00.038) 0:03:33.554 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext2 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:11:39 +0000 (0:00:00.054) 0:03:33.609 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 17:11:39 +0000 (0:00:00.089) 0:03:33.698 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 17:11:39 +0000 (0:00:00.125) 0:03:33.824 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 17:11:39 +0000 (0:00:00.026) 0:03:33.851 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:11:39 +0000 (0:00:00.044) 0:03:33.895 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:11:39 +0000 (0:00:00.046) 0:03:33.942 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:11:39 +0000 (0:00:00.044) 0:03:33.986 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658423491.872376, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658423490.293376, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1956, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658423490.293376, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:11:39 +0000 (0:00:00.423) 0:03:34.410 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 17:11:39 +0000 (0:00:00.040) 0:03:34.450 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 17:11:40 +0000 (0:00:00.040) 0:03:34.491 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 17:11:40 +0000 (0:00:00.035) 0:03:34.526 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 17:11:40 +0000 (0:00:00.023) 0:03:34.550 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:11:40 +0000 (0:00:00.038) 0:03:34.588 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:11:40 +0000 (0:00:00.025) 0:03:34.614 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:11:42 +0000 (0:00:01.947) 0:03:36.561 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:11:42 +0000 (0:00:00.024) 0:03:36.585 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 17:11:42 +0000 (0:00:00.024) 0:03:36.610 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 17:11:42 +0000 (0:00:00.041) 0:03:36.651 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:11:42 +0000 (0:00:00.025) 0:03:36.677 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 17:11:42 +0000 (0:00:00.023) 0:03:36.701 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 17:11:42 +0000 (0:00:00.024) 0:03:36.726 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 17:11:42 +0000 (0:00:00.029) 0:03:36.756 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:11:42 +0000 (0:00:00.028) 0:03:36.784 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 17:11:42 +0000 (0:00:00.042) 0:03:36.827 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 17:11:42 +0000 (0:00:00.039) 0:03:36.867 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 17:11:42 +0000 (0:00:00.025) 0:03:36.893 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 17:11:42 +0000 (0:00:00.028) 0:03:36.921 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 17:11:42 +0000 (0:00:00.025) 0:03:36.946 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:11:42 +0000 (0:00:00.039) 0:03:36.985 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:11:42 +0000 (0:00:00.028) 0:03:37.014 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:11:42 +0000 (0:00:00.028) 0:03:37.043 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:11:42 +0000 (0:00:00.025) 0:03:37.069 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:11:42 +0000 (0:00:00.033) 0:03:37.102 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:11:42 +0000 (0:00:00.026) 0:03:37.129 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:11:42 +0000 (0:00:00.027) 0:03:37.156 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:11:42 +0000 (0:00:00.028) 0:03:37.185 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:11:43 +0000 (0:00:00.414) 0:03:37.600 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:11:43 +0000 (0:00:00.426) 0:03:38.026 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "9663676416" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:11:43 +0000 (0:00:00.043) 0:03:38.070 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "9663676416" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:11:43 +0000 (0:00:00.041) 0:03:38.112 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:11:43 +0000 (0:00:00.028) 0:03:38.141 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:11:43 +0000 (0:00:00.028) 0:03:38.170 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:11:43 +0000 (0:00:00.034) 0:03:38.204 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:11:43 +0000 (0:00:00.029) 0:03:38.233 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:11:43 +0000 (0:00:00.029) 0:03:38.262 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 9663676416, "changed": false, "failed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:11:43 +0000 (0:00:00.088) 0:03:38.351 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "9663676416" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:11:43 +0000 (0:00:00.037) 0:03:38.388 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:11:44 +0000 (0:00:00.093) 0:03:38.482 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.040795", "end": "2022-07-21 17:11:43.965681", "rc": 0, "start": "2022-07-21 17:11:43.924886" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:11:44 +0000 (0:00:00.518) 0:03:39.000 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:11:44 +0000 (0:00:00.091) 0:03:39.091 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:11:44 +0000 (0:00:00.086) 0:03:39.178 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:11:44 +0000 (0:00:00.027) 0:03:39.205 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:11:44 +0000 (0:00:00.026) 0:03:39.232 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:11:44 +0000 (0:00:00.027) 0:03:39.259 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:16 Thursday 21 July 2022 17:11:44 +0000 (0:00:00.029) 0:03:39.289 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:43 Thursday 21 July 2022 17:11:44 +0000 (0:00:00.036) 0:03:39.325 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:53 Thursday 21 July 2022 17:11:44 +0000 (0:00:00.023) 0:03:39.348 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change volume size to "5g"] ********************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:316 Thursday 21 July 2022 17:11:44 +0000 (0:00:00.042) 0:03:39.391 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:11:45 +0000 (0:00:00.078) 0:03:39.469 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:11:45 +0000 (0:00:00.037) 0:03:39.507 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:11:45 +0000 (0:00:00.560) 0:03:40.068 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:11:45 +0000 (0:00:00.067) 0:03:40.135 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:11:45 +0000 (0:00:00.034) 0:03:40.170 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:11:45 +0000 (0:00:00.040) 0:03:40.211 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:11:45 +0000 (0:00:00.059) 0:03:40.270 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:11:45 +0000 (0:00:00.027) 0:03:40.298 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:11:45 +0000 (0:00:00.033) 0:03:40.331 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext2", "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:11:45 +0000 (0:00:00.046) 0:03:40.377 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:11:45 +0000 (0:00:00.036) 0:03:40.414 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:11:45 +0000 (0:00:00.038) 0:03:40.453 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:11:46 +0000 (0:00:00.032) 0:03:40.485 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:11:46 +0000 (0:00:00.031) 0:03:40.517 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:11:46 +0000 (0:00:00.030) 0:03:40.548 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:11:46 +0000 (0:00:00.052) 0:03:40.600 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:11:46 +0000 (0:00:00.023) 0:03:40.624 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" }, { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "btrfs-progs", "dosfstools", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 17:11:49 +0000 (0:00:03.150) 0:03:43.775 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:11:49 +0000 (0:00:00.029) 0:03:43.804 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 17:11:49 +0000 (0:00:00.023) 0:03:43.828 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" }, { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "btrfs-progs", "dosfstools", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 17:11:49 +0000 (0:00:00.041) 0:03:43.870 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 17:11:49 +0000 (0:00:00.043) 0:03:43.913 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 17:11:49 +0000 (0:00:00.038) 0:03:43.952 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 17:11:49 +0000 (0:00:00.030) 0:03:43.982 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 17:11:50 +0000 (0:00:00.798) 0:03:44.781 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext2', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext2", "mount_info": { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 17:11:50 +0000 (0:00:00.469) 0:03:45.251 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 17:11:51 +0000 (0:00:00.797) 0:03:46.049 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "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": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 17:11:52 +0000 (0:00:00.431) 0:03:46.480 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 17:11:52 +0000 (0:00:00.025) 0:03:46.506 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:330 Thursday 21 July 2022 17:11:53 +0000 (0:00:00.996) 0:03:47.503 ********* included: /tmp/tmpmb3dyg70/tests/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:1 Thursday 21 July 2022 17:11:53 +0000 (0:00:00.065) 0:03:47.569 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:6 Thursday 21 July 2022 17:11:53 +0000 (0:00:00.093) 0:03:47.663 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:14 Thursday 21 July 2022 17:11:53 +0000 (0:00:00.025) 0:03:47.688 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext2", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "12803eb4-5520-433d-bf8d-063bdac407f0" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "f5bTWj-YCgU-MEog-sTr0-BrQY-2MNb-UbggRO" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-17-07-52-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": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/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": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/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": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/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/tmpmb3dyg70/tests/verify-role-results.yml:19 Thursday 21 July 2022 17:11:53 +0000 (0:00:00.446) 0:03:48.135 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003534", "end": "2022-07-21 17:11:53.568946", "rc": 0, "start": "2022-07-21 17:11:53.565412" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 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=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /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/foo-test1 /opt/test1 ext2 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:24 Thursday 21 July 2022 17:11:54 +0000 (0:00:00.462) 0:03:48.597 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003848", "end": "2022-07-21 17:11:53.995397", "failed_when_result": false, "rc": 0, "start": "2022-07-21 17:11:53.991549" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:33 Thursday 21 July 2022 17:11:54 +0000 (0:00:00.429) 0:03:49.026 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:5 Thursday 21 July 2022 17:11:54 +0000 (0:00:00.067) 0:03:49.094 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:18 Thursday 21 July 2022 17:11:54 +0000 (0:00:00.038) 0:03:49.133 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:11:54 +0000 (0:00:00.048) 0:03:49.182 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 17:11:54 +0000 (0:00:00.049) 0:03:49.231 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:11:55 +0000 (0:00:00.418) 0:03:49.649 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:11:55 +0000 (0:00:00.041) 0:03:49.691 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 17:11:55 +0000 (0:00:00.040) 0:03:49.731 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 17:11:55 +0000 (0:00:00.042) 0:03:49.773 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 17:11:55 +0000 (0:00:00.043) 0:03:49.817 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 17:11:55 +0000 (0:00:00.044) 0:03:49.861 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 17:11:55 +0000 (0:00:00.026) 0:03:49.888 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:11:55 +0000 (0:00:00.045) 0:03:49.933 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:6 Thursday 21 July 2022 17:11:55 +0000 (0:00:00.047) 0:03:49.981 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:12 Thursday 21 July 2022 17:11:55 +0000 (0:00:00.027) 0:03:50.008 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:16 Thursday 21 July 2022 17:11:55 +0000 (0:00:00.026) 0:03:50.035 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:20 Thursday 21 July 2022 17:11:55 +0000 (0:00:00.026) 0:03:50.062 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:24 Thursday 21 July 2022 17:11:55 +0000 (0:00:00.026) 0:03:50.089 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:30 Thursday 21 July 2022 17:11:55 +0000 (0:00:00.026) 0:03:50.115 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:36 Thursday 21 July 2022 17:11:55 +0000 (0:00:00.026) 0:03:50.142 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:44 Thursday 21 July 2022 17:11:55 +0000 (0:00:00.025) 0:03:50.168 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:11:55 +0000 (0:00:00.039) 0:03:50.207 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:11:55 +0000 (0:00:00.047) 0:03:50.255 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml for /cache/fedora-36.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': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:11:55 +0000 (0:00:00.048) 0:03:50.304 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:11:55 +0000 (0:00:00.030) 0:03:50.334 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:11:55 +0000 (0:00:00.029) 0:03:50.364 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:11:55 +0000 (0:00:00.031) 0:03:50.396 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:11:55 +0000 (0:00:00.047) 0:03:50.444 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml for /cache/fedora-36.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': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:11:56 +0000 (0:00:00.095) 0:03:50.539 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:11:56 +0000 (0:00:00.027) 0:03:50.566 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:11:56 +0000 (0:00:00.025) 0:03:50.592 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:11:56 +0000 (0:00:00.026) 0:03:50.619 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:11:56 +0000 (0:00:00.028) 0:03:50.647 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:11:56 +0000 (0:00:00.049) 0:03:50.697 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:11:56 +0000 (0:00:00.043) 0:03:50.740 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:11:56 +0000 (0:00:00.031) 0:03:50.772 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 17:11:56 +0000 (0:00:00.045) 0:03:50.817 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 17:11:56 +0000 (0:00:00.041) 0:03:50.859 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 17:11:56 +0000 (0:00:00.045) 0:03:50.904 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 17:11:56 +0000 (0:00:00.026) 0:03:50.930 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 17:11:56 +0000 (0:00:00.026) 0:03:50.957 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 17:11:56 +0000 (0:00:00.035) 0:03:50.993 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:11:56 +0000 (0:00:00.046) 0:03:51.039 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 17:11:56 +0000 (0:00:00.036) 0:03:51.076 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:11:56 +0000 (0:00:00.054) 0:03:51.131 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml for /cache/fedora-36.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': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:11:56 +0000 (0:00:00.050) 0:03:51.182 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:11:56 +0000 (0:00:00.027) 0:03:51.209 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:11:56 +0000 (0:00:00.028) 0:03:51.237 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:11:56 +0000 (0:00:00.028) 0:03:51.266 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:11:56 +0000 (0:00:00.039) 0:03:51.306 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:11:56 +0000 (0:00:00.028) 0:03:51.334 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:11:56 +0000 (0:00:00.026) 0:03:51.361 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:11:56 +0000 (0:00:00.027) 0:03:51.389 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 17:11:56 +0000 (0:00:00.033) 0:03:51.423 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:11:57 +0000 (0:00:00.034) 0:03:51.457 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml for /cache/fedora-36.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': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:2 Thursday 21 July 2022 17:11:57 +0000 (0:00:00.045) 0:03:51.503 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume.yml:10 Thursday 21 July 2022 17:11:57 +0000 (0:00:00.039) 0:03:51.542 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:11:57 +0000 (0:00:00.075) 0:03:51.618 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 17:11:57 +0000 (0:00:00.043) 0:03:51.662 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1222051, "block_size": 4096, "block_total": 1287592, "block_used": 65541, "device": "/dev/mapper/foo-test1", "fstype": "ext2", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 5005520896, "size_total": 5273976832, "uuid": "12803eb4-5520-433d-bf8d-063bdac407f0" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1222051, "block_size": 4096, "block_total": 1287592, "block_used": 65541, "device": "/dev/mapper/foo-test1", "fstype": "ext2", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 5005520896, "size_total": 5273976832, "uuid": "12803eb4-5520-433d-bf8d-063bdac407f0" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 17:11:57 +0000 (0:00:00.047) 0:03:51.710 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:11:57 +0000 (0:00:00.041) 0:03:51.751 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 17:11:57 +0000 (0:00:00.097) 0:03:51.849 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 17:11:57 +0000 (0:00:00.143) 0:03:51.993 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 17:11:57 +0000 (0:00:00.026) 0:03:52.020 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 17:11:57 +0000 (0:00:00.026) 0:03:52.047 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 17:11:57 +0000 (0:00:00.027) 0:03:52.075 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:11:57 +0000 (0:00:00.038) 0:03:52.113 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext2 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:11:57 +0000 (0:00:00.056) 0:03:52.170 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 17:11:57 +0000 (0:00:00.044) 0:03:52.215 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 17:11:57 +0000 (0:00:00.046) 0:03:52.261 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 17:11:57 +0000 (0:00:00.027) 0:03:52.288 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:11:57 +0000 (0:00:00.039) 0:03:52.328 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:11:57 +0000 (0:00:00.043) 0:03:52.371 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:11:57 +0000 (0:00:00.043) 0:03:52.415 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658423510.211376, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658423508.658376, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1956, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658423508.658376, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:11:58 +0000 (0:00:00.437) 0:03:52.852 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 17:11:58 +0000 (0:00:00.038) 0:03:52.891 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 17:11:58 +0000 (0:00:00.041) 0:03:52.932 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 17:11:58 +0000 (0:00:00.040) 0:03:52.973 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 17:11:58 +0000 (0:00:00.027) 0:03:53.001 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:11:58 +0000 (0:00:00.043) 0:03:53.044 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:11:58 +0000 (0:00:00.026) 0:03:53.070 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:12:00 +0000 (0:00:02.029) 0:03:55.099 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:12:00 +0000 (0:00:00.041) 0:03:55.141 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 17:12:00 +0000 (0:00:00.025) 0:03:55.167 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 17:12:00 +0000 (0:00:00.047) 0:03:55.214 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:12:00 +0000 (0:00:00.029) 0:03:55.244 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 17:12:00 +0000 (0:00:00.026) 0:03:55.270 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 17:12:00 +0000 (0:00:00.026) 0:03:55.297 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 17:12:00 +0000 (0:00:00.026) 0:03:55.323 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:12:00 +0000 (0:00:00.025) 0:03:55.349 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 17:12:00 +0000 (0:00:00.040) 0:03:55.389 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 17:12:00 +0000 (0:00:00.042) 0:03:55.432 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 17:12:01 +0000 (0:00:00.025) 0:03:55.458 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 17:12:01 +0000 (0:00:00.026) 0:03:55.484 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 17:12:01 +0000 (0:00:00.027) 0:03:55.512 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:12:01 +0000 (0:00:00.093) 0:03:55.606 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:12:01 +0000 (0:00:00.026) 0:03:55.632 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:12:01 +0000 (0:00:00.029) 0:03:55.661 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:12:01 +0000 (0:00:00.024) 0:03:55.686 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:12:01 +0000 (0:00:00.024) 0:03:55.711 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:12:01 +0000 (0:00:00.024) 0:03:55.735 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:12:01 +0000 (0:00:00.070) 0:03:55.805 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:12:01 +0000 (0:00:00.026) 0:03:55.832 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:12:01 +0000 (0:00:00.417) 0:03:56.250 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:12:02 +0000 (0:00:00.414) 0:03:56.664 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:12:02 +0000 (0:00:00.039) 0:03:56.703 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:12:02 +0000 (0:00:00.036) 0:03:56.740 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:12:02 +0000 (0:00:00.026) 0:03:56.766 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:12:02 +0000 (0:00:00.025) 0:03:56.792 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:12:02 +0000 (0:00:00.024) 0:03:56.817 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:12:02 +0000 (0:00:00.028) 0:03:56.845 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:12:02 +0000 (0:00:00.029) 0:03:56.874 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:12:02 +0000 (0:00:00.037) 0:03:56.912 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:12:02 +0000 (0:00:00.036) 0:03:56.949 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:12:02 +0000 (0:00:00.042) 0:03:56.991 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.045051", "end": "2022-07-21 17:12:02.435873", "rc": 0, "start": "2022-07-21 17:12:02.390822" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:12:03 +0000 (0:00:00.476) 0:03:57.468 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:12:03 +0000 (0:00:00.040) 0:03:57.508 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:12:03 +0000 (0:00:00.042) 0:03:57.550 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:12:03 +0000 (0:00:00.026) 0:03:57.576 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:12:03 +0000 (0:00:00.026) 0:03:57.602 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:12:03 +0000 (0:00:00.025) 0:03:57.628 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:16 Thursday 21 July 2022 17:12:03 +0000 (0:00:00.027) 0:03:57.655 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:43 Thursday 21 July 2022 17:12:03 +0000 (0:00:00.033) 0:03:57.689 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:53 Thursday 21 July 2022 17:12:03 +0000 (0:00:00.022) 0:03:57.711 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:332 Thursday 21 July 2022 17:12:03 +0000 (0:00:00.036) 0:03:57.748 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 17:12:03 +0000 (0:00:00.086) 0:03:57.834 ********* included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:12:03 +0000 (0:00:00.085) 0:03:57.919 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 17:12:04 +0000 (0:00:00.542) 0:03:58.462 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 17:12:04 +0000 (0:00:00.066) 0:03:58.528 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 17:12:04 +0000 (0:00:00.040) 0:03:58.568 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 17:12:04 +0000 (0:00:00.038) 0:03:58.606 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:12:04 +0000 (0:00:00.053) 0:03:58.660 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:12:04 +0000 (0:00:00.023) 0:03:58.683 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 17:12:04 +0000 (0:00:00.031) 0:03:58.715 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 17:12:04 +0000 (0:00:00.045) 0:03:58.760 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 17:12:04 +0000 (0:00:00.039) 0:03:58.799 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 17:12:04 +0000 (0:00:00.029) 0:03:58.828 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 17:12:04 +0000 (0:00:00.028) 0:03:58.857 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 17:12:04 +0000 (0:00:00.027) 0:03:58.885 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:12:04 +0000 (0:00:00.032) 0:03:58.917 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 17:12:04 +0000 (0:00:00.051) 0:03:58.969 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 17:12:04 +0000 (0:00:00.024) 0:03:58.993 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/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": "ext2", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "dosfstools", "e2fsprogs", "btrfs-progs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 17:12:07 +0000 (0:00:02.909) 0:04:01.903 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 17:12:07 +0000 (0:00:00.027) 0:04:01.930 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 17:12:07 +0000 (0:00:00.022) 0:04:01.953 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/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": "ext2", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "dosfstools", "e2fsprogs", "btrfs-progs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 17:12:07 +0000 (0:00:00.043) 0:04:01.997 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 17:12:07 +0000 (0:00:00.038) 0:04:02.035 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 17:12:07 +0000 (0:00:00.048) 0:04:02.083 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'ext2'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext2", "mount_info": { "fstype": "ext2", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 17:12:08 +0000 (0:00:00.445) 0:04:02.529 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 17:12:08 +0000 (0:00:00.758) 0:04:03.287 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 17:12:08 +0000 (0:00:00.031) 0:04:03.319 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 17:12:09 +0000 (0:00:00.797) 0:04:04.116 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "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": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "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/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 17:12:10 +0000 (0:00:00.490) 0:04:04.607 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 17:12:10 +0000 (0:00:00.023) 0:04:04.631 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/tests_resize.yml:345 Thursday 21 July 2022 17:12:11 +0000 (0:00:01.061) 0:04:05.692 ********* included: /tmp/tmpmb3dyg70/tests/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:1 Thursday 21 July 2022 17:12:11 +0000 (0:00:00.060) 0:04:05.753 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:6 Thursday 21 July 2022 17:12:11 +0000 (0:00:00.043) 0:04:05.797 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:14 Thursday 21 July 2022 17:12:11 +0000 (0:00:00.026) 0:04:05.823 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-17-07-52-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": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/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": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/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": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/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/tmpmb3dyg70/tests/verify-role-results.yml:19 Thursday 21 July 2022 17:12:11 +0000 (0:00:00.423) 0:04:06.246 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.004680", "end": "2022-07-21 17:12:12.621632", "rc": 0, "start": "2022-07-21 17:12:11.616952" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 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=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /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/tmpmb3dyg70/tests/verify-role-results.yml:24 Thursday 21 July 2022 17:12:13 +0000 (0:00:01.408) 0:04:07.655 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003367", "end": "2022-07-21 17:12:13.060956", "failed_when_result": false, "rc": 0, "start": "2022-07-21 17:12:13.057589" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:33 Thursday 21 July 2022 17:12:13 +0000 (0:00:00.438) 0:04:08.094 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'absent', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:5 Thursday 21 July 2022 17:12:13 +0000 (0:00:00.052) 0:04:08.146 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool.yml:18 Thursday 21 July 2022 17:12:13 +0000 (0:00:00.043) 0:04:08.190 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmpmb3dyg70/tests/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:12:13 +0000 (0:00:00.052) 0:04:08.243 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 17:12:13 +0000 (0:00:00.043) 0:04:08.286 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:12:13 +0000 (0:00:00.023) 0:04:08.309 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:12:13 +0000 (0:00:00.040) 0:04:08.350 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 17:12:13 +0000 (0:00:00.038) 0:04:08.389 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 17:12:13 +0000 (0:00:00.039) 0:04:08.429 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 17:12:14 +0000 (0:00:00.084) 0:04:08.513 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 17:12:14 +0000 (0:00:00.040) 0:04:08.553 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 17:12:14 +0000 (0:00:00.023) 0:04:08.577 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:12:14 +0000 (0:00:00.021) 0:04:08.598 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:6 Thursday 21 July 2022 17:12:14 +0000 (0:00:00.042) 0:04:08.641 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:12 Thursday 21 July 2022 17:12:14 +0000 (0:00:00.023) 0:04:08.665 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:16 Thursday 21 July 2022 17:12:14 +0000 (0:00:00.023) 0:04:08.689 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:20 Thursday 21 July 2022 17:12:14 +0000 (0:00:00.025) 0:04:08.714 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:24 Thursday 21 July 2022 17:12:14 +0000 (0:00:00.069) 0:04:08.784 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:30 Thursday 21 July 2022 17:12:14 +0000 (0:00:00.028) 0:04:08.813 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:36 Thursday 21 July 2022 17:12:14 +0000 (0:00:00.025) 0:04:08.838 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-md.yml:44 Thursday 21 July 2022 17:12:14 +0000 (0:00:00.026) 0:04:08.865 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:12:14 +0000 (0:00:00.037) 0:04:08.903 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:12:14 +0000 (0:00:00.043) 0:04:08.946 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml for /cache/fedora-36.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': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:12:14 +0000 (0:00:00.046) 0:04:08.992 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:12:14 +0000 (0:00:00.030) 0:04:09.023 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:12:14 +0000 (0:00:00.028) 0:04:09.052 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:12:14 +0000 (0:00:00.029) 0:04:09.081 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:12:14 +0000 (0:00:00.044) 0:04:09.125 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml for /cache/fedora-36.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': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:12:14 +0000 (0:00:00.042) 0:04:09.168 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:12:14 +0000 (0:00:00.022) 0:04:09.191 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:12:14 +0000 (0:00:00.025) 0:04:09.216 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:12:14 +0000 (0:00:00.024) 0:04:09.241 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:12:14 +0000 (0:00:00.026) 0:04:09.267 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:12:14 +0000 (0:00:00.047) 0:04:09.315 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:12:14 +0000 (0:00:00.043) 0:04:09.358 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:12:14 +0000 (0:00:00.024) 0:04:09.383 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:12:14 +0000 (0:00:00.023) 0:04:09.406 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 17:12:14 +0000 (0:00:00.036) 0:04:09.442 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:12:15 +0000 (0:00:00.048) 0:04:09.490 ********* included: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml for /cache/fedora-36.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': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:12:15 +0000 (0:00:00.044) 0:04:09.535 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:12:15 +0000 (0:00:00.027) 0:04:09.563 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:12:15 +0000 (0:00:00.026) 0:04:09.589 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:12:15 +0000 (0:00:00.026) 0:04:09.616 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:12:15 +0000 (0:00:00.026) 0:04:09.643 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:12:15 +0000 (0:00:00.027) 0:04:09.670 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:12:15 +0000 (0:00:00.024) 0:04:09.695 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:12:15 +0000 (0:00:00.028) 0:04:09.723 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 17:12:15 +0000 (0:00:00.037) 0:04:09.761 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:12:15 +0000 (0:00:00.041) 0:04:09.803 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml for /cache/fedora-36.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': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:2 Thursday 21 July 2022 17:12:15 +0000 (0:00:00.047) 0:04:09.850 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume.yml:10 Thursday 21 July 2022 17:12:15 +0000 (0:00:00.089) 0:04:09.940 ********* included: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:12:15 +0000 (0:00:00.121) 0:04:10.062 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 17:12:15 +0000 (0:00:00.043) 0:04:10.106 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 17:12:15 +0000 (0:00:00.046) 0:04:10.152 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:12:15 +0000 (0:00:00.026) 0:04:10.178 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 17:12:15 +0000 (0:00:00.041) 0:04:10.220 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 17:12:15 +0000 (0:00:00.025) 0:04:10.245 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 17:12:15 +0000 (0:00:00.025) 0:04:10.270 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 17:12:15 +0000 (0:00:00.023) 0:04:10.294 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 17:12:15 +0000 (0:00:00.024) 0:04:10.318 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:12:15 +0000 (0:00:00.033) 0:04:10.351 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:12:15 +0000 (0:00:00.052) 0:04:10.404 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 17:12:15 +0000 (0:00:00.023) 0:04:10.427 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 17:12:16 +0000 (0:00:00.046) 0:04:10.474 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 17:12:16 +0000 (0:00:00.029) 0:04:10.503 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:12:16 +0000 (0:00:00.036) 0:04:10.540 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:12:16 +0000 (0:00:00.027) 0:04:10.568 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:12:16 +0000 (0:00:00.027) 0:04:10.595 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:12:16 +0000 (0:00:00.419) 0:04:11.015 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 17:12:16 +0000 (0:00:00.042) 0:04:11.057 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 17:12:16 +0000 (0:00:00.026) 0:04:11.084 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 17:12:16 +0000 (0:00:00.038) 0:04:11.122 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 17:12:16 +0000 (0:00:00.026) 0:04:11.148 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:12:16 +0000 (0:00:00.023) 0:04:11.172 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:12:16 +0000 (0:00:00.024) 0:04:11.196 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:12:18 +0000 (0:00:02.022) 0:04:13.219 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:12:18 +0000 (0:00:00.025) 0:04:13.245 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 17:12:18 +0000 (0:00:00.026) 0:04:13.272 ********* skipping: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 17:12:18 +0000 (0:00:00.024) 0:04:13.296 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:12:18 +0000 (0:00:00.024) 0:04:13.321 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 17:12:18 +0000 (0:00:00.026) 0:04:13.347 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 17:12:18 +0000 (0:00:00.025) 0:04:13.373 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 17:12:18 +0000 (0:00:00.025) 0:04:13.398 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:12:18 +0000 (0:00:00.026) 0:04:13.425 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 17:12:19 +0000 (0:00:00.139) 0:04:13.565 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 17:12:19 +0000 (0:00:00.039) 0:04:13.604 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 17:12:19 +0000 (0:00:00.025) 0:04:13.630 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 17:12:19 +0000 (0:00:00.025) 0:04:13.655 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 17:12:19 +0000 (0:00:00.030) 0:04:13.686 ********* ok: [/cache/fedora-36.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/tmpmb3dyg70/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:12:19 +0000 (0:00:00.045) 0:04:13.732 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:12:19 +0000 (0:00:00.029) 0:04:13.761 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:12:19 +0000 (0:00:00.029) 0:04:13.790 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:12:19 +0000 (0:00:00.034) 0:04:13.824 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:12:19 +0000 (0:00:00.028) 0:04:13.853 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:12:19 +0000 (0:00:00.028) 0:04:13.881 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:12:19 +0000 (0:00:00.026) 0:04:13.907 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:12:19 +0000 (0:00:00.029) 0:04:13.937 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:12:19 +0000 (0:00:00.023) 0:04:13.961 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:12:19 +0000 (0:00:00.030) 0:04:13.991 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:12:19 +0000 (0:00:00.025) 0:04:14.017 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:12:19 +0000 (0:00:00.046) 0:04:14.064 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:12:19 +0000 (0:00:00.026) 0:04:14.090 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:12:19 +0000 (0:00:00.025) 0:04:14.116 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:12:19 +0000 (0:00:00.027) 0:04:14.144 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:12:19 +0000 (0:00:00.029) 0:04:14.173 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:12:19 +0000 (0:00:00.025) 0:04:14.199 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:12:19 +0000 (0:00:00.035) 0:04:14.235 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:12:19 +0000 (0:00:00.036) 0:04:14.272 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:12:19 +0000 (0:00:00.026) 0:04:14.298 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:12:19 +0000 (0:00:00.024) 0:04:14.323 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:12:19 +0000 (0:00:00.023) 0:04:14.347 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:12:19 +0000 (0:00:00.023) 0:04:14.370 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:12:19 +0000 (0:00:00.025) 0:04:14.396 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:12:19 +0000 (0:00:00.026) 0:04:14.422 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:12:19 +0000 (0:00:00.024) 0:04:14.447 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpmb3dyg70/tests/test-verify-volume.yml:16 Thursday 21 July 2022 17:12:20 +0000 (0:00:00.024) 0:04:14.471 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:43 Thursday 21 July 2022 17:12:20 +0000 (0:00:00.036) 0:04:14.507 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpmb3dyg70/tests/verify-role-results.yml:53 Thursday 21 July 2022 17:12:20 +0000 (0:00:00.027) 0:04:14.535 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=1244 changed=26 unreachable=0 failed=3 skipped=1005 rescued=3 ignored=0 Thursday 21 July 2022 17:12:20 +0000 (0:00:00.059) 0:04:14.594 ********* =============================================================================== linux-system-roles.storage : manage the pools and volumes to match the specified state --- 3.15s /tmp/tmpmb3dyg70/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.11s /tmp/tmpmb3dyg70/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.05s /tmp/tmpmb3dyg70/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.00s /tmp/tmpmb3dyg70/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.00s /tmp/tmpmb3dyg70/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.91s /tmp/tmpmb3dyg70/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.90s /tmp/tmpmb3dyg70/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.80s /tmp/tmpmb3dyg70/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.78s /tmp/tmpmb3dyg70/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.77s /tmp/tmpmb3dyg70/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.69s /tmp/tmpmb3dyg70/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.62s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : make sure blivet is available -------------- 2.60s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.59s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : get service facts -------------------------- 2.22s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.15s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.09s /tmp/tmpmb3dyg70/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Ensure cryptsetup is present -------------------------------------------- 2.08s /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 2.06s /tmp/tmpmb3dyg70/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 2.05s /tmp/tmpmb3dyg70/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/tmpdbh6f40u 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_resize.yml ***************************************************** 1 plays in /tmp/tmppde4z2jm/tests/storage/tests_resize.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:1 Thursday 21 July 2022 21:05:34 +0000 (0:00:00.014) 0:00:00.014 ********* ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [include_role : fedora.linux_system_roles.storage] ************************ task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:18 Thursday 21 July 2022 21:05:35 +0000 (0:00:01.343) 0:00:01.358 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 21:05:35 +0000 (0:00:00.034) 0:00:01.392 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 21:05:35 +0000 (0:00:00.030) 0:00:01.422 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 21:05:35 +0000 (0:00:00.548) 0:00:01.970 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 21:05:36 +0000 (0:00:00.057) 0:00:02.028 ********* ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 21:05:36 +0000 (0:00:00.031) 0:00:02.060 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 21:05:36 +0000 (0:00:00.029) 0:00:02.090 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 21:05:36 +0000 (0:00:00.055) 0:00:02.145 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 21:05:36 +0000 (0:00:00.017) 0:00:02.162 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 21:05:38 +0000 (0:00:02.649) 0:00:04.811 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 21:05:38 +0000 (0:00:00.033) 0:00:04.844 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 21:05:38 +0000 (0:00:00.031) 0:00:04.875 ********* ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 21:05:39 +0000 (0:00:00.749) 0:00:05.625 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 21:05:39 +0000 (0:00:00.042) 0:00:05.667 ********* skipping: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 21:05:39 +0000 (0:00:00.039) 0:00:05.707 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable COPRs] ************************ task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 21:05:39 +0000 (0:00:00.032) 0:00:05.740 ********* skipping: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 21:05:39 +0000 (0:00:00.044) 0:00:05.784 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 21:05:41 +0000 (0:00:01.896) 0:00:07.680 ********* ok: [/cache/fedora-36.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-hotplugd.service": { "name": "cloud-init-hotplugd.service", "source": "systemd", "state": "inactive", "status": "static" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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-onfailure.service": { "name": "dracut-shutdown-onfailure.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" }, "nm-priv-helper.service": { "name": "nm-priv-helper.service", "source": "systemd", "state": "inactive", "status": "static" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "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-migrate.service": { "name": "rpmdb-migrate.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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-boot-update.service": { "name": "systemd-boot-update.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "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-FAAC\\x2dBFC8.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-FAAC\\x2dBFC8.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-disk-by\\x2duuid-cb4982f0\\x2dd861\\x2d4106\\x2dada7\\x2daaeba17ae2bb.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-cb4982f0\\x2dd861\\x2d4106\\x2dada7\\x2daaeba17ae2bb.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 21:05:43 +0000 (0:00:02.181) 0:00:09.862 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 21:05:43 +0000 (0:00:00.082) 0:00:09.945 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 21:05:44 +0000 (0:00:00.055) 0:00:10.000 ********* ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 21:05:44 +0000 (0:00:00.578) 0:00:10.578 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 21:05:44 +0000 (0:00:00.036) 0:00:10.615 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 21:05:44 +0000 (0:00:00.022) 0:00:10.637 ********* ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 21:05:44 +0000 (0:00:00.037) 0:00:10.674 ********* ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 21:05:44 +0000 (0:00:00.037) 0:00:10.712 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 21:05:44 +0000 (0:00:00.035) 0:00:10.748 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 21:05:44 +0000 (0:00:00.035) 0:00:10.783 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 21:05:44 +0000 (0:00:00.022) 0:00:10.805 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 21:05:44 +0000 (0:00:00.038) 0:00:10.843 ********* skipping: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 21:05:44 +0000 (0:00:00.024) 0:00:10.868 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "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": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 21:05:45 +0000 (0:00:00.530) 0:00:11.398 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 21:05:45 +0000 (0:00:00.022) 0:00:11.421 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:21 Thursday 21 July 2022 21:05:46 +0000 (0:00:00.959) 0:00:12.381 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:28 Thursday 21 July 2022 21:05:46 +0000 (0:00:00.032) 0:00:12.413 ********* included: /tmp/tmppde4z2jm/tests/storage/get_unused_disk.yml for /cache/fedora-36.qcow2.snap TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/get_unused_disk.yml:2 Thursday 21 July 2022 21:05:46 +0000 (0:00:00.035) 0:00:12.449 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "disks": [ "sda" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/get_unused_disk.yml:9 Thursday 21 July 2022 21:05:47 +0000 (0:00:00.541) 0:00:12.990 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "unused_disks": [ "sda" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmppde4z2jm/tests/storage/get_unused_disk.yml:14 Thursday 21 July 2022 21:05:47 +0000 (0:00:00.038) 0:00:13.028 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/get_unused_disk.yml:19 Thursday 21 July 2022 21:05:47 +0000 (0:00:00.036) 0:00:13.065 ********* ok: [/cache/fedora-36.qcow2.snap] => { "unused_disks": [ "sda" ] } TASK [Create one LVM logical volume with "5g" under one volume group] ********** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:35 Thursday 21 July 2022 21:05:47 +0000 (0:00:00.058) 0:00:13.123 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 21:05:47 +0000 (0:00:00.041) 0:00:13.164 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 21:05:47 +0000 (0:00:00.033) 0:00:13.197 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 21:05:47 +0000 (0:00:00.571) 0:00:13.769 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 21:05:47 +0000 (0:00:00.058) 0:00:13.828 ********* ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 21:05:47 +0000 (0:00:00.031) 0:00:13.860 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 21:05:47 +0000 (0:00:00.032) 0:00:13.892 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 21:05:47 +0000 (0:00:00.053) 0:00:13.946 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 21:05:47 +0000 (0:00:00.019) 0:00:13.966 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 21:05:48 +0000 (0:00:00.025) 0:00:13.991 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 21:05:48 +0000 (0:00:00.036) 0:00:14.027 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 21:05:48 +0000 (0:00:00.032) 0:00:14.059 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 21:05:48 +0000 (0:00:00.024) 0:00:14.083 ********* skipping: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 21:05:48 +0000 (0:00:00.024) 0:00:14.108 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 21:05:48 +0000 (0:00:00.025) 0:00:14.134 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 21:05:48 +0000 (0:00:00.024) 0:00:14.158 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 21:05:48 +0000 (0:00:00.051) 0:00:14.210 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 21:05:48 +0000 (0:00:00.018) 0:00:14.229 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "dosfstools", "lvm2", "e2fsprogs", "btrfs-progs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 21:05:50 +0000 (0:00:02.662) 0:00:16.891 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 21:05:50 +0000 (0:00:00.037) 0:00:16.929 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 21:05:50 +0000 (0:00:00.022) 0:00:16.951 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "dosfstools", "lvm2", "e2fsprogs", "btrfs-progs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 21:05:51 +0000 (0:00:00.040) 0:00:16.991 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 21:05:51 +0000 (0:00:00.066) 0:00:17.058 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 21:05:51 +0000 (0:00:00.050) 0:00:17.108 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 21:05:51 +0000 (0:00:00.039) 0:00:17.148 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 21:05:52 +0000 (0:00:01.037) 0:00:18.185 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext4', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 21:05:52 +0000 (0:00:00.588) 0:00:18.774 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 21:05:53 +0000 (0:00:00.800) 0:00:19.575 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "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": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 21:05:54 +0000 (0:00:00.419) 0:00:19.994 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 21:05:54 +0000 (0:00:00.024) 0:00:20.018 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:50 Thursday 21 July 2022 21:05:54 +0000 (0:00:00.957) 0:00:20.976 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 21:05:55 +0000 (0:00:00.042) 0:00:21.018 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 21:05:55 +0000 (0:00:00.050) 0:00:21.069 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 21:05:55 +0000 (0:00:00.036) 0:00:21.106 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "3aa8abd9-aeca-4d99-b2bd-773355a7e824" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "33s27G-n6s3-1uV2-0ke6-QT1G-jSMr-GdpSpf" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-21-05-21-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": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/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": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/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": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/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/tmppde4z2jm/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 21:05:55 +0000 (0:00:00.548) 0:00:21.654 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003081", "end": "2022-07-21 21:05:56.143321", "rc": 0, "start": "2022-07-21 21:05:56.140240" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 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=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /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/foo-test1 /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 21:05:56 +0000 (0:00:00.530) 0:00:22.184 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003495", "end": "2022-07-21 21:05:56.553744", "failed_when_result": false, "rc": 0, "start": "2022-07-21 21:05:56.550249" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 21:05:56 +0000 (0:00:00.410) 0:00:22.595 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 21:05:56 +0000 (0:00:00.058) 0:00:22.653 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 21:05:56 +0000 (0:00:00.088) 0:00:22.742 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 21:05:56 +0000 (0:00:00.047) 0:00:22.790 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 21:05:56 +0000 (0:00:00.052) 0:00:22.843 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 21:05:57 +0000 (0:00:00.509) 0:00:23.353 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 21:05:57 +0000 (0:00:00.050) 0:00:23.403 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 21:05:57 +0000 (0:00:00.050) 0:00:23.453 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 21:05:57 +0000 (0:00:00.047) 0:00:23.501 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 21:05:57 +0000 (0:00:00.033) 0:00:23.534 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 21:05:57 +0000 (0:00:00.045) 0:00:23.580 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 21:05:57 +0000 (0:00:00.022) 0:00:23.602 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 21:05:57 +0000 (0:00:00.037) 0:00:23.640 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 21:05:57 +0000 (0:00:00.043) 0:00:23.684 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 21:05:57 +0000 (0:00:00.024) 0:00:23.709 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 21:05:57 +0000 (0:00:00.022) 0:00:23.731 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 21:05:57 +0000 (0:00:00.022) 0:00:23.754 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 21:05:57 +0000 (0:00:00.022) 0:00:23.776 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 21:05:57 +0000 (0:00:00.023) 0:00:23.800 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 21:05:57 +0000 (0:00:00.022) 0:00:23.822 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 21:05:57 +0000 (0:00:00.022) 0:00:23.845 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 21:05:57 +0000 (0:00:00.037) 0:00:23.882 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 21:05:57 +0000 (0:00:00.044) 0:00:23.927 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-36.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 21:05:57 +0000 (0:00:00.040) 0:00:23.967 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 21:05:58 +0000 (0:00:00.025) 0:00:23.993 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 21:05:58 +0000 (0:00:00.025) 0:00:24.018 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 21:05:58 +0000 (0:00:00.024) 0:00:24.043 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 21:05:58 +0000 (0:00:00.043) 0:00:24.087 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml for /cache/fedora-36.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 21:05:58 +0000 (0:00:00.044) 0:00:24.131 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 21:05:58 +0000 (0:00:00.024) 0:00:24.156 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 21:05:58 +0000 (0:00:00.051) 0:00:24.207 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 21:05:58 +0000 (0:00:00.022) 0:00:24.230 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 21:05:58 +0000 (0:00:00.021) 0:00:24.251 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 21:05:58 +0000 (0:00:00.045) 0:00:24.296 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 21:05:58 +0000 (0:00:00.045) 0:00:24.342 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 21:05:58 +0000 (0:00:00.028) 0:00:24.370 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 21:05:58 +0000 (0:00:00.042) 0:00:24.413 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 21:05:58 +0000 (0:00:00.045) 0:00:24.458 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 21:05:58 +0000 (0:00:00.047) 0:00:24.505 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 21:05:58 +0000 (0:00:00.038) 0:00:24.544 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 21:05:58 +0000 (0:00:00.037) 0:00:24.581 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 21:05:58 +0000 (0:00:00.036) 0:00:24.617 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 21:05:58 +0000 (0:00:00.036) 0:00:24.654 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 21:05:58 +0000 (0:00:00.033) 0:00:24.688 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 21:05:58 +0000 (0:00:00.047) 0:00:24.736 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-36.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 21:05:58 +0000 (0:00:00.046) 0:00:24.782 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 21:05:58 +0000 (0:00:00.025) 0:00:24.808 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 21:05:58 +0000 (0:00:00.025) 0:00:24.834 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 21:05:58 +0000 (0:00:00.025) 0:00:24.860 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 21:05:58 +0000 (0:00:00.023) 0:00:24.883 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 21:05:58 +0000 (0:00:00.023) 0:00:24.907 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 21:05:58 +0000 (0:00:00.022) 0:00:24.930 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 21:05:58 +0000 (0:00:00.023) 0:00:24.954 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 21:05:59 +0000 (0:00:00.033) 0:00:24.987 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 21:05:59 +0000 (0:00:00.035) 0:00:25.023 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml for /cache/fedora-36.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 21:05:59 +0000 (0:00:00.042) 0:00:25.066 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 21:05:59 +0000 (0:00:00.048) 0:00:25.114 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 21:05:59 +0000 (0:00:00.082) 0:00:25.197 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 21:05:59 +0000 (0:00:00.040) 0:00:25.238 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1199010, "block_size": 4096, "block_total": 1268648, "block_used": 69638, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 4911144960, "size_total": 5196382208, "uuid": "3aa8abd9-aeca-4d99-b2bd-773355a7e824" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1199010, "block_size": 4096, "block_total": 1268648, "block_used": 69638, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 4911144960, "size_total": 5196382208, "uuid": "3aa8abd9-aeca-4d99-b2bd-773355a7e824" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 21:05:59 +0000 (0:00:00.087) 0:00:25.325 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 21:05:59 +0000 (0:00:00.085) 0:00:25.410 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 21:05:59 +0000 (0:00:00.080) 0:00:25.490 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 21:05:59 +0000 (0:00:00.051) 0:00:25.542 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 21:05:59 +0000 (0:00:00.024) 0:00:25.567 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 21:05:59 +0000 (0:00:00.024) 0:00:25.591 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 21:05:59 +0000 (0:00:00.023) 0:00:25.615 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 21:05:59 +0000 (0:00:00.034) 0:00:25.649 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 21:05:59 +0000 (0:00:00.061) 0:00:25.710 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 21:05:59 +0000 (0:00:00.047) 0:00:25.757 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 21:05:59 +0000 (0:00:00.047) 0:00:25.805 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 21:05:59 +0000 (0:00:00.034) 0:00:25.840 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 21:05:59 +0000 (0:00:00.036) 0:00:25.876 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 21:05:59 +0000 (0:00:00.037) 0:00:25.913 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 21:05:59 +0000 (0:00:00.039) 0:00:25.952 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658437552.7409587, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658437550.7849588, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 852, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658437550.7849588, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 21:06:00 +0000 (0:00:00.424) 0:00:26.376 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 21:06:00 +0000 (0:00:00.041) 0:00:26.418 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 21:06:00 +0000 (0:00:00.038) 0:00:26.457 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 21:06:00 +0000 (0:00:00.039) 0:00:26.496 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 21:06:00 +0000 (0:00:00.024) 0:00:26.521 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 21:06:00 +0000 (0:00:00.037) 0:00:26.559 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 21:06:00 +0000 (0:00:00.023) 0:00:26.582 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 21:06:02 +0000 (0:00:02.012) 0:00:28.595 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 21:06:02 +0000 (0:00:00.025) 0:00:28.620 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 21:06:02 +0000 (0:00:00.023) 0:00:28.644 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 21:06:02 +0000 (0:00:00.053) 0:00:28.698 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 21:06:02 +0000 (0:00:00.024) 0:00:28.722 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 21:06:02 +0000 (0:00:00.024) 0:00:28.747 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 21:06:02 +0000 (0:00:00.023) 0:00:28.771 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 21:06:02 +0000 (0:00:00.024) 0:00:28.795 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 21:06:02 +0000 (0:00:00.023) 0:00:28.819 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 21:06:02 +0000 (0:00:00.081) 0:00:28.900 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 21:06:02 +0000 (0:00:00.079) 0:00:28.979 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 21:06:03 +0000 (0:00:00.037) 0:00:29.017 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 21:06:03 +0000 (0:00:00.036) 0:00:29.053 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 21:06:03 +0000 (0:00:00.035) 0:00:29.088 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 21:06:03 +0000 (0:00:00.093) 0:00:29.182 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 21:06:03 +0000 (0:00:00.037) 0:00:29.220 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 21:06:03 +0000 (0:00:00.036) 0:00:29.257 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 21:06:03 +0000 (0:00:00.037) 0:00:29.294 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 21:06:03 +0000 (0:00:00.035) 0:00:29.330 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 21:06:03 +0000 (0:00:00.037) 0:00:29.367 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 21:06:03 +0000 (0:00:00.035) 0:00:29.403 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 21:06:03 +0000 (0:00:00.037) 0:00:29.440 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 21:06:03 +0000 (0:00:00.508) 0:00:29.948 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 21:06:04 +0000 (0:00:00.417) 0:00:30.366 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 21:06:04 +0000 (0:00:00.051) 0:00:30.417 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 21:06:04 +0000 (0:00:00.036) 0:00:30.454 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 21:06:04 +0000 (0:00:00.039) 0:00:30.493 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 21:06:04 +0000 (0:00:00.037) 0:00:30.530 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 21:06:04 +0000 (0:00:00.036) 0:00:30.567 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 21:06:04 +0000 (0:00:00.035) 0:00:30.603 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 21:06:04 +0000 (0:00:00.040) 0:00:30.643 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 21:06:04 +0000 (0:00:00.035) 0:00:30.679 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 21:06:04 +0000 (0:00:00.036) 0:00:30.715 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 21:06:04 +0000 (0:00:00.051) 0:00:30.766 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.040630", "end": "2022-07-21 21:06:05.177178", "rc": 0, "start": "2022-07-21 21:06:05.136548" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 21:06:05 +0000 (0:00:00.453) 0:00:31.220 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 21:06:05 +0000 (0:00:00.058) 0:00:31.278 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 21:06:05 +0000 (0:00:00.057) 0:00:31.335 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 21:06:05 +0000 (0:00:00.040) 0:00:31.376 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 21:06:05 +0000 (0:00:00.037) 0:00:31.413 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 21:06:05 +0000 (0:00:00.040) 0:00:31.454 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 21:06:05 +0000 (0:00:00.036) 0:00:31.490 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 21:06:05 +0000 (0:00:00.079) 0:00:31.569 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 21:06:05 +0000 (0:00:00.023) 0:00:31.593 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change volume_size to "9g"] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:52 Thursday 21 July 2022 21:06:05 +0000 (0:00:00.074) 0:00:31.668 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 21:06:05 +0000 (0:00:00.050) 0:00:31.718 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 21:06:05 +0000 (0:00:00.035) 0:00:31.753 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 21:06:06 +0000 (0:00:00.565) 0:00:32.319 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 21:06:06 +0000 (0:00:00.064) 0:00:32.384 ********* ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 21:06:06 +0000 (0:00:00.039) 0:00:32.423 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 21:06:06 +0000 (0:00:00.036) 0:00:32.460 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 21:06:06 +0000 (0:00:00.061) 0:00:32.521 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 21:06:06 +0000 (0:00:00.022) 0:00:32.543 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 21:06:06 +0000 (0:00:00.029) 0:00:32.572 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "9g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 21:06:06 +0000 (0:00:00.039) 0:00:32.612 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 21:06:06 +0000 (0:00:00.038) 0:00:32.651 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 21:06:06 +0000 (0:00:00.028) 0:00:32.680 ********* skipping: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 21:06:06 +0000 (0:00:00.028) 0:00:32.708 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 21:06:06 +0000 (0:00:00.028) 0:00:32.737 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 21:06:06 +0000 (0:00:00.029) 0:00:32.767 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 21:06:06 +0000 (0:00:00.055) 0:00:32.822 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 21:06:06 +0000 (0:00:00.021) 0:00:32.844 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "dosfstools", "btrfs-progs", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 21:06:09 +0000 (0:00:02.645) 0:00:35.489 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 21:06:09 +0000 (0:00:00.036) 0:00:35.526 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 21:06:09 +0000 (0:00:00.023) 0:00:35.550 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "dosfstools", "btrfs-progs", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 21:06:09 +0000 (0:00:00.042) 0:00:35.593 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 21:06:09 +0000 (0:00:00.038) 0:00:35.632 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 21:06:09 +0000 (0:00:00.037) 0:00:35.669 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 21:06:09 +0000 (0:00:00.037) 0:00:35.707 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 21:06:10 +0000 (0:00:00.770) 0:00:36.478 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext4', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 21:06:10 +0000 (0:00:00.450) 0:00:36.928 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 21:06:11 +0000 (0:00:00.779) 0:00:37.707 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "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": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 21:06:12 +0000 (0:00:00.423) 0:00:38.131 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 21:06:12 +0000 (0:00:00.026) 0:00:38.157 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:66 Thursday 21 July 2022 21:06:13 +0000 (0:00:00.957) 0:00:39.115 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 21:06:13 +0000 (0:00:00.044) 0:00:39.159 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 21:06:13 +0000 (0:00:00.093) 0:00:39.253 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 21:06:13 +0000 (0:00:00.087) 0:00:39.340 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "9G", "type": "lvm", "uuid": "3aa8abd9-aeca-4d99-b2bd-773355a7e824" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "33s27G-n6s3-1uV2-0ke6-QT1G-jSMr-GdpSpf" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-21-05-21-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": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/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": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/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": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/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/tmppde4z2jm/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 21:06:13 +0000 (0:00:00.422) 0:00:39.763 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003003", "end": "2022-07-21 21:06:14.127391", "rc": 0, "start": "2022-07-21 21:06:14.124388" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 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=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /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/foo-test1 /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 21:06:14 +0000 (0:00:00.406) 0:00:40.169 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003114", "end": "2022-07-21 21:06:14.534780", "failed_when_result": false, "rc": 0, "start": "2022-07-21 21:06:14.531666" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 21:06:14 +0000 (0:00:00.406) 0:00:40.575 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 21:06:14 +0000 (0:00:00.058) 0:00:40.633 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 21:06:14 +0000 (0:00:00.035) 0:00:40.669 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 21:06:14 +0000 (0:00:00.048) 0:00:40.717 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 21:06:14 +0000 (0:00:00.054) 0:00:40.772 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 21:06:15 +0000 (0:00:00.410) 0:00:41.183 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 21:06:15 +0000 (0:00:00.049) 0:00:41.232 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 21:06:15 +0000 (0:00:00.050) 0:00:41.283 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 21:06:15 +0000 (0:00:00.052) 0:00:41.335 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 21:06:15 +0000 (0:00:00.037) 0:00:41.373 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 21:06:15 +0000 (0:00:00.049) 0:00:41.422 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 21:06:15 +0000 (0:00:00.025) 0:00:41.447 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 21:06:15 +0000 (0:00:00.038) 0:00:41.486 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 21:06:15 +0000 (0:00:00.042) 0:00:41.529 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 21:06:15 +0000 (0:00:00.023) 0:00:41.552 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 21:06:15 +0000 (0:00:00.022) 0:00:41.574 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 21:06:15 +0000 (0:00:00.022) 0:00:41.596 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 21:06:15 +0000 (0:00:00.022) 0:00:41.619 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 21:06:15 +0000 (0:00:00.050) 0:00:41.669 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 21:06:15 +0000 (0:00:00.023) 0:00:41.692 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 21:06:15 +0000 (0:00:00.022) 0:00:41.714 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 21:06:15 +0000 (0:00:00.036) 0:00:41.751 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 21:06:15 +0000 (0:00:00.043) 0:00:41.794 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-36.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 21:06:15 +0000 (0:00:00.041) 0:00:41.836 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 21:06:15 +0000 (0:00:00.026) 0:00:41.862 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 21:06:15 +0000 (0:00:00.024) 0:00:41.887 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 21:06:15 +0000 (0:00:00.026) 0:00:41.914 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 21:06:15 +0000 (0:00:00.047) 0:00:41.961 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml for /cache/fedora-36.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 21:06:16 +0000 (0:00:00.044) 0:00:42.005 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 21:06:16 +0000 (0:00:00.023) 0:00:42.029 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 21:06:16 +0000 (0:00:00.030) 0:00:42.060 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 21:06:16 +0000 (0:00:00.031) 0:00:42.091 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 21:06:16 +0000 (0:00:00.023) 0:00:42.114 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 21:06:16 +0000 (0:00:00.047) 0:00:42.162 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 21:06:16 +0000 (0:00:00.047) 0:00:42.209 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 21:06:16 +0000 (0:00:00.025) 0:00:42.235 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 21:06:16 +0000 (0:00:00.041) 0:00:42.277 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 21:06:16 +0000 (0:00:00.045) 0:00:42.322 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 21:06:16 +0000 (0:00:00.047) 0:00:42.370 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 21:06:16 +0000 (0:00:00.033) 0:00:42.404 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 21:06:16 +0000 (0:00:00.032) 0:00:42.436 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 21:06:16 +0000 (0:00:00.032) 0:00:42.469 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 21:06:16 +0000 (0:00:00.040) 0:00:42.510 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 21:06:16 +0000 (0:00:00.032) 0:00:42.542 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 21:06:16 +0000 (0:00:00.045) 0:00:42.588 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-36.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 21:06:16 +0000 (0:00:00.042) 0:00:42.631 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 21:06:16 +0000 (0:00:00.021) 0:00:42.653 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 21:06:16 +0000 (0:00:00.021) 0:00:42.675 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 21:06:16 +0000 (0:00:00.022) 0:00:42.697 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 21:06:16 +0000 (0:00:00.021) 0:00:42.719 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 21:06:16 +0000 (0:00:00.021) 0:00:42.741 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 21:06:16 +0000 (0:00:00.021) 0:00:42.763 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 21:06:16 +0000 (0:00:00.058) 0:00:42.821 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 21:06:16 +0000 (0:00:00.032) 0:00:42.853 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 21:06:16 +0000 (0:00:00.036) 0:00:42.890 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml for /cache/fedora-36.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 21:06:16 +0000 (0:00:00.041) 0:00:42.931 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 21:06:16 +0000 (0:00:00.044) 0:00:42.976 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 21:06:17 +0000 (0:00:00.074) 0:00:43.051 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 21:06:17 +0000 (0:00:00.038) 0:00:43.089 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2178069, "block_size": 4096, "block_total": 2300135, "block_used": 122066, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 589813, "inode_total": 589824, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 8921370624, "size_total": 9421352960, "uuid": "3aa8abd9-aeca-4d99-b2bd-773355a7e824" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2178069, "block_size": 4096, "block_total": 2300135, "block_used": 122066, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 589813, "inode_total": 589824, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 8921370624, "size_total": 9421352960, "uuid": "3aa8abd9-aeca-4d99-b2bd-773355a7e824" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 21:06:17 +0000 (0:00:00.052) 0:00:43.141 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 21:06:17 +0000 (0:00:00.045) 0:00:43.187 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 21:06:17 +0000 (0:00:00.045) 0:00:43.233 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 21:06:17 +0000 (0:00:00.047) 0:00:43.280 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 21:06:17 +0000 (0:00:00.021) 0:00:43.302 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 21:06:17 +0000 (0:00:00.021) 0:00:43.324 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 21:06:17 +0000 (0:00:00.022) 0:00:43.346 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 21:06:17 +0000 (0:00:00.034) 0:00:43.380 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 21:06:17 +0000 (0:00:00.055) 0:00:43.436 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 21:06:17 +0000 (0:00:00.045) 0:00:43.482 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 21:06:17 +0000 (0:00:00.046) 0:00:43.528 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 21:06:17 +0000 (0:00:00.033) 0:00:43.561 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 21:06:17 +0000 (0:00:00.031) 0:00:43.593 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 21:06:17 +0000 (0:00:00.036) 0:00:43.629 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 21:06:17 +0000 (0:00:00.038) 0:00:43.668 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658437570.8849587, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658437569.3919587, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 852, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658437569.3919587, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 21:06:18 +0000 (0:00:00.421) 0:00:44.090 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 21:06:18 +0000 (0:00:00.036) 0:00:44.126 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 21:06:18 +0000 (0:00:00.036) 0:00:44.163 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 21:06:18 +0000 (0:00:00.031) 0:00:44.195 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 21:06:18 +0000 (0:00:00.021) 0:00:44.217 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 21:06:18 +0000 (0:00:00.035) 0:00:44.253 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 21:06:18 +0000 (0:00:00.023) 0:00:44.276 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 21:06:20 +0000 (0:00:01.797) 0:00:46.074 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 21:06:20 +0000 (0:00:00.024) 0:00:46.098 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 21:06:20 +0000 (0:00:00.022) 0:00:46.120 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 21:06:20 +0000 (0:00:00.049) 0:00:46.169 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 21:06:20 +0000 (0:00:00.022) 0:00:46.191 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 21:06:20 +0000 (0:00:00.022) 0:00:46.214 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 21:06:20 +0000 (0:00:00.021) 0:00:46.236 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 21:06:20 +0000 (0:00:00.021) 0:00:46.258 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 21:06:20 +0000 (0:00:00.021) 0:00:46.280 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 21:06:20 +0000 (0:00:00.049) 0:00:46.329 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 21:06:20 +0000 (0:00:00.045) 0:00:46.374 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 21:06:20 +0000 (0:00:00.033) 0:00:46.408 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 21:06:20 +0000 (0:00:00.034) 0:00:46.442 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 21:06:20 +0000 (0:00:00.032) 0:00:46.475 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 21:06:20 +0000 (0:00:00.031) 0:00:46.507 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 21:06:20 +0000 (0:00:00.033) 0:00:46.541 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 21:06:20 +0000 (0:00:00.034) 0:00:46.576 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 21:06:20 +0000 (0:00:00.034) 0:00:46.610 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 21:06:20 +0000 (0:00:00.034) 0:00:46.645 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 21:06:20 +0000 (0:00:00.035) 0:00:46.680 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 21:06:20 +0000 (0:00:00.037) 0:00:46.718 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 21:06:20 +0000 (0:00:00.038) 0:00:46.756 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 21:06:21 +0000 (0:00:00.405) 0:00:47.162 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 21:06:21 +0000 (0:00:00.415) 0:00:47.577 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "9663676416" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 21:06:21 +0000 (0:00:00.092) 0:00:47.669 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "9663676416" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 21:06:21 +0000 (0:00:00.066) 0:00:47.736 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 21:06:21 +0000 (0:00:00.065) 0:00:47.802 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 21:06:21 +0000 (0:00:00.039) 0:00:47.841 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 21:06:21 +0000 (0:00:00.036) 0:00:47.878 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 21:06:21 +0000 (0:00:00.035) 0:00:47.913 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 21:06:21 +0000 (0:00:00.033) 0:00:47.946 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 9663676416, "changed": false, "failed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 21:06:22 +0000 (0:00:00.033) 0:00:47.980 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "9663676416" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 21:06:22 +0000 (0:00:00.033) 0:00:48.014 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 21:06:22 +0000 (0:00:00.049) 0:00:48.063 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.041194", "end": "2022-07-21 21:06:22.474228", "rc": 0, "start": "2022-07-21 21:06:22.433034" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 21:06:22 +0000 (0:00:00.452) 0:00:48.516 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 21:06:22 +0000 (0:00:00.047) 0:00:48.564 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 21:06:22 +0000 (0:00:00.046) 0:00:48.610 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 21:06:22 +0000 (0:00:00.034) 0:00:48.645 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 21:06:22 +0000 (0:00:00.036) 0:00:48.681 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 21:06:22 +0000 (0:00:00.039) 0:00:48.720 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 21:06:22 +0000 (0:00:00.034) 0:00:48.755 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 21:06:22 +0000 (0:00:00.031) 0:00:48.787 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 21:06:22 +0000 (0:00:00.019) 0:00:48.806 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change volume size to "5g"] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:68 Thursday 21 July 2022 21:06:22 +0000 (0:00:00.034) 0:00:48.841 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 21:06:22 +0000 (0:00:00.046) 0:00:48.887 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 21:06:22 +0000 (0:00:00.034) 0:00:48.921 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 21:06:23 +0000 (0:00:00.554) 0:00:49.476 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 21:06:23 +0000 (0:00:00.065) 0:00:49.542 ********* ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 21:06:23 +0000 (0:00:00.035) 0:00:49.578 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 21:06:23 +0000 (0:00:00.032) 0:00:49.610 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 21:06:23 +0000 (0:00:00.057) 0:00:49.668 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 21:06:23 +0000 (0:00:00.055) 0:00:49.723 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 21:06:23 +0000 (0:00:00.027) 0:00:49.751 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 21:06:23 +0000 (0:00:00.036) 0:00:49.787 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 21:06:23 +0000 (0:00:00.038) 0:00:49.826 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 21:06:23 +0000 (0:00:00.031) 0:00:49.857 ********* skipping: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 21:06:23 +0000 (0:00:00.029) 0:00:49.886 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 21:06:23 +0000 (0:00:00.028) 0:00:49.915 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 21:06:23 +0000 (0:00:00.026) 0:00:49.942 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 21:06:24 +0000 (0:00:00.055) 0:00:49.997 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 21:06:24 +0000 (0:00:00.020) 0:00:50.018 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "dosfstools", "lvm2", "btrfs-progs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 21:06:26 +0000 (0:00:02.794) 0:00:52.812 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 21:06:26 +0000 (0:00:00.036) 0:00:52.849 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 21:06:26 +0000 (0:00:00.021) 0:00:52.870 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "dosfstools", "lvm2", "btrfs-progs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 21:06:26 +0000 (0:00:00.036) 0:00:52.907 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 21:06:26 +0000 (0:00:00.035) 0:00:52.943 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 21:06:26 +0000 (0:00:00.034) 0:00:52.977 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 21:06:27 +0000 (0:00:00.037) 0:00:53.015 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 21:06:27 +0000 (0:00:00.800) 0:00:53.816 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext4', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 21:06:28 +0000 (0:00:00.472) 0:00:54.289 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 21:06:29 +0000 (0:00:00.770) 0:00:55.059 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "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": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 21:06:29 +0000 (0:00:00.422) 0:00:55.481 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 21:06:29 +0000 (0:00:00.023) 0:00:55.505 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:82 Thursday 21 July 2022 21:06:30 +0000 (0:00:00.994) 0:00:56.499 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 21:06:30 +0000 (0:00:00.068) 0:00:56.567 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 21:06:30 +0000 (0:00:00.047) 0:00:56.615 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 21:06:30 +0000 (0:00:00.033) 0:00:56.649 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "3aa8abd9-aeca-4d99-b2bd-773355a7e824" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "33s27G-n6s3-1uV2-0ke6-QT1G-jSMr-GdpSpf" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-21-05-21-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": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/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": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/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": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/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/tmppde4z2jm/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 21:06:31 +0000 (0:00:00.437) 0:00:57.086 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003721", "end": "2022-07-21 21:06:31.452653", "rc": 0, "start": "2022-07-21 21:06:31.448932" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 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=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /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/foo-test1 /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 21:06:31 +0000 (0:00:00.410) 0:00:57.496 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:01.004618", "end": "2022-07-21 21:06:32.859312", "failed_when_result": false, "rc": 0, "start": "2022-07-21 21:06:31.854694" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 21:06:32 +0000 (0:00:01.410) 0:00:58.906 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 21:06:32 +0000 (0:00:00.057) 0:00:58.964 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 21:06:33 +0000 (0:00:00.031) 0:00:58.996 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 21:06:33 +0000 (0:00:00.047) 0:00:59.043 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 21:06:33 +0000 (0:00:00.055) 0:00:59.098 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 21:06:33 +0000 (0:00:00.427) 0:00:59.526 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 21:06:33 +0000 (0:00:00.047) 0:00:59.573 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 21:06:33 +0000 (0:00:00.073) 0:00:59.647 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 21:06:33 +0000 (0:00:00.048) 0:00:59.695 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 21:06:33 +0000 (0:00:00.034) 0:00:59.729 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 21:06:33 +0000 (0:00:00.072) 0:00:59.802 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 21:06:33 +0000 (0:00:00.023) 0:00:59.825 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 21:06:33 +0000 (0:00:00.043) 0:00:59.869 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 21:06:33 +0000 (0:00:00.039) 0:00:59.909 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 21:06:33 +0000 (0:00:00.022) 0:00:59.931 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 21:06:33 +0000 (0:00:00.045) 0:00:59.976 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 21:06:34 +0000 (0:00:00.024) 0:01:00.001 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 21:06:34 +0000 (0:00:00.025) 0:01:00.026 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 21:06:34 +0000 (0:00:00.025) 0:01:00.052 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 21:06:34 +0000 (0:00:00.024) 0:01:00.076 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 21:06:34 +0000 (0:00:00.023) 0:01:00.099 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 21:06:34 +0000 (0:00:00.033) 0:01:00.133 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 21:06:34 +0000 (0:00:00.043) 0:01:00.176 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-36.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 21:06:34 +0000 (0:00:00.040) 0:01:00.217 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 21:06:34 +0000 (0:00:00.025) 0:01:00.243 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 21:06:34 +0000 (0:00:00.025) 0:01:00.268 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 21:06:34 +0000 (0:00:00.024) 0:01:00.293 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 21:06:34 +0000 (0:00:00.043) 0:01:00.337 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml for /cache/fedora-36.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 21:06:34 +0000 (0:00:00.040) 0:01:00.378 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 21:06:34 +0000 (0:00:00.024) 0:01:00.403 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 21:06:34 +0000 (0:00:00.025) 0:01:00.428 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 21:06:34 +0000 (0:00:00.023) 0:01:00.451 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 21:06:34 +0000 (0:00:00.023) 0:01:00.475 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 21:06:34 +0000 (0:00:00.047) 0:01:00.522 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 21:06:34 +0000 (0:00:00.048) 0:01:00.570 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 21:06:34 +0000 (0:00:00.026) 0:01:00.596 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 21:06:34 +0000 (0:00:00.041) 0:01:00.638 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 21:06:34 +0000 (0:00:00.045) 0:01:00.684 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 21:06:34 +0000 (0:00:00.048) 0:01:00.732 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 21:06:34 +0000 (0:00:00.038) 0:01:00.770 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 21:06:34 +0000 (0:00:00.034) 0:01:00.805 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 21:06:34 +0000 (0:00:00.033) 0:01:00.839 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 21:06:34 +0000 (0:00:00.032) 0:01:00.872 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 21:06:34 +0000 (0:00:00.034) 0:01:00.906 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 21:06:34 +0000 (0:00:00.047) 0:01:00.954 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-36.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 21:06:35 +0000 (0:00:00.044) 0:01:00.998 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 21:06:35 +0000 (0:00:00.022) 0:01:01.021 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 21:06:35 +0000 (0:00:00.022) 0:01:01.044 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 21:06:35 +0000 (0:00:00.023) 0:01:01.067 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 21:06:35 +0000 (0:00:00.055) 0:01:01.122 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 21:06:35 +0000 (0:00:00.023) 0:01:01.146 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 21:06:35 +0000 (0:00:00.023) 0:01:01.169 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 21:06:35 +0000 (0:00:00.025) 0:01:01.194 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 21:06:35 +0000 (0:00:00.035) 0:01:01.229 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 21:06:35 +0000 (0:00:00.031) 0:01:01.261 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml for /cache/fedora-36.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 21:06:35 +0000 (0:00:00.039) 0:01:01.301 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 21:06:35 +0000 (0:00:00.045) 0:01:01.346 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 21:06:35 +0000 (0:00:00.075) 0:01:01.422 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 21:06:35 +0000 (0:00:00.041) 0:01:01.464 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1199011, "block_size": 4096, "block_total": 1268648, "block_used": 69637, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 4911149056, "size_total": 5196382208, "uuid": "3aa8abd9-aeca-4d99-b2bd-773355a7e824" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1199011, "block_size": 4096, "block_total": 1268648, "block_used": 69637, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 4911149056, "size_total": 5196382208, "uuid": "3aa8abd9-aeca-4d99-b2bd-773355a7e824" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 21:06:35 +0000 (0:00:00.056) 0:01:01.520 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 21:06:35 +0000 (0:00:00.048) 0:01:01.569 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 21:06:35 +0000 (0:00:00.045) 0:01:01.615 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 21:06:35 +0000 (0:00:00.047) 0:01:01.662 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 21:06:35 +0000 (0:00:00.022) 0:01:01.684 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 21:06:35 +0000 (0:00:00.021) 0:01:01.706 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 21:06:35 +0000 (0:00:00.021) 0:01:01.728 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 21:06:35 +0000 (0:00:00.034) 0:01:01.763 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 21:06:35 +0000 (0:00:00.060) 0:01:01.823 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 21:06:35 +0000 (0:00:00.046) 0:01:01.870 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 21:06:35 +0000 (0:00:00.045) 0:01:01.916 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 21:06:35 +0000 (0:00:00.035) 0:01:01.951 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 21:06:36 +0000 (0:00:00.031) 0:01:01.983 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 21:06:36 +0000 (0:00:00.035) 0:01:02.019 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 21:06:36 +0000 (0:00:00.037) 0:01:02.057 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658437588.2389588, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658437586.6659586, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 852, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658437586.6659586, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 21:06:36 +0000 (0:00:00.412) 0:01:02.469 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 21:06:36 +0000 (0:00:00.037) 0:01:02.507 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 21:06:36 +0000 (0:00:00.036) 0:01:02.543 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 21:06:36 +0000 (0:00:00.034) 0:01:02.577 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 21:06:36 +0000 (0:00:00.021) 0:01:02.599 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 21:06:36 +0000 (0:00:00.076) 0:01:02.676 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 21:06:36 +0000 (0:00:00.026) 0:01:02.702 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 21:06:38 +0000 (0:00:01.971) 0:01:04.674 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 21:06:38 +0000 (0:00:00.023) 0:01:04.697 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 21:06:38 +0000 (0:00:00.022) 0:01:04.720 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 21:06:38 +0000 (0:00:00.083) 0:01:04.804 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 21:06:38 +0000 (0:00:00.025) 0:01:04.829 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 21:06:38 +0000 (0:00:00.053) 0:01:04.882 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 21:06:38 +0000 (0:00:00.023) 0:01:04.906 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 21:06:38 +0000 (0:00:00.022) 0:01:04.928 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 21:06:38 +0000 (0:00:00.022) 0:01:04.950 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 21:06:39 +0000 (0:00:00.049) 0:01:05.000 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 21:06:39 +0000 (0:00:00.044) 0:01:05.045 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 21:06:39 +0000 (0:00:00.034) 0:01:05.079 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 21:06:39 +0000 (0:00:00.036) 0:01:05.116 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 21:06:39 +0000 (0:00:00.038) 0:01:05.154 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 21:06:39 +0000 (0:00:00.031) 0:01:05.186 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 21:06:39 +0000 (0:00:00.033) 0:01:05.219 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 21:06:39 +0000 (0:00:00.033) 0:01:05.253 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 21:06:39 +0000 (0:00:00.036) 0:01:05.290 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 21:06:39 +0000 (0:00:00.034) 0:01:05.324 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 21:06:39 +0000 (0:00:00.033) 0:01:05.357 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 21:06:39 +0000 (0:00:00.033) 0:01:05.391 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 21:06:39 +0000 (0:00:00.037) 0:01:05.429 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 21:06:39 +0000 (0:00:00.405) 0:01:05.834 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 21:06:40 +0000 (0:00:00.419) 0:01:06.253 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 21:06:40 +0000 (0:00:00.047) 0:01:06.301 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 21:06:40 +0000 (0:00:00.034) 0:01:06.335 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 21:06:40 +0000 (0:00:00.035) 0:01:06.371 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 21:06:40 +0000 (0:00:00.034) 0:01:06.405 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 21:06:40 +0000 (0:00:00.033) 0:01:06.439 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 21:06:40 +0000 (0:00:00.033) 0:01:06.472 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 21:06:40 +0000 (0:00:00.034) 0:01:06.507 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 21:06:40 +0000 (0:00:00.032) 0:01:06.539 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 21:06:40 +0000 (0:00:00.033) 0:01:06.573 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 21:06:40 +0000 (0:00:00.053) 0:01:06.626 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.037885", "end": "2022-07-21 21:06:41.035153", "rc": 0, "start": "2022-07-21 21:06:40.997268" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 21:06:41 +0000 (0:00:00.451) 0:01:07.078 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 21:06:41 +0000 (0:00:00.083) 0:01:07.162 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 21:06:41 +0000 (0:00:00.049) 0:01:07.211 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 21:06:41 +0000 (0:00:00.035) 0:01:07.247 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 21:06:41 +0000 (0:00:00.034) 0:01:07.281 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 21:06:41 +0000 (0:00:00.034) 0:01:07.315 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 21:06:41 +0000 (0:00:00.034) 0:01:07.349 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 21:06:41 +0000 (0:00:00.065) 0:01:07.415 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 21:06:41 +0000 (0:00:00.021) 0:01:07.436 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Try to create LVM with a too-large volume size, resize to "12884901888.0"] *** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:86 Thursday 21 July 2022 21:06:41 +0000 (0:00:00.104) 0:01:07.541 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 21:06:41 +0000 (0:00:00.038) 0:01:07.580 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 21:06:41 +0000 (0:00:00.035) 0:01:07.616 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 21:06:42 +0000 (0:00:00.545) 0:01:08.161 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 21:06:42 +0000 (0:00:00.064) 0:01:08.226 ********* ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 21:06:42 +0000 (0:00:00.037) 0:01:08.263 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 21:06:42 +0000 (0:00:00.037) 0:01:08.301 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 21:06:42 +0000 (0:00:00.057) 0:01:08.358 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 21:06:42 +0000 (0:00:00.020) 0:01:08.379 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 21:06:42 +0000 (0:00:00.028) 0:01:08.407 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "12884901888.0" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 21:06:42 +0000 (0:00:00.043) 0:01:08.450 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 21:06:42 +0000 (0:00:00.036) 0:01:08.486 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 21:06:42 +0000 (0:00:00.027) 0:01:08.514 ********* skipping: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 21:06:42 +0000 (0:00:00.025) 0:01:08.539 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 21:06:42 +0000 (0:00:00.025) 0:01:08.564 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 21:06:42 +0000 (0:00:00.025) 0:01:08.590 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 21:06:42 +0000 (0:00:00.045) 0:01:08.635 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 21:06:42 +0000 (0:00:00.022) 0:01:08.658 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: volume 'test1' cannot be resized to '12 GiB' TASK [fedora.linux_system_roles.storage : failed message] ********************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:86 Thursday 21 July 2022 21:06:44 +0000 (0:00:02.061) 0:01:10.719 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "volume 'test1' cannot be resized to '12 GiB'", 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '12884901888.0', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}], 'raid_chunk_size': None}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': False, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 21:06:44 +0000 (0:00:00.069) 0:01:10.789 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:104 Thursday 21 July 2022 21:06:44 +0000 (0:00:00.021) 0:01:10.811 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:110 Thursday 21 July 2022 21:06:44 +0000 (0:00:00.033) 0:01:10.844 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Try to create LVM with volume size equal disk's size, resize to "10737418240"] *** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:117 Thursday 21 July 2022 21:06:44 +0000 (0:00:00.070) 0:01:10.915 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 21:06:44 +0000 (0:00:00.062) 0:01:10.977 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 21:06:45 +0000 (0:00:00.034) 0:01:11.011 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 21:06:45 +0000 (0:00:00.574) 0:01:11.585 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 21:06:45 +0000 (0:00:00.061) 0:01:11.646 ********* ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 21:06:45 +0000 (0:00:00.033) 0:01:11.680 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 21:06:45 +0000 (0:00:00.032) 0:01:11.712 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 21:06:45 +0000 (0:00:00.054) 0:01:11.767 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 21:06:45 +0000 (0:00:00.020) 0:01:11.788 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 21:06:45 +0000 (0:00:00.029) 0:01:11.817 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "10737418240" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 21:06:45 +0000 (0:00:00.044) 0:01:11.862 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 21:06:45 +0000 (0:00:00.037) 0:01:11.899 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 21:06:45 +0000 (0:00:00.026) 0:01:11.926 ********* skipping: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 21:06:45 +0000 (0:00:00.025) 0:01:11.952 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 21:06:45 +0000 (0:00:00.025) 0:01:11.977 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 21:06:46 +0000 (0:00:00.028) 0:01:12.006 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 21:06:46 +0000 (0:00:00.043) 0:01:12.050 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 21:06:46 +0000 (0:00:00.020) 0:01:12.070 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "lvm2", "dosfstools", "btrfs-progs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "10737418240", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 21:06:48 +0000 (0:00:02.643) 0:01:14.714 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 21:06:48 +0000 (0:00:00.025) 0:01:14.739 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 21:06:48 +0000 (0:00:00.021) 0:01:14.761 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "lvm2", "dosfstools", "btrfs-progs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "10737418240", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 21:06:48 +0000 (0:00:00.040) 0:01:14.801 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "10737418240", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 21:06:48 +0000 (0:00:00.039) 0:01:14.841 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 21:06:48 +0000 (0:00:00.036) 0:01:14.877 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 21:06:48 +0000 (0:00:00.027) 0:01:14.905 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 21:06:49 +0000 (0:00:00.762) 0:01:15.667 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext4', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 21:06:50 +0000 (0:00:00.454) 0:01:16.122 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 21:06:50 +0000 (0:00:00.822) 0:01:16.945 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "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": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 21:06:51 +0000 (0:00:00.420) 0:01:17.365 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 21:06:51 +0000 (0:00:00.022) 0:01:17.387 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:130 Thursday 21 July 2022 21:06:52 +0000 (0:00:00.959) 0:01:18.347 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 21:06:52 +0000 (0:00:00.035) 0:01:18.382 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "10737418240", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 21:06:52 +0000 (0:00:00.039) 0:01:18.421 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 21:06:52 +0000 (0:00:00.023) 0:01:18.444 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "10G", "type": "lvm", "uuid": "3aa8abd9-aeca-4d99-b2bd-773355a7e824" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "33s27G-n6s3-1uV2-0ke6-QT1G-jSMr-GdpSpf" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-21-05-21-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": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/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": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/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": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/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/tmppde4z2jm/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 21:06:52 +0000 (0:00:00.412) 0:01:18.857 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003184", "end": "2022-07-21 21:06:53.217037", "rc": 0, "start": "2022-07-21 21:06:53.213853" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 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=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /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/foo-test1 /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 21:06:53 +0000 (0:00:00.402) 0:01:19.260 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003066", "end": "2022-07-21 21:06:53.619493", "failed_when_result": false, "rc": 0, "start": "2022-07-21 21:06:53.616427" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 21:06:53 +0000 (0:00:00.402) 0:01:19.662 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '10737418240', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 21:06:53 +0000 (0:00:00.049) 0:01:19.712 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 21:06:53 +0000 (0:00:00.031) 0:01:19.743 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 21:06:53 +0000 (0:00:00.044) 0:01:19.788 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 21:06:53 +0000 (0:00:00.040) 0:01:19.828 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 21:06:54 +0000 (0:00:00.435) 0:01:20.263 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 21:06:54 +0000 (0:00:00.039) 0:01:20.303 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 21:06:54 +0000 (0:00:00.081) 0:01:20.385 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 21:06:54 +0000 (0:00:00.071) 0:01:20.457 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 21:06:54 +0000 (0:00:00.035) 0:01:20.492 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 21:06:54 +0000 (0:00:00.066) 0:01:20.559 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 21:06:54 +0000 (0:00:00.024) 0:01:20.583 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 21:06:54 +0000 (0:00:00.068) 0:01:20.652 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 21:06:54 +0000 (0:00:00.043) 0:01:20.695 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 21:06:54 +0000 (0:00:00.025) 0:01:20.721 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 21:06:54 +0000 (0:00:00.024) 0:01:20.746 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 21:06:54 +0000 (0:00:00.024) 0:01:20.770 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 21:06:54 +0000 (0:00:00.024) 0:01:20.795 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 21:06:54 +0000 (0:00:00.025) 0:01:20.821 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 21:06:54 +0000 (0:00:00.024) 0:01:20.845 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 21:06:54 +0000 (0:00:00.024) 0:01:20.869 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 21:06:54 +0000 (0:00:00.036) 0:01:20.905 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 21:06:54 +0000 (0:00:00.045) 0:01:20.951 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-36.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '10737418240', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 21:06:55 +0000 (0:00:00.039) 0:01:20.991 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 21:06:55 +0000 (0:00:00.027) 0:01:21.019 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 21:06:55 +0000 (0:00:00.028) 0:01:21.047 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 21:06:55 +0000 (0:00:00.027) 0:01:21.075 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 21:06:55 +0000 (0:00:00.048) 0:01:21.124 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml for /cache/fedora-36.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '10737418240', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 21:06:55 +0000 (0:00:00.043) 0:01:21.167 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 21:06:55 +0000 (0:00:00.023) 0:01:21.191 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 21:06:55 +0000 (0:00:00.021) 0:01:21.213 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 21:06:55 +0000 (0:00:00.021) 0:01:21.234 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 21:06:55 +0000 (0:00:00.021) 0:01:21.256 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 21:06:55 +0000 (0:00:00.045) 0:01:21.302 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 21:06:55 +0000 (0:00:00.036) 0:01:21.338 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 21:06:55 +0000 (0:00:00.025) 0:01:21.363 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 21:06:55 +0000 (0:00:00.040) 0:01:21.404 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 21:06:55 +0000 (0:00:00.035) 0:01:21.440 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 21:06:55 +0000 (0:00:00.036) 0:01:21.476 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 21:06:55 +0000 (0:00:00.024) 0:01:21.500 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 21:06:55 +0000 (0:00:00.032) 0:01:21.533 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 21:06:55 +0000 (0:00:00.026) 0:01:21.559 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 21:06:55 +0000 (0:00:00.034) 0:01:21.593 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 21:06:55 +0000 (0:00:00.034) 0:01:21.627 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 21:06:55 +0000 (0:00:00.044) 0:01:21.672 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-36.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '10737418240', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 21:06:55 +0000 (0:00:00.068) 0:01:21.740 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 21:06:55 +0000 (0:00:00.023) 0:01:21.764 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 21:06:55 +0000 (0:00:00.022) 0:01:21.786 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 21:06:55 +0000 (0:00:00.022) 0:01:21.808 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 21:06:55 +0000 (0:00:00.022) 0:01:21.831 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 21:06:55 +0000 (0:00:00.021) 0:01:21.853 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 21:06:55 +0000 (0:00:00.022) 0:01:21.875 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 21:06:55 +0000 (0:00:00.021) 0:01:21.897 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 21:06:55 +0000 (0:00:00.034) 0:01:21.931 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 21:06:55 +0000 (0:00:00.031) 0:01:21.963 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml for /cache/fedora-36.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '10737418240', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 21:06:56 +0000 (0:00:00.038) 0:01:22.002 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 21:06:56 +0000 (0:00:00.037) 0:01:22.039 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 21:06:56 +0000 (0:00:00.074) 0:01:22.114 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 21:06:56 +0000 (0:00:00.042) 0:01:22.156 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2422023, "block_size": 4096, "block_total": 2557143, "block_used": 135120, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 9920606208, "size_total": 10474057728, "uuid": "3aa8abd9-aeca-4d99-b2bd-773355a7e824" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2422023, "block_size": 4096, "block_total": 2557143, "block_used": 135120, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 9920606208, "size_total": 10474057728, "uuid": "3aa8abd9-aeca-4d99-b2bd-773355a7e824" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 21:06:56 +0000 (0:00:00.044) 0:01:22.200 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 21:06:56 +0000 (0:00:00.039) 0:01:22.239 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 21:06:56 +0000 (0:00:00.034) 0:01:22.274 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 21:06:56 +0000 (0:00:00.038) 0:01:22.313 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 21:06:56 +0000 (0:00:00.022) 0:01:22.335 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 21:06:56 +0000 (0:00:00.022) 0:01:22.358 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 21:06:56 +0000 (0:00:00.021) 0:01:22.379 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 21:06:56 +0000 (0:00:00.032) 0:01:22.412 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 21:06:56 +0000 (0:00:00.053) 0:01:22.466 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 21:06:56 +0000 (0:00:00.039) 0:01:22.505 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 21:06:56 +0000 (0:00:00.035) 0:01:22.540 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 21:06:56 +0000 (0:00:00.023) 0:01:22.563 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 21:06:56 +0000 (0:00:00.032) 0:01:22.596 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 21:06:56 +0000 (0:00:00.037) 0:01:22.633 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 21:06:56 +0000 (0:00:00.036) 0:01:22.669 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658437610.0729587, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658437608.6119587, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 852, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658437608.6119587, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 21:06:57 +0000 (0:00:00.419) 0:01:23.089 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 21:06:57 +0000 (0:00:00.036) 0:01:23.125 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 21:06:57 +0000 (0:00:00.039) 0:01:23.165 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 21:06:57 +0000 (0:00:00.066) 0:01:23.232 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 21:06:57 +0000 (0:00:00.023) 0:01:23.255 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 21:06:57 +0000 (0:00:00.034) 0:01:23.290 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 21:06:57 +0000 (0:00:00.021) 0:01:23.312 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 21:06:59 +0000 (0:00:02.021) 0:01:25.334 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 21:06:59 +0000 (0:00:00.026) 0:01:25.360 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 21:06:59 +0000 (0:00:00.024) 0:01:25.385 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 21:06:59 +0000 (0:00:00.042) 0:01:25.427 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 21:06:59 +0000 (0:00:00.026) 0:01:25.454 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 21:06:59 +0000 (0:00:00.024) 0:01:25.479 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 21:06:59 +0000 (0:00:00.024) 0:01:25.503 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 21:06:59 +0000 (0:00:00.024) 0:01:25.528 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 21:06:59 +0000 (0:00:00.025) 0:01:25.553 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 21:06:59 +0000 (0:00:00.040) 0:01:25.593 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 21:06:59 +0000 (0:00:00.039) 0:01:25.633 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 21:06:59 +0000 (0:00:00.025) 0:01:25.658 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 21:06:59 +0000 (0:00:00.027) 0:01:25.685 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 21:06:59 +0000 (0:00:00.025) 0:01:25.711 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 21:06:59 +0000 (0:00:00.035) 0:01:25.746 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 21:06:59 +0000 (0:00:00.024) 0:01:25.771 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 21:06:59 +0000 (0:00:00.025) 0:01:25.796 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 21:06:59 +0000 (0:00:00.023) 0:01:25.820 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 21:06:59 +0000 (0:00:00.024) 0:01:25.844 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 21:06:59 +0000 (0:00:00.023) 0:01:25.868 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 21:06:59 +0000 (0:00:00.024) 0:01:25.893 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 21:06:59 +0000 (0:00:00.024) 0:01:25.917 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 10737418240, "changed": false, "lvm": "10g", "parted": "10GiB", "size": "10 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 21:07:00 +0000 (0:00:00.402) 0:01:26.320 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 10737418240, "changed": false, "lvm": "10g", "parted": "10GiB", "size": "10 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 21:07:00 +0000 (0:00:00.403) 0:01:26.723 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "10737418240" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 21:07:00 +0000 (0:00:00.041) 0:01:26.765 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "10737418240" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 21:07:00 +0000 (0:00:00.067) 0:01:26.833 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 21:07:00 +0000 (0:00:00.029) 0:01:26.862 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 21:07:00 +0000 (0:00:00.025) 0:01:26.887 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 21:07:00 +0000 (0:00:00.024) 0:01:26.911 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 21:07:00 +0000 (0:00:00.023) 0:01:26.935 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 21:07:00 +0000 (0:00:00.025) 0:01:26.960 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 10737418240, "changed": false, "failed": false, "lvm": "10g", "parted": "10GiB", "size": "10 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 21:07:01 +0000 (0:00:00.036) 0:01:26.997 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "10737418240" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 21:07:01 +0000 (0:00:00.066) 0:01:27.064 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 21:07:01 +0000 (0:00:00.117) 0:01:27.181 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.038273", "end": "2022-07-21 21:07:01.587014", "rc": 0, "start": "2022-07-21 21:07:01.548741" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 21:07:01 +0000 (0:00:00.450) 0:01:27.632 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 21:07:01 +0000 (0:00:00.040) 0:01:27.672 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 21:07:01 +0000 (0:00:00.046) 0:01:27.719 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 21:07:01 +0000 (0:00:00.027) 0:01:27.747 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 21:07:01 +0000 (0:00:00.028) 0:01:27.776 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 21:07:01 +0000 (0:00:00.026) 0:01:27.802 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 21:07:01 +0000 (0:00:00.027) 0:01:27.829 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 21:07:01 +0000 (0:00:00.033) 0:01:27.862 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 21:07:01 +0000 (0:00:00.022) 0:01:27.885 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Try to create LVM with an invalid size specification, resize to "xyz GiB"] *** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:134 Thursday 21 July 2022 21:07:01 +0000 (0:00:00.036) 0:01:27.921 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 21:07:01 +0000 (0:00:00.039) 0:01:27.961 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 21:07:02 +0000 (0:00:00.036) 0:01:27.998 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 21:07:02 +0000 (0:00:00.543) 0:01:28.541 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 21:07:02 +0000 (0:00:00.062) 0:01:28.603 ********* ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 21:07:02 +0000 (0:00:00.038) 0:01:28.642 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 21:07:02 +0000 (0:00:00.036) 0:01:28.678 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 21:07:02 +0000 (0:00:00.058) 0:01:28.737 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 21:07:02 +0000 (0:00:00.020) 0:01:28.757 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 21:07:02 +0000 (0:00:00.027) 0:01:28.784 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "xyz GiB" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 21:07:02 +0000 (0:00:00.035) 0:01:28.820 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 21:07:02 +0000 (0:00:00.035) 0:01:28.855 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 21:07:02 +0000 (0:00:00.025) 0:01:28.881 ********* skipping: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 21:07:02 +0000 (0:00:00.029) 0:01:28.910 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 21:07:02 +0000 (0:00:00.029) 0:01:28.939 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 21:07:02 +0000 (0:00:00.026) 0:01:28.966 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 21:07:03 +0000 (0:00:00.087) 0:01:29.053 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 21:07:03 +0000 (0:00:00.058) 0:01:29.111 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: invalid size specification for volume in pool 'foo' TASK [fedora.linux_system_roles.storage : failed message] ********************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:86 Thursday 21 July 2022 21:07:05 +0000 (0:00:02.016) 0:01:31.128 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "invalid size specification for volume in pool 'foo'", 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': None, 'fs_label': '', 'fs_type': 'ext4', 'mount_options': None, 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 'xyz GiB', 'state': 'present', 'type': None, 'cached': None, 'cache_devices': [], 'cache_mode': None, 'cache_size': None, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None}], 'raid_chunk_size': None}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': False, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 21:07:05 +0000 (0:00:00.039) 0:01:31.168 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:152 Thursday 21 July 2022 21:07:05 +0000 (0:00:00.020) 0:01:31.188 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:158 Thursday 21 July 2022 21:07:05 +0000 (0:00:00.038) 0:01:31.227 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Try to create LVM with an invalid size specification, resize to "none"] *** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:165 Thursday 21 July 2022 21:07:05 +0000 (0:00:00.037) 0:01:31.264 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 21:07:05 +0000 (0:00:00.039) 0:01:31.304 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 21:07:05 +0000 (0:00:00.034) 0:01:31.338 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 21:07:05 +0000 (0:00:00.542) 0:01:31.881 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 21:07:05 +0000 (0:00:00.060) 0:01:31.942 ********* ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 21:07:05 +0000 (0:00:00.033) 0:01:31.975 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 21:07:06 +0000 (0:00:00.033) 0:01:32.009 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 21:07:06 +0000 (0:00:00.058) 0:01:32.068 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 21:07:06 +0000 (0:00:00.022) 0:01:32.090 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 21:07:06 +0000 (0:00:00.026) 0:01:32.117 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "none" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 21:07:06 +0000 (0:00:00.038) 0:01:32.155 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 21:07:06 +0000 (0:00:00.034) 0:01:32.190 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 21:07:06 +0000 (0:00:00.026) 0:01:32.216 ********* skipping: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 21:07:06 +0000 (0:00:00.025) 0:01:32.241 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 21:07:06 +0000 (0:00:00.034) 0:01:32.275 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 21:07:06 +0000 (0:00:00.026) 0:01:32.302 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 21:07:06 +0000 (0:00:00.077) 0:01:32.380 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 21:07:06 +0000 (0:00:00.024) 0:01:32.404 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: invalid size specification for volume in pool 'foo' TASK [fedora.linux_system_roles.storage : failed message] ********************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:86 Thursday 21 July 2022 21:07:08 +0000 (0:00:02.027) 0:01:34.432 ********* fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "invalid size specification for volume in pool 'foo'", 'invocation': {'module_args': {'pools': [{'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': None, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': None, 'fs_label': '', 'fs_type': 'ext4', 'mount_options': None, 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 'none', 'state': 'present', 'type': None, 'cached': None, 'cache_devices': [], 'cache_mode': None, 'cache_size': None, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None}], 'raid_chunk_size': None}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': False, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': False} TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 21:07:08 +0000 (0:00:00.099) 0:01:34.531 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:183 Thursday 21 July 2022 21:07:08 +0000 (0:00:00.021) 0:01:34.553 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:189 Thursday 21 July 2022 21:07:08 +0000 (0:00:00.035) 0:01:34.588 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Clean up] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:194 Thursday 21 July 2022 21:07:08 +0000 (0:00:00.036) 0:01:34.625 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 21:07:08 +0000 (0:00:00.040) 0:01:34.665 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 21:07:08 +0000 (0:00:00.033) 0:01:34.699 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 21:07:09 +0000 (0:00:00.540) 0:01:35.239 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 21:07:09 +0000 (0:00:00.064) 0:01:35.304 ********* ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 21:07:09 +0000 (0:00:00.036) 0:01:35.341 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 21:07:09 +0000 (0:00:00.037) 0:01:35.378 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 21:07:09 +0000 (0:00:00.059) 0:01:35.438 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 21:07:09 +0000 (0:00:00.022) 0:01:35.461 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 21:07:09 +0000 (0:00:00.029) 0:01:35.490 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 21:07:09 +0000 (0:00:00.042) 0:01:35.533 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 21:07:09 +0000 (0:00:00.045) 0:01:35.579 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 21:07:09 +0000 (0:00:00.031) 0:01:35.610 ********* skipping: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 21:07:09 +0000 (0:00:00.030) 0:01:35.641 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 21:07:09 +0000 (0:00:00.033) 0:01:35.675 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 21:07:09 +0000 (0:00:00.029) 0:01:35.704 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 21:07:09 +0000 (0:00:00.051) 0:01:35.756 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 21:07:09 +0000 (0:00:00.025) 0:01:35.781 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/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": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "e2fsprogs", "btrfs-progs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 21:07:12 +0000 (0:00:02.773) 0:01:38.554 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 21:07:12 +0000 (0:00:00.026) 0:01:38.580 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 21:07:12 +0000 (0:00:00.021) 0:01:38.602 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/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": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "e2fsprogs", "btrfs-progs", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 21:07:12 +0000 (0:00:00.087) 0:01:38.689 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 21:07:12 +0000 (0:00:00.040) 0:01:38.729 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 21:07:12 +0000 (0:00:00.077) 0:01:38.807 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'ext4'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "fstype": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 21:07:13 +0000 (0:00:00.445) 0:01:39.253 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 21:07:14 +0000 (0:00:00.785) 0:01:40.038 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 21:07:14 +0000 (0:00:00.029) 0:01:40.067 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 21:07:14 +0000 (0:00:00.760) 0:01:40.827 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "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": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 21:07:15 +0000 (0:00:00.396) 0:01:41.224 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 21:07:15 +0000 (0:00:00.022) 0:01:41.247 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:207 Thursday 21 July 2022 21:07:16 +0000 (0:00:00.964) 0:01:42.211 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 21:07:16 +0000 (0:00:00.040) 0:01:42.252 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 21:07:16 +0000 (0:00:00.044) 0:01:42.296 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 21:07:16 +0000 (0:00:00.026) 0:01:42.322 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-21-05-21-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": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/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": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/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": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/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/tmppde4z2jm/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 21:07:16 +0000 (0:00:00.408) 0:01:42.731 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003216", "end": "2022-07-21 21:07:17.079583", "rc": 0, "start": "2022-07-21 21:07:17.076367" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 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=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /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/tmppde4z2jm/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 21:07:17 +0000 (0:00:00.390) 0:01:43.121 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003473", "end": "2022-07-21 21:07:17.479014", "failed_when_result": false, "rc": 0, "start": "2022-07-21 21:07:17.475541" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 21:07:17 +0000 (0:00:00.400) 0:01:43.521 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'absent', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 21:07:17 +0000 (0:00:00.047) 0:01:43.569 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 21:07:17 +0000 (0:00:00.032) 0:01:43.602 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 21:07:17 +0000 (0:00:00.048) 0:01:43.650 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 21:07:17 +0000 (0:00:00.073) 0:01:43.724 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 21:07:17 +0000 (0:00:00.022) 0:01:43.746 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 21:07:17 +0000 (0:00:00.039) 0:01:43.786 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 21:07:17 +0000 (0:00:00.039) 0:01:43.826 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 21:07:17 +0000 (0:00:00.036) 0:01:43.863 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 21:07:17 +0000 (0:00:00.035) 0:01:43.899 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 21:07:17 +0000 (0:00:00.037) 0:01:43.936 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 21:07:17 +0000 (0:00:00.023) 0:01:43.959 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 21:07:18 +0000 (0:00:00.019) 0:01:43.979 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 21:07:18 +0000 (0:00:00.039) 0:01:44.019 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 21:07:18 +0000 (0:00:00.022) 0:01:44.041 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 21:07:18 +0000 (0:00:00.021) 0:01:44.063 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 21:07:18 +0000 (0:00:00.021) 0:01:44.085 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 21:07:18 +0000 (0:00:00.021) 0:01:44.107 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 21:07:18 +0000 (0:00:00.022) 0:01:44.130 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 21:07:18 +0000 (0:00:00.021) 0:01:44.151 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 21:07:18 +0000 (0:00:00.021) 0:01:44.173 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 21:07:18 +0000 (0:00:00.035) 0:01:44.209 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 21:07:18 +0000 (0:00:00.044) 0:01:44.254 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-36.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 21:07:18 +0000 (0:00:00.041) 0:01:44.295 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 21:07:18 +0000 (0:00:00.028) 0:01:44.323 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 21:07:18 +0000 (0:00:00.026) 0:01:44.350 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 21:07:18 +0000 (0:00:00.026) 0:01:44.376 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 21:07:18 +0000 (0:00:00.042) 0:01:44.418 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml for /cache/fedora-36.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 21:07:18 +0000 (0:00:00.040) 0:01:44.458 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 21:07:18 +0000 (0:00:00.021) 0:01:44.480 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 21:07:18 +0000 (0:00:00.022) 0:01:44.503 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 21:07:18 +0000 (0:00:00.021) 0:01:44.524 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 21:07:18 +0000 (0:00:00.021) 0:01:44.546 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 21:07:18 +0000 (0:00:00.045) 0:01:44.591 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 21:07:18 +0000 (0:00:00.035) 0:01:44.627 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 21:07:18 +0000 (0:00:00.020) 0:01:44.647 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 21:07:18 +0000 (0:00:00.020) 0:01:44.668 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 21:07:18 +0000 (0:00:00.031) 0:01:44.700 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 21:07:18 +0000 (0:00:00.045) 0:01:44.745 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-36.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 21:07:18 +0000 (0:00:00.070) 0:01:44.815 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 21:07:18 +0000 (0:00:00.023) 0:01:44.839 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 21:07:18 +0000 (0:00:00.022) 0:01:44.861 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 21:07:18 +0000 (0:00:00.023) 0:01:44.884 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 21:07:18 +0000 (0:00:00.021) 0:01:44.906 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 21:07:18 +0000 (0:00:00.021) 0:01:44.928 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 21:07:18 +0000 (0:00:00.021) 0:01:44.950 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 21:07:18 +0000 (0:00:00.023) 0:01:44.973 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 21:07:19 +0000 (0:00:00.031) 0:01:45.004 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 21:07:19 +0000 (0:00:00.032) 0:01:45.037 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml for /cache/fedora-36.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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 21:07:19 +0000 (0:00:00.040) 0:01:45.078 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 21:07:19 +0000 (0:00:00.037) 0:01:45.115 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 21:07:19 +0000 (0:00:00.079) 0:01:45.195 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 21:07:19 +0000 (0:00:00.041) 0:01:45.236 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 21:07:19 +0000 (0:00:00.046) 0:01:45.282 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 21:07:19 +0000 (0:00:00.023) 0:01:45.306 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 21:07:19 +0000 (0:00:00.035) 0:01:45.341 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 21:07:19 +0000 (0:00:00.023) 0:01:45.364 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 21:07:19 +0000 (0:00:00.021) 0:01:45.386 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 21:07:19 +0000 (0:00:00.023) 0:01:45.409 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 21:07:19 +0000 (0:00:00.022) 0:01:45.432 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 21:07:19 +0000 (0:00:00.032) 0:01:45.465 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 21:07:19 +0000 (0:00:00.049) 0:01:45.514 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 21:07:19 +0000 (0:00:00.021) 0:01:45.536 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 21:07:19 +0000 (0:00:00.036) 0:01:45.572 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 21:07:19 +0000 (0:00:00.022) 0:01:45.595 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 21:07:19 +0000 (0:00:00.033) 0:01:45.629 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 21:07:19 +0000 (0:00:00.021) 0:01:45.651 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 21:07:19 +0000 (0:00:00.021) 0:01:45.672 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 21:07:20 +0000 (0:00:00.394) 0:01:46.066 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 21:07:20 +0000 (0:00:00.037) 0:01:46.104 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 21:07:20 +0000 (0:00:00.024) 0:01:46.128 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 21:07:20 +0000 (0:00:00.072) 0:01:46.201 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 21:07:20 +0000 (0:00:00.055) 0:01:46.256 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 21:07:20 +0000 (0:00:00.023) 0:01:46.279 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 21:07:20 +0000 (0:00:00.022) 0:01:46.301 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 21:07:22 +0000 (0:00:02.010) 0:01:48.312 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 21:07:22 +0000 (0:00:00.025) 0:01:48.338 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 21:07:22 +0000 (0:00:00.022) 0:01:48.360 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 21:07:22 +0000 (0:00:00.022) 0:01:48.382 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 21:07:22 +0000 (0:00:00.022) 0:01:48.405 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 21:07:22 +0000 (0:00:00.021) 0:01:48.427 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 21:07:22 +0000 (0:00:00.021) 0:01:48.449 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 21:07:22 +0000 (0:00:00.021) 0:01:48.471 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 21:07:22 +0000 (0:00:00.022) 0:01:48.494 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 21:07:22 +0000 (0:00:00.037) 0:01:48.532 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 21:07:22 +0000 (0:00:00.038) 0:01:48.571 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 21:07:22 +0000 (0:00:00.026) 0:01:48.597 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 21:07:22 +0000 (0:00:00.030) 0:01:48.628 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 21:07:22 +0000 (0:00:00.026) 0:01:48.654 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 21:07:22 +0000 (0:00:00.035) 0:01:48.690 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 21:07:22 +0000 (0:00:00.026) 0:01:48.717 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 21:07:22 +0000 (0:00:00.028) 0:01:48.745 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 21:07:22 +0000 (0:00:00.024) 0:01:48.769 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 21:07:22 +0000 (0:00:00.023) 0:01:48.793 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 21:07:22 +0000 (0:00:00.023) 0:01:48.817 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 21:07:22 +0000 (0:00:00.027) 0:01:48.844 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 21:07:22 +0000 (0:00:00.024) 0:01:48.868 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 21:07:22 +0000 (0:00:00.023) 0:01:48.891 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 21:07:22 +0000 (0:00:00.023) 0:01:48.915 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 21:07:22 +0000 (0:00:00.027) 0:01:48.942 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "10737418240" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 21:07:22 +0000 (0:00:00.032) 0:01:48.975 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 21:07:23 +0000 (0:00:00.023) 0:01:48.999 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 21:07:23 +0000 (0:00:00.024) 0:01:49.023 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 21:07:23 +0000 (0:00:00.027) 0:01:49.050 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 21:07:23 +0000 (0:00:00.024) 0:01:49.074 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 21:07:23 +0000 (0:00:00.023) 0:01:49.098 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 21:07:23 +0000 (0:00:00.034) 0:01:49.133 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "10737418240" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 21:07:23 +0000 (0:00:00.035) 0:01:49.169 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 21:07:23 +0000 (0:00:00.022) 0:01:49.191 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 21:07:23 +0000 (0:00:00.021) 0:01:49.213 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 21:07:23 +0000 (0:00:00.022) 0:01:49.235 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 21:07:23 +0000 (0:00:00.026) 0:01:49.261 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 21:07:23 +0000 (0:00:00.024) 0:01:49.286 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 21:07:23 +0000 (0:00:00.025) 0:01:49.311 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 21:07:23 +0000 (0:00:00.024) 0:01:49.335 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 21:07:23 +0000 (0:00:00.026) 0:01:49.361 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 21:07:23 +0000 (0:00:00.033) 0:01:49.395 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 21:07:23 +0000 (0:00:00.020) 0:01:49.415 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Create a LVM logical volume with "5g" for ext3 FS] *********************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:211 Thursday 21 July 2022 21:07:23 +0000 (0:00:00.033) 0:01:49.449 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 21:07:23 +0000 (0:00:00.045) 0:01:49.495 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 21:07:23 +0000 (0:00:00.064) 0:01:49.559 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 21:07:24 +0000 (0:00:00.535) 0:01:50.094 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 21:07:24 +0000 (0:00:00.059) 0:01:50.154 ********* ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 21:07:24 +0000 (0:00:00.034) 0:01:50.188 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 21:07:24 +0000 (0:00:00.034) 0:01:50.223 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 21:07:24 +0000 (0:00:00.054) 0:01:50.278 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 21:07:24 +0000 (0:00:00.021) 0:01:50.299 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 21:07:24 +0000 (0:00:00.029) 0:01:50.329 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext3", "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 21:07:24 +0000 (0:00:00.036) 0:01:50.365 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 21:07:24 +0000 (0:00:00.038) 0:01:50.403 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 21:07:24 +0000 (0:00:00.026) 0:01:50.429 ********* skipping: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 21:07:24 +0000 (0:00:00.027) 0:01:50.457 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 21:07:24 +0000 (0:00:00.027) 0:01:50.485 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 21:07:24 +0000 (0:00:00.027) 0:01:50.512 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 21:07:24 +0000 (0:00:00.045) 0:01:50.558 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 21:07:24 +0000 (0:00:00.022) 0:01:50.581 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "btrfs-progs", "e2fsprogs", "lvm2", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 21:07:27 +0000 (0:00:02.498) 0:01:53.079 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 21:07:27 +0000 (0:00:00.026) 0:01:53.106 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 21:07:27 +0000 (0:00:00.025) 0:01:53.132 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "btrfs-progs", "e2fsprogs", "lvm2", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 21:07:27 +0000 (0:00:00.043) 0:01:53.175 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 21:07:27 +0000 (0:00:00.037) 0:01:53.212 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 21:07:27 +0000 (0:00:00.067) 0:01:53.280 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 21:07:27 +0000 (0:00:00.028) 0:01:53.308 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 21:07:28 +0000 (0:00:00.750) 0:01:54.059 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext3', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext3", "mount_info": { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 21:07:28 +0000 (0:00:00.480) 0:01:54.539 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 21:07:29 +0000 (0:00:00.731) 0:01:55.271 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "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": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 21:07:29 +0000 (0:00:00.397) 0:01:55.669 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 21:07:29 +0000 (0:00:00.022) 0:01:55.691 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:225 Thursday 21 July 2022 21:07:30 +0000 (0:00:00.939) 0:01:56.631 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 21:07:30 +0000 (0:00:00.042) 0:01:56.674 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 21:07:30 +0000 (0:00:00.038) 0:01:56.713 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 21:07:30 +0000 (0:00:00.027) 0:01:56.740 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext3", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "5dad78d9-f685-47cc-aea0-d9195169aa9f" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "29YXJ6-Qab3-kqag-cFyA-aJ59-jMme-9ImCBO" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-21-05-21-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": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/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": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/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": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/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/tmppde4z2jm/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 21:07:31 +0000 (0:00:00.414) 0:01:57.155 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.004622", "end": "2022-07-21 21:07:32.527098", "rc": 0, "start": "2022-07-21 21:07:31.522476" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 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=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /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/foo-test1 /opt/test1 ext3 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 21:07:32 +0000 (0:00:01.422) 0:01:58.577 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:01.004410", "end": "2022-07-21 21:07:33.940583", "failed_when_result": false, "rc": 0, "start": "2022-07-21 21:07:32.936173" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 21:07:34 +0000 (0:00:01.412) 0:01:59.990 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 21:07:34 +0000 (0:00:00.048) 0:02:00.038 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 21:07:34 +0000 (0:00:00.067) 0:02:00.106 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 21:07:34 +0000 (0:00:00.047) 0:02:00.154 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 21:07:34 +0000 (0:00:00.106) 0:02:00.260 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 21:07:34 +0000 (0:00:00.406) 0:02:00.667 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 21:07:34 +0000 (0:00:00.037) 0:02:00.705 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 21:07:34 +0000 (0:00:00.039) 0:02:00.744 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 21:07:34 +0000 (0:00:00.037) 0:02:00.781 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 21:07:34 +0000 (0:00:00.035) 0:02:00.817 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 21:07:34 +0000 (0:00:00.037) 0:02:00.854 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 21:07:34 +0000 (0:00:00.023) 0:02:00.878 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 21:07:34 +0000 (0:00:00.038) 0:02:00.916 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 21:07:34 +0000 (0:00:00.040) 0:02:00.956 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 21:07:35 +0000 (0:00:00.026) 0:02:00.982 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 21:07:35 +0000 (0:00:00.023) 0:02:01.006 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 21:07:35 +0000 (0:00:00.022) 0:02:01.028 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 21:07:35 +0000 (0:00:00.022) 0:02:01.050 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 21:07:35 +0000 (0:00:00.023) 0:02:01.074 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 21:07:35 +0000 (0:00:00.022) 0:02:01.096 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 21:07:35 +0000 (0:00:00.022) 0:02:01.118 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 21:07:35 +0000 (0:00:00.033) 0:02:01.152 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 21:07:35 +0000 (0:00:00.043) 0:02:01.195 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-36.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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 21:07:35 +0000 (0:00:00.039) 0:02:01.235 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 21:07:35 +0000 (0:00:00.027) 0:02:01.263 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 21:07:35 +0000 (0:00:00.025) 0:02:01.288 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 21:07:35 +0000 (0:00:00.025) 0:02:01.313 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 21:07:35 +0000 (0:00:00.046) 0:02:01.360 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml for /cache/fedora-36.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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 21:07:35 +0000 (0:00:00.042) 0:02:01.403 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 21:07:35 +0000 (0:00:00.025) 0:02:01.428 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 21:07:35 +0000 (0:00:00.024) 0:02:01.452 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 21:07:35 +0000 (0:00:00.023) 0:02:01.476 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 21:07:35 +0000 (0:00:00.024) 0:02:01.500 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 21:07:35 +0000 (0:00:00.048) 0:02:01.549 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 21:07:35 +0000 (0:00:00.078) 0:02:01.627 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 21:07:35 +0000 (0:00:00.027) 0:02:01.655 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 21:07:35 +0000 (0:00:00.072) 0:02:01.728 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 21:07:35 +0000 (0:00:00.040) 0:02:01.768 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 21:07:35 +0000 (0:00:00.040) 0:02:01.809 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 21:07:35 +0000 (0:00:00.028) 0:02:01.838 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 21:07:35 +0000 (0:00:00.024) 0:02:01.862 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 21:07:35 +0000 (0:00:00.023) 0:02:01.886 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 21:07:35 +0000 (0:00:00.033) 0:02:01.919 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 21:07:35 +0000 (0:00:00.034) 0:02:01.954 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 21:07:36 +0000 (0:00:00.046) 0:02:02.000 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-36.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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 21:07:36 +0000 (0:00:00.042) 0:02:02.043 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 21:07:36 +0000 (0:00:00.022) 0:02:02.065 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 21:07:36 +0000 (0:00:00.024) 0:02:02.090 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 21:07:36 +0000 (0:00:00.026) 0:02:02.116 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 21:07:36 +0000 (0:00:00.024) 0:02:02.141 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 21:07:36 +0000 (0:00:00.023) 0:02:02.164 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 21:07:36 +0000 (0:00:00.022) 0:02:02.187 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 21:07:36 +0000 (0:00:00.023) 0:02:02.210 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 21:07:36 +0000 (0:00:00.031) 0:02:02.242 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 21:07:36 +0000 (0:00:00.036) 0:02:02.278 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml for /cache/fedora-36.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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 21:07:36 +0000 (0:00:00.044) 0:02:02.322 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 21:07:36 +0000 (0:00:00.036) 0:02:02.359 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 21:07:36 +0000 (0:00:00.076) 0:02:02.435 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 21:07:36 +0000 (0:00:00.040) 0:02:02.476 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1205649, "block_size": 4096, "block_total": 1271208, "block_used": 65559, "device": "/dev/mapper/foo-test1", "fstype": "ext3", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 4938338304, "size_total": 5206867968, "uuid": "5dad78d9-f685-47cc-aea0-d9195169aa9f" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1205649, "block_size": 4096, "block_total": 1271208, "block_used": 65559, "device": "/dev/mapper/foo-test1", "fstype": "ext3", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 4938338304, "size_total": 5206867968, "uuid": "5dad78d9-f685-47cc-aea0-d9195169aa9f" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 21:07:36 +0000 (0:00:00.046) 0:02:02.523 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 21:07:36 +0000 (0:00:00.040) 0:02:02.563 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 21:07:36 +0000 (0:00:00.039) 0:02:02.603 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 21:07:36 +0000 (0:00:00.043) 0:02:02.647 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 21:07:36 +0000 (0:00:00.024) 0:02:02.671 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 21:07:36 +0000 (0:00:00.025) 0:02:02.697 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 21:07:36 +0000 (0:00:00.023) 0:02:02.720 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 21:07:36 +0000 (0:00:00.036) 0:02:02.756 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext3 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 21:07:36 +0000 (0:00:00.053) 0:02:02.809 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 21:07:36 +0000 (0:00:00.039) 0:02:02.849 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 21:07:36 +0000 (0:00:00.075) 0:02:02.925 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 21:07:36 +0000 (0:00:00.027) 0:02:02.952 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 21:07:37 +0000 (0:00:00.112) 0:02:03.065 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 21:07:37 +0000 (0:00:00.039) 0:02:03.104 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 21:07:37 +0000 (0:00:00.039) 0:02:03.143 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658437648.5149586, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658437646.9719586, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1537, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658437646.9719586, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 21:07:37 +0000 (0:00:00.421) 0:02:03.565 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 21:07:37 +0000 (0:00:00.038) 0:02:03.604 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 21:07:37 +0000 (0:00:00.042) 0:02:03.646 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 21:07:37 +0000 (0:00:00.037) 0:02:03.683 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 21:07:37 +0000 (0:00:00.022) 0:02:03.706 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 21:07:37 +0000 (0:00:00.036) 0:02:03.742 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 21:07:37 +0000 (0:00:00.022) 0:02:03.764 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 21:07:39 +0000 (0:00:01.881) 0:02:05.646 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 21:07:39 +0000 (0:00:00.026) 0:02:05.673 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 21:07:39 +0000 (0:00:00.026) 0:02:05.699 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 21:07:39 +0000 (0:00:00.042) 0:02:05.741 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 21:07:39 +0000 (0:00:00.027) 0:02:05.769 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 21:07:39 +0000 (0:00:00.024) 0:02:05.794 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 21:07:39 +0000 (0:00:00.024) 0:02:05.819 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 21:07:39 +0000 (0:00:00.024) 0:02:05.844 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 21:07:39 +0000 (0:00:00.027) 0:02:05.871 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 21:07:39 +0000 (0:00:00.040) 0:02:05.911 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 21:07:39 +0000 (0:00:00.040) 0:02:05.952 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 21:07:39 +0000 (0:00:00.024) 0:02:05.976 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 21:07:40 +0000 (0:00:00.027) 0:02:06.003 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 21:07:40 +0000 (0:00:00.026) 0:02:06.030 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 21:07:40 +0000 (0:00:00.035) 0:02:06.065 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 21:07:40 +0000 (0:00:00.024) 0:02:06.090 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 21:07:40 +0000 (0:00:00.029) 0:02:06.120 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 21:07:40 +0000 (0:00:00.026) 0:02:06.146 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 21:07:40 +0000 (0:00:00.025) 0:02:06.172 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 21:07:40 +0000 (0:00:00.027) 0:02:06.200 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 21:07:40 +0000 (0:00:00.029) 0:02:06.229 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 21:07:40 +0000 (0:00:00.033) 0:02:06.262 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 21:07:40 +0000 (0:00:00.466) 0:02:06.728 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 21:07:41 +0000 (0:00:00.408) 0:02:07.137 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 21:07:41 +0000 (0:00:00.041) 0:02:07.179 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 21:07:41 +0000 (0:00:00.038) 0:02:07.217 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 21:07:41 +0000 (0:00:00.027) 0:02:07.245 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 21:07:41 +0000 (0:00:00.026) 0:02:07.272 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 21:07:41 +0000 (0:00:00.028) 0:02:07.300 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 21:07:41 +0000 (0:00:00.027) 0:02:07.327 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 21:07:41 +0000 (0:00:00.026) 0:02:07.354 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 21:07:41 +0000 (0:00:00.035) 0:02:07.390 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 21:07:41 +0000 (0:00:00.038) 0:02:07.428 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 21:07:41 +0000 (0:00:00.043) 0:02:07.471 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.044954", "end": "2022-07-21 21:07:41.891111", "rc": 0, "start": "2022-07-21 21:07:41.846157" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 21:07:41 +0000 (0:00:00.466) 0:02:07.937 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 21:07:42 +0000 (0:00:00.043) 0:02:07.981 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 21:07:42 +0000 (0:00:00.043) 0:02:08.024 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 21:07:42 +0000 (0:00:00.033) 0:02:08.057 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 21:07:42 +0000 (0:00:00.029) 0:02:08.087 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 21:07:42 +0000 (0:00:00.028) 0:02:08.115 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 21:07:42 +0000 (0:00:00.025) 0:02:08.141 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 21:07:42 +0000 (0:00:00.039) 0:02:08.180 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 21:07:42 +0000 (0:00:00.021) 0:02:08.202 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change volume size to "9g"] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:227 Thursday 21 July 2022 21:07:42 +0000 (0:00:00.035) 0:02:08.237 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 21:07:42 +0000 (0:00:00.051) 0:02:08.289 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 21:07:42 +0000 (0:00:00.037) 0:02:08.326 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 21:07:42 +0000 (0:00:00.528) 0:02:08.855 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 21:07:42 +0000 (0:00:00.061) 0:02:08.916 ********* ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 21:07:43 +0000 (0:00:00.072) 0:02:08.989 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 21:07:43 +0000 (0:00:00.111) 0:02:09.100 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 21:07:43 +0000 (0:00:00.056) 0:02:09.157 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 21:07:43 +0000 (0:00:00.020) 0:02:09.177 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 21:07:43 +0000 (0:00:00.030) 0:02:09.208 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext3", "mount_point": "/opt/test1", "name": "test1", "size": "9g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 21:07:43 +0000 (0:00:00.036) 0:02:09.244 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 21:07:43 +0000 (0:00:00.035) 0:02:09.280 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 21:07:43 +0000 (0:00:00.027) 0:02:09.307 ********* skipping: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 21:07:43 +0000 (0:00:00.031) 0:02:09.339 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 21:07:43 +0000 (0:00:00.027) 0:02:09.366 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 21:07:43 +0000 (0:00:00.026) 0:02:09.393 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 21:07:43 +0000 (0:00:00.047) 0:02:09.440 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 21:07:43 +0000 (0:00:00.021) 0:02:09.461 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "btrfs-progs", "lvm2", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 21:07:46 +0000 (0:00:02.915) 0:02:12.376 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 21:07:46 +0000 (0:00:00.029) 0:02:12.406 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 21:07:46 +0000 (0:00:00.024) 0:02:12.431 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "btrfs-progs", "lvm2", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 21:07:46 +0000 (0:00:00.041) 0:02:12.472 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 21:07:46 +0000 (0:00:00.039) 0:02:12.511 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 21:07:46 +0000 (0:00:00.034) 0:02:12.545 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 21:07:46 +0000 (0:00:00.026) 0:02:12.572 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 21:07:47 +0000 (0:00:00.762) 0:02:13.334 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext3', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext3", "mount_info": { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 21:07:47 +0000 (0:00:00.443) 0:02:13.778 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 21:07:48 +0000 (0:00:00.770) 0:02:14.548 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "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": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 21:07:49 +0000 (0:00:00.456) 0:02:15.004 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 21:07:49 +0000 (0:00:00.023) 0:02:15.028 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:241 Thursday 21 July 2022 21:07:50 +0000 (0:00:01.053) 0:02:16.081 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 21:07:50 +0000 (0:00:00.044) 0:02:16.125 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 21:07:50 +0000 (0:00:00.039) 0:02:16.165 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 21:07:50 +0000 (0:00:00.023) 0:02:16.189 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext3", "label": "", "name": "/dev/mapper/foo-test1", "size": "9G", "type": "lvm", "uuid": "5dad78d9-f685-47cc-aea0-d9195169aa9f" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "29YXJ6-Qab3-kqag-cFyA-aJ59-jMme-9ImCBO" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-21-05-21-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": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/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": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/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": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/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/tmppde4z2jm/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 21:07:50 +0000 (0:00:00.445) 0:02:16.634 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.005212", "end": "2022-07-21 21:07:52.013821", "rc": 0, "start": "2022-07-21 21:07:51.008609" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 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=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /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/foo-test1 /opt/test1 ext3 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 21:07:52 +0000 (0:00:01.430) 0:02:18.064 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003172", "end": "2022-07-21 21:07:52.438266", "failed_when_result": false, "rc": 0, "start": "2022-07-21 21:07:52.435094" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 21:07:52 +0000 (0:00:00.418) 0:02:18.482 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 21:07:52 +0000 (0:00:00.052) 0:02:18.534 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 21:07:52 +0000 (0:00:00.038) 0:02:18.573 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 21:07:52 +0000 (0:00:00.048) 0:02:18.621 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 21:07:52 +0000 (0:00:00.047) 0:02:18.669 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 21:07:53 +0000 (0:00:00.414) 0:02:19.083 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 21:07:53 +0000 (0:00:00.038) 0:02:19.121 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 21:07:53 +0000 (0:00:00.038) 0:02:19.160 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 21:07:53 +0000 (0:00:00.037) 0:02:19.198 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 21:07:53 +0000 (0:00:00.040) 0:02:19.238 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 21:07:53 +0000 (0:00:00.081) 0:02:19.320 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 21:07:53 +0000 (0:00:00.025) 0:02:19.345 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 21:07:53 +0000 (0:00:00.094) 0:02:19.440 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 21:07:53 +0000 (0:00:00.072) 0:02:19.512 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 21:07:53 +0000 (0:00:00.025) 0:02:19.538 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 21:07:53 +0000 (0:00:00.024) 0:02:19.563 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 21:07:53 +0000 (0:00:00.024) 0:02:19.587 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 21:07:53 +0000 (0:00:00.024) 0:02:19.611 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 21:07:53 +0000 (0:00:00.023) 0:02:19.635 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 21:07:53 +0000 (0:00:00.022) 0:02:19.658 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 21:07:53 +0000 (0:00:00.023) 0:02:19.682 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 21:07:53 +0000 (0:00:00.055) 0:02:19.737 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 21:07:53 +0000 (0:00:00.047) 0:02:19.784 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-36.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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 21:07:53 +0000 (0:00:00.044) 0:02:19.828 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 21:07:53 +0000 (0:00:00.029) 0:02:19.858 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 21:07:53 +0000 (0:00:00.026) 0:02:19.885 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 21:07:53 +0000 (0:00:00.027) 0:02:19.912 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 21:07:53 +0000 (0:00:00.045) 0:02:19.958 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml for /cache/fedora-36.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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 21:07:54 +0000 (0:00:00.043) 0:02:20.001 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 21:07:54 +0000 (0:00:00.023) 0:02:20.025 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 21:07:54 +0000 (0:00:00.023) 0:02:20.049 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 21:07:54 +0000 (0:00:00.023) 0:02:20.072 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 21:07:54 +0000 (0:00:00.024) 0:02:20.097 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 21:07:54 +0000 (0:00:00.044) 0:02:20.142 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 21:07:54 +0000 (0:00:00.037) 0:02:20.179 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 21:07:54 +0000 (0:00:00.027) 0:02:20.207 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 21:07:54 +0000 (0:00:00.043) 0:02:20.250 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 21:07:54 +0000 (0:00:00.040) 0:02:20.291 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 21:07:54 +0000 (0:00:00.041) 0:02:20.332 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 21:07:54 +0000 (0:00:00.026) 0:02:20.359 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 21:07:54 +0000 (0:00:00.025) 0:02:20.384 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 21:07:54 +0000 (0:00:00.023) 0:02:20.408 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 21:07:54 +0000 (0:00:00.034) 0:02:20.443 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 21:07:54 +0000 (0:00:00.035) 0:02:20.479 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 21:07:54 +0000 (0:00:00.048) 0:02:20.527 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-36.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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 21:07:54 +0000 (0:00:00.043) 0:02:20.571 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 21:07:54 +0000 (0:00:00.023) 0:02:20.595 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 21:07:54 +0000 (0:00:00.024) 0:02:20.620 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 21:07:54 +0000 (0:00:00.058) 0:02:20.678 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 21:07:54 +0000 (0:00:00.024) 0:02:20.703 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 21:07:54 +0000 (0:00:00.024) 0:02:20.727 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 21:07:54 +0000 (0:00:00.024) 0:02:20.752 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 21:07:54 +0000 (0:00:00.025) 0:02:20.777 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 21:07:54 +0000 (0:00:00.035) 0:02:20.813 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 21:07:54 +0000 (0:00:00.037) 0:02:20.850 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml for /cache/fedora-36.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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 21:07:54 +0000 (0:00:00.044) 0:02:20.895 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 21:07:54 +0000 (0:00:00.038) 0:02:20.933 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 21:07:55 +0000 (0:00:00.079) 0:02:21.013 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 21:07:55 +0000 (0:00:00.040) 0:02:21.054 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2185028, "block_size": 4096, "block_total": 2303015, "block_used": 117987, "device": "/dev/mapper/foo-test1", "fstype": "ext3", "inode_available": 589813, "inode_total": 589824, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 8949874688, "size_total": 9433149440, "uuid": "5dad78d9-f685-47cc-aea0-d9195169aa9f" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2185028, "block_size": 4096, "block_total": 2303015, "block_used": 117987, "device": "/dev/mapper/foo-test1", "fstype": "ext3", "inode_available": 589813, "inode_total": 589824, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 8949874688, "size_total": 9433149440, "uuid": "5dad78d9-f685-47cc-aea0-d9195169aa9f" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 21:07:55 +0000 (0:00:00.049) 0:02:21.104 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 21:07:55 +0000 (0:00:00.040) 0:02:21.144 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 21:07:55 +0000 (0:00:00.039) 0:02:21.183 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 21:07:55 +0000 (0:00:00.041) 0:02:21.225 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 21:07:55 +0000 (0:00:00.025) 0:02:21.250 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 21:07:55 +0000 (0:00:00.023) 0:02:21.274 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 21:07:55 +0000 (0:00:00.023) 0:02:21.298 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 21:07:55 +0000 (0:00:00.036) 0:02:21.335 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext3 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 21:07:55 +0000 (0:00:00.054) 0:02:21.389 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 21:07:55 +0000 (0:00:00.039) 0:02:21.429 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 21:07:55 +0000 (0:00:00.041) 0:02:21.470 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 21:07:55 +0000 (0:00:00.026) 0:02:21.497 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 21:07:55 +0000 (0:00:00.038) 0:02:21.535 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 21:07:55 +0000 (0:00:00.039) 0:02:21.575 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 21:07:55 +0000 (0:00:00.041) 0:02:21.617 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658437667.7299588, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658437666.2679586, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1537, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658437666.2679586, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 21:07:56 +0000 (0:00:00.412) 0:02:22.029 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 21:07:56 +0000 (0:00:00.038) 0:02:22.068 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 21:07:56 +0000 (0:00:00.041) 0:02:22.109 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 21:07:56 +0000 (0:00:00.038) 0:02:22.147 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 21:07:56 +0000 (0:00:00.025) 0:02:22.173 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 21:07:56 +0000 (0:00:00.038) 0:02:22.211 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 21:07:56 +0000 (0:00:00.024) 0:02:22.236 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 21:07:58 +0000 (0:00:01.984) 0:02:24.221 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 21:07:58 +0000 (0:00:00.024) 0:02:24.245 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 21:07:58 +0000 (0:00:00.022) 0:02:24.268 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 21:07:58 +0000 (0:00:00.040) 0:02:24.308 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 21:07:58 +0000 (0:00:00.025) 0:02:24.334 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 21:07:58 +0000 (0:00:00.024) 0:02:24.358 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 21:07:58 +0000 (0:00:00.022) 0:02:24.381 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 21:07:58 +0000 (0:00:00.056) 0:02:24.437 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 21:07:58 +0000 (0:00:00.024) 0:02:24.461 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 21:07:58 +0000 (0:00:00.039) 0:02:24.500 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 21:07:58 +0000 (0:00:00.037) 0:02:24.537 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 21:07:58 +0000 (0:00:00.025) 0:02:24.563 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 21:07:58 +0000 (0:00:00.023) 0:02:24.586 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 21:07:58 +0000 (0:00:00.023) 0:02:24.610 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 21:07:58 +0000 (0:00:00.037) 0:02:24.647 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 21:07:58 +0000 (0:00:00.028) 0:02:24.676 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 21:07:58 +0000 (0:00:00.025) 0:02:24.701 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 21:07:58 +0000 (0:00:00.024) 0:02:24.726 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 21:07:58 +0000 (0:00:00.024) 0:02:24.750 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 21:07:58 +0000 (0:00:00.026) 0:02:24.777 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 21:07:58 +0000 (0:00:00.027) 0:02:24.805 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 21:07:58 +0000 (0:00:00.028) 0:02:24.833 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 21:07:59 +0000 (0:00:00.407) 0:02:25.240 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 21:07:59 +0000 (0:00:00.402) 0:02:25.643 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "9663676416" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 21:07:59 +0000 (0:00:00.039) 0:02:25.682 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "9663676416" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 21:07:59 +0000 (0:00:00.036) 0:02:25.719 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 21:07:59 +0000 (0:00:00.025) 0:02:25.744 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 21:07:59 +0000 (0:00:00.024) 0:02:25.769 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 21:07:59 +0000 (0:00:00.024) 0:02:25.793 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 21:07:59 +0000 (0:00:00.025) 0:02:25.819 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 21:07:59 +0000 (0:00:00.024) 0:02:25.843 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 9663676416, "changed": false, "failed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 21:07:59 +0000 (0:00:00.035) 0:02:25.878 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "9663676416" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 21:07:59 +0000 (0:00:00.035) 0:02:25.914 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 21:07:59 +0000 (0:00:00.041) 0:02:25.955 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.042617", "end": "2022-07-21 21:08:00.356737", "rc": 0, "start": "2022-07-21 21:08:00.314120" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 21:08:00 +0000 (0:00:00.449) 0:02:26.404 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 21:08:00 +0000 (0:00:00.079) 0:02:26.483 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 21:08:00 +0000 (0:00:00.076) 0:02:26.560 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 21:08:00 +0000 (0:00:00.026) 0:02:26.587 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 21:08:00 +0000 (0:00:00.025) 0:02:26.612 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 21:08:00 +0000 (0:00:00.029) 0:02:26.642 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 21:08:00 +0000 (0:00:00.025) 0:02:26.667 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 21:08:00 +0000 (0:00:00.032) 0:02:26.700 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 21:08:00 +0000 (0:00:00.020) 0:02:26.720 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change volume size to "5g"] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:243 Thursday 21 July 2022 21:08:00 +0000 (0:00:00.035) 0:02:26.756 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 21:08:00 +0000 (0:00:00.049) 0:02:26.805 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 21:08:00 +0000 (0:00:00.037) 0:02:26.843 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 21:08:01 +0000 (0:00:00.558) 0:02:27.401 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 21:08:01 +0000 (0:00:00.063) 0:02:27.464 ********* ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 21:08:01 +0000 (0:00:00.034) 0:02:27.499 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 21:08:01 +0000 (0:00:00.035) 0:02:27.535 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 21:08:01 +0000 (0:00:00.056) 0:02:27.591 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 21:08:01 +0000 (0:00:00.023) 0:02:27.615 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 21:08:01 +0000 (0:00:00.029) 0:02:27.645 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext3", "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 21:08:01 +0000 (0:00:00.038) 0:02:27.683 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 21:08:01 +0000 (0:00:00.035) 0:02:27.719 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 21:08:01 +0000 (0:00:00.027) 0:02:27.746 ********* skipping: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 21:08:01 +0000 (0:00:00.025) 0:02:27.772 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 21:08:01 +0000 (0:00:00.025) 0:02:27.798 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 21:08:01 +0000 (0:00:00.025) 0:02:27.824 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 21:08:01 +0000 (0:00:00.047) 0:02:27.871 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 21:08:01 +0000 (0:00:00.020) 0:02:27.892 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" }, { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "btrfs-progs", "lvm2", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 21:08:05 +0000 (0:00:03.174) 0:02:31.067 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 21:08:05 +0000 (0:00:00.026) 0:02:31.093 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 21:08:05 +0000 (0:00:00.021) 0:02:31.114 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" }, { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "btrfs-progs", "lvm2", "dosfstools" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 21:08:05 +0000 (0:00:00.038) 0:02:31.152 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 21:08:05 +0000 (0:00:00.037) 0:02:31.189 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 21:08:05 +0000 (0:00:00.036) 0:02:31.226 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 21:08:05 +0000 (0:00:00.026) 0:02:31.253 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 21:08:06 +0000 (0:00:00.761) 0:02:32.015 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext3', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext3", "mount_info": { "dump": 0, "fstype": "ext3", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 21:08:06 +0000 (0:00:00.440) 0:02:32.455 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 21:08:07 +0000 (0:00:00.770) 0:02:33.226 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "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": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 21:08:07 +0000 (0:00:00.409) 0:02:33.635 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 21:08:07 +0000 (0:00:00.022) 0:02:33.657 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:257 Thursday 21 July 2022 21:08:08 +0000 (0:00:00.961) 0:02:34.619 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 21:08:08 +0000 (0:00:00.046) 0:02:34.665 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 21:08:08 +0000 (0:00:00.070) 0:02:34.736 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 21:08:08 +0000 (0:00:00.024) 0:02:34.761 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext3", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "5dad78d9-f685-47cc-aea0-d9195169aa9f" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "29YXJ6-Qab3-kqag-cFyA-aJ59-jMme-9ImCBO" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-21-05-21-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": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/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": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/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": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/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/tmppde4z2jm/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 21:08:09 +0000 (0:00:00.413) 0:02:35.174 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003114", "end": "2022-07-21 21:08:09.572639", "rc": 0, "start": "2022-07-21 21:08:09.569525" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 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=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /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/foo-test1 /opt/test1 ext3 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 21:08:09 +0000 (0:00:00.443) 0:02:35.618 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:01.004504", "end": "2022-07-21 21:08:11.017273", "failed_when_result": false, "rc": 0, "start": "2022-07-21 21:08:10.012769" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 21:08:11 +0000 (0:00:01.445) 0:02:37.063 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 21:08:11 +0000 (0:00:00.048) 0:02:37.112 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 21:08:11 +0000 (0:00:00.031) 0:02:37.144 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 21:08:11 +0000 (0:00:00.047) 0:02:37.192 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 21:08:11 +0000 (0:00:00.042) 0:02:37.234 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 21:08:11 +0000 (0:00:00.410) 0:02:37.644 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 21:08:11 +0000 (0:00:00.036) 0:02:37.681 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 21:08:11 +0000 (0:00:00.037) 0:02:37.719 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 21:08:11 +0000 (0:00:00.038) 0:02:37.758 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 21:08:11 +0000 (0:00:00.040) 0:02:37.798 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 21:08:11 +0000 (0:00:00.036) 0:02:37.834 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 21:08:11 +0000 (0:00:00.022) 0:02:37.856 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 21:08:11 +0000 (0:00:00.039) 0:02:37.896 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 21:08:11 +0000 (0:00:00.040) 0:02:37.936 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 21:08:11 +0000 (0:00:00.021) 0:02:37.958 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 21:08:12 +0000 (0:00:00.021) 0:02:37.980 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 21:08:12 +0000 (0:00:00.022) 0:02:38.002 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 21:08:12 +0000 (0:00:00.022) 0:02:38.024 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 21:08:12 +0000 (0:00:00.022) 0:02:38.047 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 21:08:12 +0000 (0:00:00.021) 0:02:38.069 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 21:08:12 +0000 (0:00:00.022) 0:02:38.092 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 21:08:12 +0000 (0:00:00.030) 0:02:38.123 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 21:08:12 +0000 (0:00:00.040) 0:02:38.163 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-36.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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 21:08:12 +0000 (0:00:00.067) 0:02:38.231 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 21:08:12 +0000 (0:00:00.027) 0:02:38.258 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 21:08:12 +0000 (0:00:00.025) 0:02:38.284 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 21:08:12 +0000 (0:00:00.028) 0:02:38.313 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 21:08:12 +0000 (0:00:00.045) 0:02:38.359 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml for /cache/fedora-36.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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 21:08:12 +0000 (0:00:00.040) 0:02:38.400 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 21:08:12 +0000 (0:00:00.022) 0:02:38.422 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 21:08:12 +0000 (0:00:00.023) 0:02:38.445 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 21:08:12 +0000 (0:00:00.021) 0:02:38.467 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 21:08:12 +0000 (0:00:00.022) 0:02:38.490 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 21:08:12 +0000 (0:00:00.043) 0:02:38.534 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 21:08:12 +0000 (0:00:00.037) 0:02:38.571 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 21:08:12 +0000 (0:00:00.025) 0:02:38.596 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 21:08:12 +0000 (0:00:00.038) 0:02:38.635 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 21:08:12 +0000 (0:00:00.036) 0:02:38.672 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 21:08:12 +0000 (0:00:00.034) 0:02:38.706 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 21:08:12 +0000 (0:00:00.026) 0:02:38.733 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 21:08:12 +0000 (0:00:00.025) 0:02:38.758 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 21:08:12 +0000 (0:00:00.025) 0:02:38.784 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 21:08:12 +0000 (0:00:00.032) 0:02:38.816 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 21:08:12 +0000 (0:00:00.034) 0:02:38.850 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 21:08:12 +0000 (0:00:00.048) 0:02:38.899 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-36.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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 21:08:12 +0000 (0:00:00.043) 0:02:38.942 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 21:08:12 +0000 (0:00:00.022) 0:02:38.965 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 21:08:13 +0000 (0:00:00.023) 0:02:38.988 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 21:08:13 +0000 (0:00:00.022) 0:02:39.011 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 21:08:13 +0000 (0:00:00.022) 0:02:39.034 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 21:08:13 +0000 (0:00:00.022) 0:02:39.057 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 21:08:13 +0000 (0:00:00.024) 0:02:39.081 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 21:08:13 +0000 (0:00:00.022) 0:02:39.104 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 21:08:13 +0000 (0:00:00.033) 0:02:39.137 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 21:08:13 +0000 (0:00:00.033) 0:02:39.171 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml for /cache/fedora-36.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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 21:08:13 +0000 (0:00:00.041) 0:02:39.213 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 21:08:13 +0000 (0:00:00.077) 0:02:39.290 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 21:08:13 +0000 (0:00:00.113) 0:02:39.403 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 21:08:13 +0000 (0:00:00.040) 0:02:39.444 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1205650, "block_size": 4096, "block_total": 1271208, "block_used": 65558, "device": "/dev/mapper/foo-test1", "fstype": "ext3", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 4938342400, "size_total": 5206867968, "uuid": "5dad78d9-f685-47cc-aea0-d9195169aa9f" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1205650, "block_size": 4096, "block_total": 1271208, "block_used": 65558, "device": "/dev/mapper/foo-test1", "fstype": "ext3", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 4938342400, "size_total": 5206867968, "uuid": "5dad78d9-f685-47cc-aea0-d9195169aa9f" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 21:08:13 +0000 (0:00:00.042) 0:02:39.486 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 21:08:13 +0000 (0:00:00.038) 0:02:39.525 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 21:08:13 +0000 (0:00:00.037) 0:02:39.562 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 21:08:13 +0000 (0:00:00.039) 0:02:39.601 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 21:08:13 +0000 (0:00:00.022) 0:02:39.623 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 21:08:13 +0000 (0:00:00.022) 0:02:39.645 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 21:08:13 +0000 (0:00:00.024) 0:02:39.670 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 21:08:13 +0000 (0:00:00.038) 0:02:39.709 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext3 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 21:08:13 +0000 (0:00:00.050) 0:02:39.760 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 21:08:13 +0000 (0:00:00.040) 0:02:39.800 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 21:08:13 +0000 (0:00:00.041) 0:02:39.842 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 21:08:13 +0000 (0:00:00.026) 0:02:39.869 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 21:08:13 +0000 (0:00:00.033) 0:02:39.902 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 21:08:13 +0000 (0:00:00.037) 0:02:39.940 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 21:08:14 +0000 (0:00:00.039) 0:02:39.979 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658437686.4099588, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658437684.9249587, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1537, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658437684.9249587, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 21:08:14 +0000 (0:00:00.424) 0:02:40.404 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 21:08:14 +0000 (0:00:00.038) 0:02:40.442 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 21:08:14 +0000 (0:00:00.038) 0:02:40.480 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 21:08:14 +0000 (0:00:00.033) 0:02:40.514 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 21:08:14 +0000 (0:00:00.022) 0:02:40.536 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 21:08:14 +0000 (0:00:00.037) 0:02:40.573 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 21:08:14 +0000 (0:00:00.023) 0:02:40.596 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 21:08:16 +0000 (0:00:01.951) 0:02:42.548 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 21:08:16 +0000 (0:00:00.024) 0:02:42.573 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 21:08:16 +0000 (0:00:00.024) 0:02:42.597 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 21:08:16 +0000 (0:00:00.038) 0:02:42.636 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 21:08:16 +0000 (0:00:00.024) 0:02:42.661 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 21:08:16 +0000 (0:00:00.025) 0:02:42.686 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 21:08:16 +0000 (0:00:00.032) 0:02:42.719 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 21:08:16 +0000 (0:00:00.067) 0:02:42.787 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 21:08:16 +0000 (0:00:00.024) 0:02:42.812 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 21:08:16 +0000 (0:00:00.039) 0:02:42.852 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 21:08:16 +0000 (0:00:00.037) 0:02:42.889 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 21:08:16 +0000 (0:00:00.027) 0:02:42.916 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 21:08:16 +0000 (0:00:00.023) 0:02:42.940 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 21:08:16 +0000 (0:00:00.023) 0:02:42.964 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 21:08:17 +0000 (0:00:00.033) 0:02:42.997 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 21:08:17 +0000 (0:00:00.028) 0:02:43.025 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 21:08:17 +0000 (0:00:00.024) 0:02:43.049 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 21:08:17 +0000 (0:00:00.024) 0:02:43.074 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 21:08:17 +0000 (0:00:00.024) 0:02:43.098 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 21:08:17 +0000 (0:00:00.028) 0:02:43.126 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 21:08:17 +0000 (0:00:00.024) 0:02:43.150 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 21:08:17 +0000 (0:00:00.024) 0:02:43.175 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 21:08:17 +0000 (0:00:00.398) 0:02:43.574 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 21:08:18 +0000 (0:00:00.410) 0:02:43.985 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 21:08:18 +0000 (0:00:00.039) 0:02:44.025 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 21:08:18 +0000 (0:00:00.038) 0:02:44.063 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 21:08:18 +0000 (0:00:00.025) 0:02:44.088 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 21:08:18 +0000 (0:00:00.024) 0:02:44.113 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 21:08:18 +0000 (0:00:00.024) 0:02:44.138 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 21:08:18 +0000 (0:00:00.026) 0:02:44.165 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 21:08:18 +0000 (0:00:00.024) 0:02:44.189 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 21:08:18 +0000 (0:00:00.034) 0:02:44.224 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 21:08:18 +0000 (0:00:00.034) 0:02:44.259 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 21:08:18 +0000 (0:00:00.041) 0:02:44.300 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.043402", "end": "2022-07-21 21:08:18.704236", "rc": 0, "start": "2022-07-21 21:08:18.660834" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 21:08:18 +0000 (0:00:00.448) 0:02:44.749 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 21:08:18 +0000 (0:00:00.039) 0:02:44.789 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 21:08:18 +0000 (0:00:00.040) 0:02:44.830 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 21:08:18 +0000 (0:00:00.028) 0:02:44.859 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 21:08:18 +0000 (0:00:00.028) 0:02:44.887 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 21:08:18 +0000 (0:00:00.025) 0:02:44.913 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 21:08:18 +0000 (0:00:00.031) 0:02:44.945 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 21:08:18 +0000 (0:00:00.032) 0:02:44.977 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 21:08:19 +0000 (0:00:00.020) 0:02:44.997 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:259 Thursday 21 July 2022 21:08:19 +0000 (0:00:00.032) 0:02:45.030 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 21:08:19 +0000 (0:00:00.057) 0:02:45.087 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 21:08:19 +0000 (0:00:00.067) 0:02:45.155 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 21:08:19 +0000 (0:00:00.557) 0:02:45.712 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 21:08:19 +0000 (0:00:00.061) 0:02:45.774 ********* ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 21:08:19 +0000 (0:00:00.035) 0:02:45.809 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 21:08:19 +0000 (0:00:00.042) 0:02:45.851 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 21:08:19 +0000 (0:00:00.057) 0:02:45.909 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 21:08:19 +0000 (0:00:00.023) 0:02:45.932 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 21:08:19 +0000 (0:00:00.029) 0:02:45.962 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 21:08:20 +0000 (0:00:00.046) 0:02:46.008 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 21:08:20 +0000 (0:00:00.040) 0:02:46.049 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 21:08:20 +0000 (0:00:00.032) 0:02:46.082 ********* skipping: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 21:08:20 +0000 (0:00:00.031) 0:02:46.113 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 21:08:20 +0000 (0:00:00.029) 0:02:46.142 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 21:08:20 +0000 (0:00:00.030) 0:02:46.172 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 21:08:20 +0000 (0:00:00.054) 0:02:46.226 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 21:08:20 +0000 (0:00:00.023) 0:02:46.250 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/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": "ext3", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "btrfs-progs", "dosfstools", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 21:08:23 +0000 (0:00:02.902) 0:02:49.152 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 21:08:23 +0000 (0:00:00.027) 0:02:49.180 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 21:08:23 +0000 (0:00:00.021) 0:02:49.201 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/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": "ext3", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "btrfs-progs", "dosfstools", "e2fsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 21:08:23 +0000 (0:00:00.099) 0:02:49.301 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 21:08:23 +0000 (0:00:00.040) 0:02:49.341 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 21:08:23 +0000 (0:00:00.078) 0:02:49.419 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'ext3'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext3", "mount_info": { "fstype": "ext3", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 21:08:23 +0000 (0:00:00.472) 0:02:49.892 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 21:08:24 +0000 (0:00:00.862) 0:02:50.755 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 21:08:24 +0000 (0:00:00.032) 0:02:50.787 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 21:08:25 +0000 (0:00:00.750) 0:02:51.537 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "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": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 21:08:25 +0000 (0:00:00.407) 0:02:51.945 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 21:08:25 +0000 (0:00:00.028) 0:02:51.973 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:272 Thursday 21 July 2022 21:08:26 +0000 (0:00:00.985) 0:02:52.959 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 21:08:27 +0000 (0:00:00.051) 0:02:53.010 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext3", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 21:08:27 +0000 (0:00:00.044) 0:02:53.055 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 21:08:27 +0000 (0:00:00.029) 0:02:53.084 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-21-05-21-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": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/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": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/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": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/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/tmppde4z2jm/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 21:08:27 +0000 (0:00:00.419) 0:02:53.504 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003856", "end": "2022-07-21 21:08:27.873834", "rc": 0, "start": "2022-07-21 21:08:27.869978" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 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=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /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/tmppde4z2jm/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 21:08:27 +0000 (0:00:00.419) 0:02:53.923 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:01.005221", "end": "2022-07-21 21:08:29.294605", "failed_when_result": false, "rc": 0, "start": "2022-07-21 21:08:28.289384" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 21:08:29 +0000 (0:00:01.425) 0:02:55.349 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'absent', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 21:08:29 +0000 (0:00:00.048) 0:02:55.398 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 21:08:29 +0000 (0:00:00.033) 0:02:55.432 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 21:08:29 +0000 (0:00:00.045) 0:02:55.477 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 21:08:29 +0000 (0:00:00.079) 0:02:55.557 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 21:08:29 +0000 (0:00:00.021) 0:02:55.578 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 21:08:29 +0000 (0:00:00.075) 0:02:55.654 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 21:08:29 +0000 (0:00:00.075) 0:02:55.730 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 21:08:29 +0000 (0:00:00.077) 0:02:55.807 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 21:08:29 +0000 (0:00:00.115) 0:02:55.922 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 21:08:29 +0000 (0:00:00.039) 0:02:55.961 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 21:08:30 +0000 (0:00:00.026) 0:02:55.988 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 21:08:30 +0000 (0:00:00.022) 0:02:56.011 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 21:08:30 +0000 (0:00:00.043) 0:02:56.054 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 21:08:30 +0000 (0:00:00.024) 0:02:56.078 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 21:08:30 +0000 (0:00:00.023) 0:02:56.102 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 21:08:30 +0000 (0:00:00.024) 0:02:56.126 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 21:08:30 +0000 (0:00:00.023) 0:02:56.150 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 21:08:30 +0000 (0:00:00.023) 0:02:56.173 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 21:08:30 +0000 (0:00:00.023) 0:02:56.197 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 21:08:30 +0000 (0:00:00.025) 0:02:56.222 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 21:08:30 +0000 (0:00:00.034) 0:02:56.256 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 21:08:30 +0000 (0:00:00.043) 0:02:56.300 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-36.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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 21:08:30 +0000 (0:00:00.042) 0:02:56.342 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 21:08:30 +0000 (0:00:00.026) 0:02:56.369 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 21:08:30 +0000 (0:00:00.026) 0:02:56.395 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 21:08:30 +0000 (0:00:00.026) 0:02:56.422 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 21:08:30 +0000 (0:00:00.042) 0:02:56.465 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml for /cache/fedora-36.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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 21:08:30 +0000 (0:00:00.043) 0:02:56.508 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 21:08:30 +0000 (0:00:00.022) 0:02:56.530 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 21:08:30 +0000 (0:00:00.022) 0:02:56.553 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 21:08:30 +0000 (0:00:00.022) 0:02:56.575 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 21:08:30 +0000 (0:00:00.023) 0:02:56.599 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 21:08:30 +0000 (0:00:00.045) 0:02:56.644 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 21:08:30 +0000 (0:00:00.039) 0:02:56.684 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 21:08:30 +0000 (0:00:00.021) 0:02:56.706 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 21:08:30 +0000 (0:00:00.021) 0:02:56.727 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 21:08:30 +0000 (0:00:00.038) 0:02:56.766 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 21:08:30 +0000 (0:00:00.050) 0:02:56.816 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-36.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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 21:08:30 +0000 (0:00:00.045) 0:02:56.861 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 21:08:30 +0000 (0:00:00.026) 0:02:56.887 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 21:08:30 +0000 (0:00:00.026) 0:02:56.914 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 21:08:30 +0000 (0:00:00.024) 0:02:56.938 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 21:08:30 +0000 (0:00:00.025) 0:02:56.964 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 21:08:31 +0000 (0:00:00.063) 0:02:57.027 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 21:08:31 +0000 (0:00:00.025) 0:02:57.053 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 21:08:31 +0000 (0:00:00.024) 0:02:57.077 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 21:08:31 +0000 (0:00:00.037) 0:02:57.114 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 21:08:31 +0000 (0:00:00.039) 0:02:57.154 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml for /cache/fedora-36.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': 'ext3', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 21:08:31 +0000 (0:00:00.042) 0:02:57.196 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 21:08:31 +0000 (0:00:00.040) 0:02:57.237 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 21:08:31 +0000 (0:00:00.078) 0:02:57.315 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 21:08:31 +0000 (0:00:00.044) 0:02:57.360 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 21:08:31 +0000 (0:00:00.043) 0:02:57.403 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 21:08:31 +0000 (0:00:00.022) 0:02:57.426 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 21:08:31 +0000 (0:00:00.037) 0:02:57.463 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 21:08:31 +0000 (0:00:00.025) 0:02:57.488 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 21:08:31 +0000 (0:00:00.021) 0:02:57.510 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 21:08:31 +0000 (0:00:00.024) 0:02:57.535 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 21:08:31 +0000 (0:00:00.021) 0:02:57.557 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 21:08:31 +0000 (0:00:00.035) 0:02:57.592 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 21:08:31 +0000 (0:00:00.048) 0:02:57.640 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 21:08:31 +0000 (0:00:00.022) 0:02:57.662 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 21:08:31 +0000 (0:00:00.041) 0:02:57.704 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 21:08:31 +0000 (0:00:00.031) 0:02:57.735 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 21:08:31 +0000 (0:00:00.034) 0:02:57.770 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 21:08:31 +0000 (0:00:00.023) 0:02:57.794 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 21:08:31 +0000 (0:00:00.023) 0:02:57.817 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 21:08:32 +0000 (0:00:00.426) 0:02:58.244 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 21:08:32 +0000 (0:00:00.038) 0:02:58.282 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 21:08:32 +0000 (0:00:00.025) 0:02:58.308 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 21:08:32 +0000 (0:00:00.039) 0:02:58.348 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 21:08:32 +0000 (0:00:00.023) 0:02:58.371 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 21:08:32 +0000 (0:00:00.022) 0:02:58.394 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 21:08:32 +0000 (0:00:00.023) 0:02:58.417 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 21:08:34 +0000 (0:00:02.039) 0:03:00.456 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 21:08:34 +0000 (0:00:00.024) 0:03:00.481 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 21:08:34 +0000 (0:00:00.022) 0:03:00.503 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 21:08:34 +0000 (0:00:00.021) 0:03:00.525 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 21:08:34 +0000 (0:00:00.021) 0:03:00.547 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 21:08:34 +0000 (0:00:00.022) 0:03:00.570 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 21:08:34 +0000 (0:00:00.056) 0:03:00.627 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 21:08:34 +0000 (0:00:00.023) 0:03:00.651 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 21:08:34 +0000 (0:00:00.022) 0:03:00.673 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 21:08:34 +0000 (0:00:00.039) 0:03:00.713 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 21:08:34 +0000 (0:00:00.038) 0:03:00.751 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 21:08:34 +0000 (0:00:00.024) 0:03:00.775 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 21:08:34 +0000 (0:00:00.024) 0:03:00.800 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 21:08:34 +0000 (0:00:00.023) 0:03:00.823 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 21:08:34 +0000 (0:00:00.034) 0:03:00.858 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 21:08:34 +0000 (0:00:00.024) 0:03:00.882 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 21:08:34 +0000 (0:00:00.024) 0:03:00.906 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 21:08:34 +0000 (0:00:00.024) 0:03:00.930 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 21:08:34 +0000 (0:00:00.027) 0:03:00.958 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 21:08:35 +0000 (0:00:00.024) 0:03:00.982 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 21:08:35 +0000 (0:00:00.024) 0:03:01.006 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 21:08:35 +0000 (0:00:00.024) 0:03:01.031 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 21:08:35 +0000 (0:00:00.023) 0:03:01.055 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 21:08:35 +0000 (0:00:00.026) 0:03:01.081 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 21:08:35 +0000 (0:00:00.027) 0:03:01.108 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 21:08:35 +0000 (0:00:00.036) 0:03:01.145 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 21:08:35 +0000 (0:00:00.028) 0:03:01.174 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 21:08:35 +0000 (0:00:00.024) 0:03:01.199 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 21:08:35 +0000 (0:00:00.024) 0:03:01.223 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 21:08:35 +0000 (0:00:00.024) 0:03:01.248 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 21:08:35 +0000 (0:00:00.028) 0:03:01.276 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 21:08:35 +0000 (0:00:00.036) 0:03:01.312 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 21:08:35 +0000 (0:00:00.038) 0:03:01.351 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 21:08:35 +0000 (0:00:00.025) 0:03:01.376 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 21:08:35 +0000 (0:00:00.025) 0:03:01.402 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 21:08:35 +0000 (0:00:00.024) 0:03:01.426 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 21:08:35 +0000 (0:00:00.030) 0:03:01.457 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 21:08:35 +0000 (0:00:00.031) 0:03:01.489 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 21:08:35 +0000 (0:00:00.028) 0:03:01.517 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 21:08:35 +0000 (0:00:00.026) 0:03:01.544 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 21:08:35 +0000 (0:00:00.025) 0:03:01.569 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 21:08:35 +0000 (0:00:00.038) 0:03:01.607 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 21:08:35 +0000 (0:00:00.024) 0:03:01.632 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Create a LVM logical volume with "5g" for ext2 FS] *********************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:276 Thursday 21 July 2022 21:08:35 +0000 (0:00:00.038) 0:03:01.670 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 21:08:35 +0000 (0:00:00.070) 0:03:01.741 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 21:08:35 +0000 (0:00:00.040) 0:03:01.781 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 21:08:36 +0000 (0:00:00.555) 0:03:02.337 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 21:08:36 +0000 (0:00:00.107) 0:03:02.444 ********* ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 21:08:36 +0000 (0:00:00.035) 0:03:02.479 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 21:08:36 +0000 (0:00:00.034) 0:03:02.514 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 21:08:36 +0000 (0:00:00.055) 0:03:02.569 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 21:08:36 +0000 (0:00:00.019) 0:03:02.589 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 21:08:36 +0000 (0:00:00.027) 0:03:02.617 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext2", "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 21:08:36 +0000 (0:00:00.036) 0:03:02.653 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 21:08:36 +0000 (0:00:00.038) 0:03:02.691 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 21:08:36 +0000 (0:00:00.028) 0:03:02.720 ********* skipping: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 21:08:36 +0000 (0:00:00.028) 0:03:02.748 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 21:08:36 +0000 (0:00:00.026) 0:03:02.775 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 21:08:36 +0000 (0:00:00.026) 0:03:02.801 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 21:08:36 +0000 (0:00:00.046) 0:03:02.847 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 21:08:36 +0000 (0:00:00.022) 0:03:02.869 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "dosfstools", "lvm2", "e2fsprogs", "btrfs-progs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 21:08:39 +0000 (0:00:02.479) 0:03:05.349 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 21:08:39 +0000 (0:00:00.025) 0:03:05.375 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 21:08:39 +0000 (0:00:00.021) 0:03:05.396 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "dosfstools", "lvm2", "e2fsprogs", "btrfs-progs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 21:08:39 +0000 (0:00:00.039) 0:03:05.436 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 21:08:39 +0000 (0:00:00.035) 0:03:05.472 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 21:08:39 +0000 (0:00:00.035) 0:03:05.508 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 21:08:39 +0000 (0:00:00.026) 0:03:05.534 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 21:08:40 +0000 (0:00:00.753) 0:03:06.288 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext2', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext2", "mount_info": { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 21:08:40 +0000 (0:00:00.430) 0:03:06.718 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 21:08:41 +0000 (0:00:00.724) 0:03:07.443 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "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": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 21:08:41 +0000 (0:00:00.485) 0:03:07.928 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 21:08:41 +0000 (0:00:00.023) 0:03:07.952 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:290 Thursday 21 July 2022 21:08:43 +0000 (0:00:01.076) 0:03:09.028 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 21:08:43 +0000 (0:00:00.053) 0:03:09.082 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 21:08:43 +0000 (0:00:00.043) 0:03:09.125 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 21:08:43 +0000 (0:00:00.026) 0:03:09.151 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext2", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "c2dd9fd0-bea2-493d-83a4-ae233ab6c6e0" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "nnxf6j-5kPd-QpvM-K75Q-NumV-uI83-SCUauQ" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-21-05-21-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": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/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": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/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": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/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/tmppde4z2jm/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 21:08:43 +0000 (0:00:00.417) 0:03:09.568 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003479", "end": "2022-07-21 21:08:43.945929", "rc": 0, "start": "2022-07-21 21:08:43.942450" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 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=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /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/foo-test1 /opt/test1 ext2 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 21:08:44 +0000 (0:00:00.426) 0:03:09.995 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003126", "end": "2022-07-21 21:08:44.345058", "failed_when_result": false, "rc": 0, "start": "2022-07-21 21:08:44.341932" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 21:08:44 +0000 (0:00:00.396) 0:03:10.391 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 21:08:44 +0000 (0:00:00.049) 0:03:10.441 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 21:08:44 +0000 (0:00:00.037) 0:03:10.479 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 21:08:44 +0000 (0:00:00.047) 0:03:10.526 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 21:08:44 +0000 (0:00:00.044) 0:03:10.571 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 21:08:44 +0000 (0:00:00.403) 0:03:10.975 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 21:08:45 +0000 (0:00:00.038) 0:03:11.014 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 21:08:45 +0000 (0:00:00.041) 0:03:11.055 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 21:08:45 +0000 (0:00:00.042) 0:03:11.097 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 21:08:45 +0000 (0:00:00.036) 0:03:11.133 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 21:08:45 +0000 (0:00:00.073) 0:03:11.207 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 21:08:45 +0000 (0:00:00.026) 0:03:11.234 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 21:08:45 +0000 (0:00:00.042) 0:03:11.277 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 21:08:45 +0000 (0:00:00.041) 0:03:11.318 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 21:08:45 +0000 (0:00:00.023) 0:03:11.342 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 21:08:45 +0000 (0:00:00.023) 0:03:11.365 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 21:08:45 +0000 (0:00:00.022) 0:03:11.387 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 21:08:45 +0000 (0:00:00.023) 0:03:11.410 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 21:08:45 +0000 (0:00:00.057) 0:03:11.468 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 21:08:45 +0000 (0:00:00.024) 0:03:11.493 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 21:08:45 +0000 (0:00:00.023) 0:03:11.516 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 21:08:45 +0000 (0:00:00.034) 0:03:11.550 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 21:08:45 +0000 (0:00:00.043) 0:03:11.594 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-36.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': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 21:08:45 +0000 (0:00:00.044) 0:03:11.638 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 21:08:45 +0000 (0:00:00.032) 0:03:11.671 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 21:08:45 +0000 (0:00:00.028) 0:03:11.700 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 21:08:45 +0000 (0:00:00.028) 0:03:11.729 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 21:08:45 +0000 (0:00:00.045) 0:03:11.774 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml for /cache/fedora-36.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': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 21:08:45 +0000 (0:00:00.043) 0:03:11.817 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 21:08:45 +0000 (0:00:00.024) 0:03:11.842 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 21:08:45 +0000 (0:00:00.023) 0:03:11.865 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 21:08:45 +0000 (0:00:00.022) 0:03:11.887 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 21:08:45 +0000 (0:00:00.022) 0:03:11.910 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 21:08:45 +0000 (0:00:00.045) 0:03:11.955 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 21:08:46 +0000 (0:00:00.049) 0:03:12.005 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 21:08:46 +0000 (0:00:00.032) 0:03:12.037 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 21:08:46 +0000 (0:00:00.049) 0:03:12.087 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 21:08:46 +0000 (0:00:00.045) 0:03:12.132 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 21:08:46 +0000 (0:00:00.042) 0:03:12.175 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 21:08:46 +0000 (0:00:00.032) 0:03:12.207 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 21:08:46 +0000 (0:00:00.028) 0:03:12.236 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 21:08:46 +0000 (0:00:00.028) 0:03:12.265 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 21:08:46 +0000 (0:00:00.036) 0:03:12.301 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 21:08:46 +0000 (0:00:00.040) 0:03:12.341 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 21:08:46 +0000 (0:00:00.049) 0:03:12.391 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-36.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': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 21:08:46 +0000 (0:00:00.046) 0:03:12.438 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 21:08:46 +0000 (0:00:00.023) 0:03:12.462 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 21:08:46 +0000 (0:00:00.023) 0:03:12.485 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 21:08:46 +0000 (0:00:00.024) 0:03:12.510 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 21:08:46 +0000 (0:00:00.023) 0:03:12.534 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 21:08:46 +0000 (0:00:00.025) 0:03:12.559 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 21:08:46 +0000 (0:00:00.023) 0:03:12.583 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 21:08:46 +0000 (0:00:00.024) 0:03:12.608 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 21:08:46 +0000 (0:00:00.087) 0:03:12.695 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 21:08:46 +0000 (0:00:00.037) 0:03:12.733 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml for /cache/fedora-36.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': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 21:08:46 +0000 (0:00:00.044) 0:03:12.778 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 21:08:46 +0000 (0:00:00.038) 0:03:12.816 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 21:08:46 +0000 (0:00:00.080) 0:03:12.897 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 21:08:46 +0000 (0:00:00.042) 0:03:12.940 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1222050, "block_size": 4096, "block_total": 1287592, "block_used": 65542, "device": "/dev/mapper/foo-test1", "fstype": "ext2", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 5005516800, "size_total": 5273976832, "uuid": "c2dd9fd0-bea2-493d-83a4-ae233ab6c6e0" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1222050, "block_size": 4096, "block_total": 1287592, "block_used": 65542, "device": "/dev/mapper/foo-test1", "fstype": "ext2", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 5005516800, "size_total": 5273976832, "uuid": "c2dd9fd0-bea2-493d-83a4-ae233ab6c6e0" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 21:08:47 +0000 (0:00:00.048) 0:03:12.988 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 21:08:47 +0000 (0:00:00.040) 0:03:13.028 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 21:08:47 +0000 (0:00:00.037) 0:03:13.066 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 21:08:47 +0000 (0:00:00.043) 0:03:13.109 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 21:08:47 +0000 (0:00:00.024) 0:03:13.134 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 21:08:47 +0000 (0:00:00.024) 0:03:13.158 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 21:08:47 +0000 (0:00:00.021) 0:03:13.180 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 21:08:47 +0000 (0:00:00.033) 0:03:13.214 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext2 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 21:08:47 +0000 (0:00:00.058) 0:03:13.272 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 21:08:47 +0000 (0:00:00.040) 0:03:13.312 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 21:08:47 +0000 (0:00:00.040) 0:03:13.353 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 21:08:47 +0000 (0:00:00.026) 0:03:13.380 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 21:08:47 +0000 (0:00:00.039) 0:03:13.419 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 21:08:47 +0000 (0:00:00.037) 0:03:13.457 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 21:08:47 +0000 (0:00:00.041) 0:03:13.499 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658437720.6779587, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658437719.2399588, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1942, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658437719.2399588, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 21:08:47 +0000 (0:00:00.406) 0:03:13.905 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 21:08:47 +0000 (0:00:00.037) 0:03:13.943 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 21:08:48 +0000 (0:00:00.037) 0:03:13.981 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 21:08:48 +0000 (0:00:00.035) 0:03:14.016 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 21:08:48 +0000 (0:00:00.023) 0:03:14.039 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 21:08:48 +0000 (0:00:00.044) 0:03:14.084 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 21:08:48 +0000 (0:00:00.032) 0:03:14.117 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 21:08:50 +0000 (0:00:01.993) 0:03:16.110 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 21:08:50 +0000 (0:00:00.025) 0:03:16.136 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 21:08:50 +0000 (0:00:00.023) 0:03:16.159 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 21:08:50 +0000 (0:00:00.131) 0:03:16.291 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 21:08:50 +0000 (0:00:00.025) 0:03:16.316 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 21:08:50 +0000 (0:00:00.024) 0:03:16.340 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 21:08:50 +0000 (0:00:00.024) 0:03:16.365 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 21:08:50 +0000 (0:00:00.024) 0:03:16.389 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 21:08:50 +0000 (0:00:00.022) 0:03:16.412 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 21:08:50 +0000 (0:00:00.038) 0:03:16.451 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 21:08:50 +0000 (0:00:00.037) 0:03:16.488 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 21:08:50 +0000 (0:00:00.025) 0:03:16.513 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 21:08:50 +0000 (0:00:00.028) 0:03:16.542 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 21:08:50 +0000 (0:00:00.027) 0:03:16.569 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 21:08:50 +0000 (0:00:00.035) 0:03:16.605 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 21:08:50 +0000 (0:00:00.031) 0:03:16.636 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 21:08:50 +0000 (0:00:00.026) 0:03:16.663 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 21:08:50 +0000 (0:00:00.028) 0:03:16.691 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 21:08:50 +0000 (0:00:00.025) 0:03:16.716 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 21:08:50 +0000 (0:00:00.030) 0:03:16.746 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 21:08:50 +0000 (0:00:00.027) 0:03:16.774 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 21:08:50 +0000 (0:00:00.026) 0:03:16.800 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 21:08:51 +0000 (0:00:00.525) 0:03:17.326 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 21:08:51 +0000 (0:00:00.424) 0:03:17.750 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 21:08:51 +0000 (0:00:00.043) 0:03:17.793 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 21:08:51 +0000 (0:00:00.037) 0:03:17.831 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 21:08:51 +0000 (0:00:00.027) 0:03:17.858 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 21:08:51 +0000 (0:00:00.027) 0:03:17.885 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 21:08:51 +0000 (0:00:00.027) 0:03:17.913 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 21:08:51 +0000 (0:00:00.025) 0:03:17.939 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 21:08:51 +0000 (0:00:00.027) 0:03:17.966 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 21:08:52 +0000 (0:00:00.038) 0:03:18.005 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 21:08:52 +0000 (0:00:00.040) 0:03:18.046 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 21:08:52 +0000 (0:00:00.041) 0:03:18.087 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.040386", "end": "2022-07-21 21:08:52.493712", "rc": 0, "start": "2022-07-21 21:08:52.453326" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 21:08:52 +0000 (0:00:00.455) 0:03:18.543 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 21:08:52 +0000 (0:00:00.042) 0:03:18.585 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 21:08:52 +0000 (0:00:00.041) 0:03:18.626 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 21:08:52 +0000 (0:00:00.028) 0:03:18.654 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 21:08:52 +0000 (0:00:00.027) 0:03:18.682 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 21:08:52 +0000 (0:00:00.073) 0:03:18.755 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 21:08:52 +0000 (0:00:00.029) 0:03:18.785 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 21:08:52 +0000 (0:00:00.037) 0:03:18.822 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 21:08:52 +0000 (0:00:00.022) 0:03:18.845 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change volume size to "9g"] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:292 Thursday 21 July 2022 21:08:52 +0000 (0:00:00.048) 0:03:18.894 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 21:08:52 +0000 (0:00:00.077) 0:03:18.971 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 21:08:53 +0000 (0:00:00.036) 0:03:19.007 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 21:08:53 +0000 (0:00:00.572) 0:03:19.580 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 21:08:53 +0000 (0:00:00.067) 0:03:19.648 ********* ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 21:08:53 +0000 (0:00:00.036) 0:03:19.685 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 21:08:53 +0000 (0:00:00.038) 0:03:19.723 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 21:08:53 +0000 (0:00:00.057) 0:03:19.780 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 21:08:53 +0000 (0:00:00.020) 0:03:19.801 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 21:08:53 +0000 (0:00:00.028) 0:03:19.830 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext2", "mount_point": "/opt/test1", "name": "test1", "size": "9g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 21:08:53 +0000 (0:00:00.041) 0:03:19.872 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 21:08:53 +0000 (0:00:00.037) 0:03:19.910 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 21:08:53 +0000 (0:00:00.027) 0:03:19.937 ********* skipping: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 21:08:53 +0000 (0:00:00.028) 0:03:19.966 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 21:08:54 +0000 (0:00:00.028) 0:03:19.995 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 21:08:54 +0000 (0:00:00.027) 0:03:20.022 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 21:08:54 +0000 (0:00:00.049) 0:03:20.072 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 21:08:54 +0000 (0:00:00.023) 0:03:20.096 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "dosfstools", "e2fsprogs", "btrfs-progs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 21:08:57 +0000 (0:00:02.990) 0:03:23.086 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 21:08:57 +0000 (0:00:00.028) 0:03:23.114 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 21:08:57 +0000 (0:00:00.021) 0:03:23.136 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "dosfstools", "e2fsprogs", "btrfs-progs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 21:08:57 +0000 (0:00:00.084) 0:03:23.220 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 21:08:57 +0000 (0:00:00.132) 0:03:23.352 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 21:08:57 +0000 (0:00:00.041) 0:03:23.393 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 21:08:57 +0000 (0:00:00.030) 0:03:23.424 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 21:08:58 +0000 (0:00:00.779) 0:03:24.203 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext2', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext2", "mount_info": { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 21:08:58 +0000 (0:00:00.443) 0:03:24.647 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 21:08:59 +0000 (0:00:00.783) 0:03:25.430 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "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": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 21:08:59 +0000 (0:00:00.421) 0:03:25.851 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 21:08:59 +0000 (0:00:00.024) 0:03:25.875 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:306 Thursday 21 July 2022 21:09:00 +0000 (0:00:00.974) 0:03:26.849 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 21:09:00 +0000 (0:00:00.067) 0:03:26.917 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "9g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 21:09:00 +0000 (0:00:00.049) 0:03:26.966 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 21:09:01 +0000 (0:00:00.028) 0:03:26.994 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext2", "label": "", "name": "/dev/mapper/foo-test1", "size": "9G", "type": "lvm", "uuid": "c2dd9fd0-bea2-493d-83a4-ae233ab6c6e0" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "nnxf6j-5kPd-QpvM-K75Q-NumV-uI83-SCUauQ" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-21-05-21-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": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/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": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/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": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/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/tmppde4z2jm/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 21:09:01 +0000 (0:00:00.420) 0:03:27.415 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003144", "end": "2022-07-21 21:09:01.774843", "rc": 0, "start": "2022-07-21 21:09:01.771699" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 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=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /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/foo-test1 /opt/test1 ext2 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 21:09:01 +0000 (0:00:00.408) 0:03:27.823 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:01.004682", "end": "2022-07-21 21:09:03.249903", "failed_when_result": false, "rc": 0, "start": "2022-07-21 21:09:02.245221" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 21:09:03 +0000 (0:00:01.481) 0:03:29.305 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 21:09:03 +0000 (0:00:00.052) 0:03:29.358 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 21:09:03 +0000 (0:00:00.103) 0:03:29.461 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 21:09:03 +0000 (0:00:00.047) 0:03:29.509 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 21:09:03 +0000 (0:00:00.044) 0:03:29.553 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 21:09:03 +0000 (0:00:00.407) 0:03:29.960 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 21:09:04 +0000 (0:00:00.039) 0:03:30.000 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 21:09:04 +0000 (0:00:00.039) 0:03:30.040 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 21:09:04 +0000 (0:00:00.038) 0:03:30.078 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 21:09:04 +0000 (0:00:00.038) 0:03:30.117 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 21:09:04 +0000 (0:00:00.039) 0:03:30.156 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 21:09:04 +0000 (0:00:00.023) 0:03:30.180 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 21:09:04 +0000 (0:00:00.039) 0:03:30.219 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 21:09:04 +0000 (0:00:00.041) 0:03:30.261 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 21:09:04 +0000 (0:00:00.025) 0:03:30.286 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 21:09:04 +0000 (0:00:00.023) 0:03:30.309 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 21:09:04 +0000 (0:00:00.022) 0:03:30.331 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 21:09:04 +0000 (0:00:00.023) 0:03:30.355 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 21:09:04 +0000 (0:00:00.022) 0:03:30.377 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 21:09:04 +0000 (0:00:00.021) 0:03:30.399 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 21:09:04 +0000 (0:00:00.026) 0:03:30.425 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 21:09:04 +0000 (0:00:00.037) 0:03:30.463 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 21:09:04 +0000 (0:00:00.042) 0:03:30.505 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-36.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': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 21:09:04 +0000 (0:00:00.040) 0:03:30.545 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 21:09:04 +0000 (0:00:00.025) 0:03:30.571 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 21:09:04 +0000 (0:00:00.025) 0:03:30.596 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 21:09:04 +0000 (0:00:00.025) 0:03:30.621 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 21:09:04 +0000 (0:00:00.043) 0:03:30.665 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml for /cache/fedora-36.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': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 21:09:04 +0000 (0:00:00.042) 0:03:30.708 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 21:09:04 +0000 (0:00:00.022) 0:03:30.730 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 21:09:04 +0000 (0:00:00.024) 0:03:30.754 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 21:09:04 +0000 (0:00:00.024) 0:03:30.779 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 21:09:04 +0000 (0:00:00.027) 0:03:30.806 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 21:09:04 +0000 (0:00:00.080) 0:03:30.887 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 21:09:04 +0000 (0:00:00.039) 0:03:30.926 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 21:09:04 +0000 (0:00:00.026) 0:03:30.953 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 21:09:05 +0000 (0:00:00.044) 0:03:30.997 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 21:09:05 +0000 (0:00:00.040) 0:03:31.038 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 21:09:05 +0000 (0:00:00.042) 0:03:31.080 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 21:09:05 +0000 (0:00:00.026) 0:03:31.107 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 21:09:05 +0000 (0:00:00.024) 0:03:31.131 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 21:09:05 +0000 (0:00:00.025) 0:03:31.157 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 21:09:05 +0000 (0:00:00.038) 0:03:31.196 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 21:09:05 +0000 (0:00:00.034) 0:03:31.231 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 21:09:05 +0000 (0:00:00.048) 0:03:31.279 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-36.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': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 21:09:05 +0000 (0:00:00.045) 0:03:31.325 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 21:09:05 +0000 (0:00:00.023) 0:03:31.349 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 21:09:05 +0000 (0:00:00.023) 0:03:31.373 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 21:09:05 +0000 (0:00:00.024) 0:03:31.397 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 21:09:05 +0000 (0:00:00.023) 0:03:31.421 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 21:09:05 +0000 (0:00:00.023) 0:03:31.444 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 21:09:05 +0000 (0:00:00.023) 0:03:31.468 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 21:09:05 +0000 (0:00:00.025) 0:03:31.493 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 21:09:05 +0000 (0:00:00.034) 0:03:31.527 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 21:09:05 +0000 (0:00:00.039) 0:03:31.567 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml for /cache/fedora-36.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': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '9g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 21:09:05 +0000 (0:00:00.047) 0:03:31.615 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 21:09:05 +0000 (0:00:00.039) 0:03:31.654 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 21:09:05 +0000 (0:00:00.078) 0:03:31.733 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 21:09:05 +0000 (0:00:00.042) 0:03:31.776 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2201429, "block_size": 4096, "block_total": 2319399, "block_used": 117970, "device": "/dev/mapper/foo-test1", "fstype": "ext2", "inode_available": 589813, "inode_total": 589824, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 9017053184, "size_total": 9500258304, "uuid": "c2dd9fd0-bea2-493d-83a4-ae233ab6c6e0" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2201429, "block_size": 4096, "block_total": 2319399, "block_used": 117970, "device": "/dev/mapper/foo-test1", "fstype": "ext2", "inode_available": 589813, "inode_total": 589824, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 9017053184, "size_total": 9500258304, "uuid": "c2dd9fd0-bea2-493d-83a4-ae233ab6c6e0" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 21:09:05 +0000 (0:00:00.049) 0:03:31.825 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 21:09:05 +0000 (0:00:00.039) 0:03:31.865 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 21:09:05 +0000 (0:00:00.038) 0:03:31.903 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 21:09:05 +0000 (0:00:00.040) 0:03:31.944 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 21:09:05 +0000 (0:00:00.025) 0:03:31.969 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 21:09:06 +0000 (0:00:00.023) 0:03:31.993 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 21:09:06 +0000 (0:00:00.023) 0:03:32.016 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 21:09:06 +0000 (0:00:00.090) 0:03:32.107 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext2 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 21:09:06 +0000 (0:00:00.117) 0:03:32.225 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 21:09:06 +0000 (0:00:00.041) 0:03:32.266 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 21:09:06 +0000 (0:00:00.042) 0:03:32.309 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 21:09:06 +0000 (0:00:00.028) 0:03:32.337 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 21:09:06 +0000 (0:00:00.035) 0:03:32.372 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 21:09:06 +0000 (0:00:00.039) 0:03:32.412 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 21:09:06 +0000 (0:00:00.041) 0:03:32.454 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658437738.5939586, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658437736.9689586, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1942, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658437736.9689586, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 21:09:06 +0000 (0:00:00.414) 0:03:32.868 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 21:09:06 +0000 (0:00:00.040) 0:03:32.909 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 21:09:06 +0000 (0:00:00.040) 0:03:32.949 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 21:09:07 +0000 (0:00:00.040) 0:03:32.989 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 21:09:07 +0000 (0:00:00.025) 0:03:33.015 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 21:09:07 +0000 (0:00:00.041) 0:03:33.057 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 21:09:07 +0000 (0:00:00.026) 0:03:33.083 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 21:09:09 +0000 (0:00:01.979) 0:03:35.062 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 21:09:09 +0000 (0:00:00.025) 0:03:35.088 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 21:09:09 +0000 (0:00:00.023) 0:03:35.112 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 21:09:09 +0000 (0:00:00.041) 0:03:35.153 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 21:09:09 +0000 (0:00:00.022) 0:03:35.176 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 21:09:09 +0000 (0:00:00.023) 0:03:35.199 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 21:09:09 +0000 (0:00:00.022) 0:03:35.221 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 21:09:09 +0000 (0:00:00.023) 0:03:35.245 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 21:09:09 +0000 (0:00:00.022) 0:03:35.267 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 21:09:09 +0000 (0:00:00.039) 0:03:35.306 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 21:09:09 +0000 (0:00:00.037) 0:03:35.343 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 21:09:09 +0000 (0:00:00.024) 0:03:35.368 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 21:09:09 +0000 (0:00:00.023) 0:03:35.391 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 21:09:09 +0000 (0:00:00.023) 0:03:35.414 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 21:09:09 +0000 (0:00:00.033) 0:03:35.448 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 21:09:09 +0000 (0:00:00.025) 0:03:35.474 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 21:09:09 +0000 (0:00:00.024) 0:03:35.498 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 21:09:09 +0000 (0:00:00.024) 0:03:35.522 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 21:09:09 +0000 (0:00:00.023) 0:03:35.546 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 21:09:09 +0000 (0:00:00.025) 0:03:35.571 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 21:09:09 +0000 (0:00:00.024) 0:03:35.596 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 21:09:09 +0000 (0:00:00.024) 0:03:35.620 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 21:09:10 +0000 (0:00:00.443) 0:03:36.064 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 21:09:10 +0000 (0:00:00.453) 0:03:36.518 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "9663676416" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 21:09:10 +0000 (0:00:00.087) 0:03:36.605 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "9663676416" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 21:09:10 +0000 (0:00:00.078) 0:03:36.684 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 21:09:10 +0000 (0:00:00.025) 0:03:36.710 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 21:09:10 +0000 (0:00:00.063) 0:03:36.774 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 21:09:10 +0000 (0:00:00.026) 0:03:36.800 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 21:09:10 +0000 (0:00:00.025) 0:03:36.825 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 21:09:10 +0000 (0:00:00.027) 0:03:36.853 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 9663676416, "changed": false, "failed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 21:09:10 +0000 (0:00:00.041) 0:03:36.895 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "9663676416" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 21:09:10 +0000 (0:00:00.035) 0:03:36.931 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 21:09:10 +0000 (0:00:00.041) 0:03:36.972 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.046833", "end": "2022-07-21 21:09:11.400188", "rc": 0, "start": "2022-07-21 21:09:11.353355" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 21:09:11 +0000 (0:00:00.476) 0:03:37.448 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 21:09:11 +0000 (0:00:00.041) 0:03:37.490 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 21:09:11 +0000 (0:00:00.042) 0:03:37.532 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 21:09:11 +0000 (0:00:00.028) 0:03:37.561 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 21:09:11 +0000 (0:00:00.026) 0:03:37.587 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 21:09:11 +0000 (0:00:00.026) 0:03:37.614 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 21:09:11 +0000 (0:00:00.027) 0:03:37.641 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 21:09:11 +0000 (0:00:00.040) 0:03:37.682 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 21:09:11 +0000 (0:00:00.023) 0:03:37.705 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change volume size to "5g"] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:308 Thursday 21 July 2022 21:09:11 +0000 (0:00:00.037) 0:03:37.743 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 21:09:11 +0000 (0:00:00.074) 0:03:37.817 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 21:09:11 +0000 (0:00:00.037) 0:03:37.855 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 21:09:12 +0000 (0:00:00.557) 0:03:38.412 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 21:09:12 +0000 (0:00:00.064) 0:03:38.476 ********* ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 21:09:12 +0000 (0:00:00.037) 0:03:38.514 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 21:09:12 +0000 (0:00:00.038) 0:03:38.552 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 21:09:12 +0000 (0:00:00.058) 0:03:38.610 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 21:09:12 +0000 (0:00:00.021) 0:03:38.632 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 21:09:12 +0000 (0:00:00.075) 0:03:38.707 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext2", "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 21:09:12 +0000 (0:00:00.040) 0:03:38.748 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 21:09:12 +0000 (0:00:00.039) 0:03:38.787 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 21:09:12 +0000 (0:00:00.029) 0:03:38.817 ********* skipping: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 21:09:12 +0000 (0:00:00.031) 0:03:38.848 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 21:09:12 +0000 (0:00:00.029) 0:03:38.877 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 21:09:12 +0000 (0:00:00.029) 0:03:38.906 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 21:09:12 +0000 (0:00:00.049) 0:03:38.956 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 21:09:13 +0000 (0:00:00.023) 0:03:38.980 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" }, { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "btrfs-progs", "e2fsprogs", "dosfstools", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 21:09:16 +0000 (0:00:03.121) 0:03:42.102 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 21:09:16 +0000 (0:00:00.032) 0:03:42.134 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 21:09:16 +0000 (0:00:00.026) 0:03:42.160 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "resize format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" }, { "action": "resize device", "device": "/dev/mapper/foo-test1", "fs_type": null } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb1", "/dev/vdc1", "/dev/vdd", "/dev/vde", "/dev/vdf", "/dev/zram0" ], "mounts": [ { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "btrfs-progs", "e2fsprogs", "dosfstools", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 21:09:16 +0000 (0:00:00.041) 0:03:42.202 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 21:09:16 +0000 (0:00:00.042) 0:03:42.244 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 21:09:16 +0000 (0:00:00.040) 0:03:42.285 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 21:09:16 +0000 (0:00:00.037) 0:03:42.322 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 21:09:17 +0000 (0:00:00.773) 0:03:43.095 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'ext2', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext2", "mount_info": { "dump": 0, "fstype": "ext2", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 21:09:17 +0000 (0:00:00.451) 0:03:43.547 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 21:09:18 +0000 (0:00:00.761) 0:03:44.309 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "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": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 21:09:18 +0000 (0:00:00.423) 0:03:44.732 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 21:09:18 +0000 (0:00:00.025) 0:03:44.757 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:322 Thursday 21 July 2022 21:09:19 +0000 (0:00:00.980) 0:03:45.738 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 21:09:19 +0000 (0:00:00.058) 0:03:45.797 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 21:09:19 +0000 (0:00:00.102) 0:03:45.900 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 21:09:19 +0000 (0:00:00.074) 0:03:45.974 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext2", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "c2dd9fd0-bea2-493d-83a4-ae233ab6c6e0" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "nnxf6j-5kPd-QpvM-K75Q-NumV-uI83-SCUauQ" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-21-05-21-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": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/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": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/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": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/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/tmppde4z2jm/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 21:09:20 +0000 (0:00:00.447) 0:03:46.422 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003467", "end": "2022-07-21 21:09:20.788310", "rc": 0, "start": "2022-07-21 21:09:20.784843" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 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=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /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/foo-test1 /opt/test1 ext2 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 21:09:20 +0000 (0:00:00.415) 0:03:46.837 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003132", "end": "2022-07-21 21:09:21.208687", "failed_when_result": false, "rc": 0, "start": "2022-07-21 21:09:21.205555" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 21:09:21 +0000 (0:00:00.420) 0:03:47.258 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 21:09:21 +0000 (0:00:00.052) 0:03:47.310 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 21:09:21 +0000 (0:00:00.035) 0:03:47.346 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 21:09:21 +0000 (0:00:00.048) 0:03:47.394 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 21:09:21 +0000 (0:00:00.044) 0:03:47.439 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 21:09:21 +0000 (0:00:00.417) 0:03:47.856 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 21:09:21 +0000 (0:00:00.041) 0:03:47.898 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 21:09:21 +0000 (0:00:00.042) 0:03:47.941 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 21:09:22 +0000 (0:00:00.043) 0:03:47.984 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 21:09:22 +0000 (0:00:00.042) 0:03:48.026 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 21:09:22 +0000 (0:00:00.039) 0:03:48.066 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 21:09:22 +0000 (0:00:00.025) 0:03:48.091 ********* ok: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 21:09:22 +0000 (0:00:00.045) 0:03:48.137 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 21:09:22 +0000 (0:00:00.043) 0:03:48.181 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 21:09:22 +0000 (0:00:00.023) 0:03:48.204 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 21:09:22 +0000 (0:00:00.024) 0:03:48.229 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 21:09:22 +0000 (0:00:00.025) 0:03:48.254 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 21:09:22 +0000 (0:00:00.024) 0:03:48.279 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 21:09:22 +0000 (0:00:00.023) 0:03:48.303 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 21:09:22 +0000 (0:00:00.024) 0:03:48.327 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 21:09:22 +0000 (0:00:00.025) 0:03:48.353 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 21:09:22 +0000 (0:00:00.042) 0:03:48.396 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 21:09:22 +0000 (0:00:00.050) 0:03:48.446 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-36.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': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 21:09:22 +0000 (0:00:00.095) 0:03:48.542 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 21:09:22 +0000 (0:00:00.030) 0:03:48.572 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 21:09:22 +0000 (0:00:00.028) 0:03:48.601 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 21:09:22 +0000 (0:00:00.029) 0:03:48.630 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 21:09:22 +0000 (0:00:00.044) 0:03:48.675 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml for /cache/fedora-36.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': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 21:09:22 +0000 (0:00:00.044) 0:03:48.719 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 21:09:22 +0000 (0:00:00.023) 0:03:48.743 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 21:09:22 +0000 (0:00:00.023) 0:03:48.766 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 21:09:22 +0000 (0:00:00.024) 0:03:48.791 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 21:09:22 +0000 (0:00:00.024) 0:03:48.816 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 21:09:22 +0000 (0:00:00.046) 0:03:48.862 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 21:09:22 +0000 (0:00:00.040) 0:03:48.902 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 21:09:22 +0000 (0:00:00.027) 0:03:48.930 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-36.qcow2.snap => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 21:09:22 +0000 (0:00:00.042) 0:03:48.972 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 21:09:23 +0000 (0:00:00.040) 0:03:49.013 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 21:09:23 +0000 (0:00:00.039) 0:03:49.052 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 21:09:23 +0000 (0:00:00.026) 0:03:49.079 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 21:09:23 +0000 (0:00:00.026) 0:03:49.105 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 21:09:23 +0000 (0:00:00.031) 0:03:49.136 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 21:09:23 +0000 (0:00:00.035) 0:03:49.172 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 21:09:23 +0000 (0:00:00.037) 0:03:49.210 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 21:09:23 +0000 (0:00:00.049) 0:03:49.259 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-36.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': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 21:09:23 +0000 (0:00:00.046) 0:03:49.306 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 21:09:23 +0000 (0:00:00.027) 0:03:49.334 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 21:09:23 +0000 (0:00:00.024) 0:03:49.358 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 21:09:23 +0000 (0:00:00.025) 0:03:49.383 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 21:09:23 +0000 (0:00:00.024) 0:03:49.408 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 21:09:23 +0000 (0:00:00.025) 0:03:49.434 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 21:09:23 +0000 (0:00:00.025) 0:03:49.459 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 21:09:23 +0000 (0:00:00.023) 0:03:49.483 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 21:09:23 +0000 (0:00:00.036) 0:03:49.520 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 21:09:23 +0000 (0:00:00.039) 0:03:49.559 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml for /cache/fedora-36.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': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 21:09:23 +0000 (0:00:00.043) 0:03:49.602 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 21:09:23 +0000 (0:00:00.080) 0:03:49.683 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 21:09:23 +0000 (0:00:00.121) 0:03:49.804 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 21:09:23 +0000 (0:00:00.043) 0:03:49.848 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 1222051, "block_size": 4096, "block_total": 1287592, "block_used": 65541, "device": "/dev/mapper/foo-test1", "fstype": "ext2", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 5005520896, "size_total": 5273976832, "uuid": "c2dd9fd0-bea2-493d-83a4-ae233ab6c6e0" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 1222051, "block_size": 4096, "block_total": 1287592, "block_used": 65541, "device": "/dev/mapper/foo-test1", "fstype": "ext2", "inode_available": 327669, "inode_total": 327680, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 5005520896, "size_total": 5273976832, "uuid": "c2dd9fd0-bea2-493d-83a4-ae233ab6c6e0" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 21:09:23 +0000 (0:00:00.048) 0:03:49.896 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 21:09:23 +0000 (0:00:00.045) 0:03:49.941 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 21:09:24 +0000 (0:00:00.043) 0:03:49.985 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 21:09:24 +0000 (0:00:00.040) 0:03:50.025 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 21:09:24 +0000 (0:00:00.024) 0:03:50.049 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 21:09:24 +0000 (0:00:00.024) 0:03:50.073 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 21:09:24 +0000 (0:00:00.025) 0:03:50.098 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 21:09:24 +0000 (0:00:00.034) 0:03:50.133 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext2 defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 21:09:24 +0000 (0:00:00.052) 0:03:50.186 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 21:09:24 +0000 (0:00:00.042) 0:03:50.229 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 21:09:24 +0000 (0:00:00.056) 0:03:50.286 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 21:09:24 +0000 (0:00:00.028) 0:03:50.314 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 21:09:24 +0000 (0:00:00.037) 0:03:50.351 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 21:09:24 +0000 (0:00:00.040) 0:03:50.392 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 21:09:24 +0000 (0:00:00.041) 0:03:50.434 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658437757.4929588, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658437755.9599588, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 1942, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658437755.9599588, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 21:09:24 +0000 (0:00:00.423) 0:03:50.857 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 21:09:24 +0000 (0:00:00.040) 0:03:50.897 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 21:09:24 +0000 (0:00:00.040) 0:03:50.938 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 21:09:24 +0000 (0:00:00.036) 0:03:50.975 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 21:09:25 +0000 (0:00:00.024) 0:03:50.999 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 21:09:25 +0000 (0:00:00.041) 0:03:51.040 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 21:09:25 +0000 (0:00:00.027) 0:03:51.067 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 21:09:27 +0000 (0:00:01.980) 0:03:53.048 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 21:09:27 +0000 (0:00:00.027) 0:03:53.076 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 21:09:27 +0000 (0:00:00.026) 0:03:53.103 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 21:09:27 +0000 (0:00:00.100) 0:03:53.203 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 21:09:27 +0000 (0:00:00.027) 0:03:53.231 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 21:09:27 +0000 (0:00:00.025) 0:03:53.256 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 21:09:27 +0000 (0:00:00.026) 0:03:53.282 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 21:09:27 +0000 (0:00:00.024) 0:03:53.306 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 21:09:27 +0000 (0:00:00.067) 0:03:53.374 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 21:09:27 +0000 (0:00:00.041) 0:03:53.416 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 21:09:27 +0000 (0:00:00.039) 0:03:53.455 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 21:09:27 +0000 (0:00:00.024) 0:03:53.480 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 21:09:27 +0000 (0:00:00.025) 0:03:53.505 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 21:09:27 +0000 (0:00:00.023) 0:03:53.529 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 21:09:27 +0000 (0:00:00.037) 0:03:53.567 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 21:09:27 +0000 (0:00:00.027) 0:03:53.594 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 21:09:27 +0000 (0:00:00.028) 0:03:53.623 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 21:09:27 +0000 (0:00:00.027) 0:03:53.651 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 21:09:27 +0000 (0:00:00.027) 0:03:53.678 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 21:09:27 +0000 (0:00:00.026) 0:03:53.705 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 21:09:27 +0000 (0:00:00.028) 0:03:53.733 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 21:09:27 +0000 (0:00:00.027) 0:03:53.760 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 21:09:28 +0000 (0:00:00.427) 0:03:54.187 ********* ok: [/cache/fedora-36.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 21:09:28 +0000 (0:00:00.428) 0:03:54.615 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 21:09:28 +0000 (0:00:00.042) 0:03:54.657 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 21:09:28 +0000 (0:00:00.038) 0:03:54.696 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 21:09:28 +0000 (0:00:00.029) 0:03:54.725 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 21:09:28 +0000 (0:00:00.027) 0:03:54.753 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 21:09:28 +0000 (0:00:00.032) 0:03:54.786 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 21:09:28 +0000 (0:00:00.031) 0:03:54.817 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 21:09:28 +0000 (0:00:00.030) 0:03:54.847 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 21:09:28 +0000 (0:00:00.037) 0:03:54.885 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 21:09:28 +0000 (0:00:00.038) 0:03:54.923 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 21:09:28 +0000 (0:00:00.043) 0:03:54.967 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.045445", "end": "2022-07-21 21:09:29.394300", "rc": 0, "start": "2022-07-21 21:09:29.348855" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 21:09:29 +0000 (0:00:00.476) 0:03:55.444 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 21:09:29 +0000 (0:00:00.044) 0:03:55.488 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 21:09:29 +0000 (0:00:00.044) 0:03:55.533 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 21:09:29 +0000 (0:00:00.029) 0:03:55.562 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 21:09:29 +0000 (0:00:00.027) 0:03:55.590 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 21:09:29 +0000 (0:00:00.027) 0:03:55.617 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 21:09:29 +0000 (0:00:00.028) 0:03:55.646 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 21:09:29 +0000 (0:00:00.034) 0:03:55.680 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 21:09:29 +0000 (0:00:00.022) 0:03:55.703 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:324 Thursday 21 July 2022 21:09:29 +0000 (0:00:00.088) 0:03:55.792 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 21:09:29 +0000 (0:00:00.122) 0:03:55.914 ********* included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 21:09:29 +0000 (0:00:00.038) 0:03:55.953 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 21:09:30 +0000 (0:00:00.552) 0:03:56.505 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 21:09:30 +0000 (0:00:00.065) 0:03:56.571 ********* ok: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 21:09:30 +0000 (0:00:00.039) 0:03:56.610 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 21:09:30 +0000 (0:00:00.035) 0:03:56.646 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 21:09:30 +0000 (0:00:00.055) 0:03:56.702 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 21:09:30 +0000 (0:00:00.021) 0:03:56.723 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 21:09:30 +0000 (0:00:00.028) 0:03:56.752 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 21:09:30 +0000 (0:00:00.041) 0:03:56.794 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 21:09:30 +0000 (0:00:00.041) 0:03:56.835 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 21:09:30 +0000 (0:00:00.029) 0:03:56.865 ********* skipping: [/cache/fedora-36.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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 21:09:30 +0000 (0:00:00.030) 0:03:56.895 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 21:09:30 +0000 (0:00:00.030) 0:03:56.926 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 21:09:30 +0000 (0:00:00.031) 0:03:56.958 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 21:09:31 +0000 (0:00:00.048) 0:03:57.006 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 21:09:31 +0000 (0:00:00.022) 0:03:57.029 ********* changed: [/cache/fedora-36.qcow2.snap] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/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": "ext2", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "dosfstools", "e2fsprogs", "btrfs-progs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 21:09:33 +0000 (0:00:02.843) 0:03:59.873 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 21:09:33 +0000 (0:00:00.029) 0:03:59.902 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 21:09:33 +0000 (0:00:00.022) 0:03:59.924 ********* ok: [/cache/fedora-36.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/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": "ext2", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "dosfstools", "e2fsprogs", "btrfs-progs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 21:09:34 +0000 (0:00:00.086) 0:04:00.010 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 21:09:34 +0000 (0:00:00.084) 0:04:00.095 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 21:09:34 +0000 (0:00:00.083) 0:04:00.178 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-36.qcow2.snap] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'ext2'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext2", "mount_info": { "fstype": "ext2", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 21:09:34 +0000 (0:00:00.483) 0:04:00.662 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 21:09:35 +0000 (0:00:00.762) 0:04:01.424 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 21:09:35 +0000 (0:00:00.034) 0:04:01.459 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 21:09:36 +0000 (0:00:00.796) 0:04:02.256 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1658410804.3382256, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658384482.541, "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": 1658384304.669, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "11", "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/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 21:09:36 +0000 (0:00:00.416) 0:04:02.673 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 21:09:36 +0000 (0:00:00.024) 0:04:02.697 ********* ok: [/cache/fedora-36.qcow2.snap] META: role_complete for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/tests_resize.yml:337 Thursday 21 July 2022 21:09:37 +0000 (0:00:00.994) 0:04:03.692 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml for /cache/fedora-36.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 21:09:37 +0000 (0:00:00.063) 0:04:03.755 ********* ok: [/cache/fedora-36.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext2", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "5g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 21:09:37 +0000 (0:00:00.041) 0:04:03.797 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 21:09:37 +0000 (0:00:00.026) 0:04:03.823 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-21-05-21-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": "1000M", "type": "partition", "uuid": "cb4982f0-d861-4106-ada7-aaeba17ae2bb" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "FAAC-BFC8" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "2.9G", "type": "partition", "uuid": "3e9b04e0-83ba-408b-b132-8988cb220981" }, "/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": "951be07e-05cd-4e0a-a4f5-ac4b1cde40f8" }, "/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": "738681e1-fb1e-40db-9d4a-ae9ebdd619b5" }, "/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/tmppde4z2jm/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 21:09:38 +0000 (0:00:00.417) 0:04:04.241 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003258", "end": "2022-07-21 21:09:38.602404", "rc": 0, "start": "2022-07-21 21:09:38.599146" } STDOUT: # # /etc/fstab # Created by anaconda on Thu Jul 21 06:18:24 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=3e9b04e0-83ba-408b-b132-8988cb220981 / btrfs subvol=root,compress=zstd:1 0 0 UUID=cb4982f0-d861-4106-ada7-aaeba17ae2bb /boot ext4 defaults 1 2 UUID=FAAC-BFC8 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=3e9b04e0-83ba-408b-b132-8988cb220981 /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/tmppde4z2jm/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 21:09:38 +0000 (0:00:00.410) 0:04:04.651 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003415", "end": "2022-07-21 21:09:39.064332", "failed_when_result": false, "rc": 0, "start": "2022-07-21 21:09:39.060917" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 21:09:39 +0000 (0:00:00.465) 0:04:05.117 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml for /cache/fedora-36.qcow2.snap => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'absent', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 21:09:39 +0000 (0:00:00.052) 0:04:05.169 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 21:09:39 +0000 (0:00:00.080) 0:04:05.250 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml for /cache/fedora-36.qcow2.snap => (item=members) included: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-36.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 21:09:39 +0000 (0:00:00.046) 0:04:05.296 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 21:09:39 +0000 (0:00:00.136) 0:04:05.432 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 21:09:39 +0000 (0:00:00.023) 0:04:05.455 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 21:09:39 +0000 (0:00:00.039) 0:04:05.495 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 21:09:39 +0000 (0:00:00.044) 0:04:05.539 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 21:09:39 +0000 (0:00:00.037) 0:04:05.577 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 21:09:39 +0000 (0:00:00.036) 0:04:05.613 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 21:09:39 +0000 (0:00:00.042) 0:04:05.655 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 21:09:39 +0000 (0:00:00.024) 0:04:05.680 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 21:09:39 +0000 (0:00:00.020) 0:04:05.701 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml for /cache/fedora-36.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 21:09:39 +0000 (0:00:00.039) 0:04:05.740 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 21:09:39 +0000 (0:00:00.022) 0:04:05.763 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 21:09:39 +0000 (0:00:00.022) 0:04:05.785 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 21:09:39 +0000 (0:00:00.021) 0:04:05.807 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 21:09:39 +0000 (0:00:00.021) 0:04:05.829 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 21:09:39 +0000 (0:00:00.026) 0:04:05.855 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 21:09:39 +0000 (0:00:00.022) 0:04:05.878 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 21:09:39 +0000 (0:00:00.022) 0:04:05.900 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 21:09:39 +0000 (0:00:00.033) 0:04:05.934 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 21:09:39 +0000 (0:00:00.043) 0:04:05.977 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-36.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': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 21:09:40 +0000 (0:00:00.040) 0:04:06.018 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 21:09:40 +0000 (0:00:00.026) 0:04:06.045 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 21:09:40 +0000 (0:00:00.025) 0:04:06.070 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 21:09:40 +0000 (0:00:00.025) 0:04:06.095 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 21:09:40 +0000 (0:00:00.043) 0:04:06.139 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml for /cache/fedora-36.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': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 21:09:40 +0000 (0:00:00.039) 0:04:06.178 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 21:09:40 +0000 (0:00:00.021) 0:04:06.200 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 21:09:40 +0000 (0:00:00.022) 0:04:06.223 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 21:09:40 +0000 (0:00:00.021) 0:04:06.244 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 21:09:40 +0000 (0:00:00.022) 0:04:06.267 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-36.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 21:09:40 +0000 (0:00:00.047) 0:04:06.315 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 21:09:40 +0000 (0:00:00.037) 0:04:06.352 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 21:09:40 +0000 (0:00:00.020) 0:04:06.373 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 21:09:40 +0000 (0:00:00.021) 0:04:06.395 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 21:09:40 +0000 (0:00:00.031) 0:04:06.426 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-36.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 21:09:40 +0000 (0:00:00.044) 0:04:06.471 ********* included: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-36.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': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 21:09:40 +0000 (0:00:00.075) 0:04:06.546 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 21:09:40 +0000 (0:00:00.026) 0:04:06.573 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 21:09:40 +0000 (0:00:00.025) 0:04:06.599 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 21:09:40 +0000 (0:00:00.026) 0:04:06.625 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 21:09:40 +0000 (0:00:00.024) 0:04:06.650 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 21:09:40 +0000 (0:00:00.024) 0:04:06.675 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 21:09:40 +0000 (0:00:00.024) 0:04:06.700 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 21:09:40 +0000 (0:00:00.026) 0:04:06.726 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 21:09:40 +0000 (0:00:00.034) 0:04:06.761 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 21:09:40 +0000 (0:00:00.033) 0:04:06.794 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml for /cache/fedora-36.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': 'ext2', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '5g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 21:09:40 +0000 (0:00:00.041) 0:04:06.835 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 21:09:40 +0000 (0:00:00.042) 0:04:06.877 ********* included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml for /cache/fedora-36.qcow2.snap => (item=mount) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-36.qcow2.snap => (item=fstab) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml for /cache/fedora-36.qcow2.snap => (item=fs) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml for /cache/fedora-36.qcow2.snap => (item=device) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-36.qcow2.snap => (item=encryption) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml for /cache/fedora-36.qcow2.snap => (item=md) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml for /cache/fedora-36.qcow2.snap => (item=size) included: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml for /cache/fedora-36.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 21:09:40 +0000 (0:00:00.083) 0:04:06.961 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 21:09:41 +0000 (0:00:00.039) 0:04:07.001 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 21:09:41 +0000 (0:00:00.045) 0:04:07.046 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 21:09:41 +0000 (0:00:00.026) 0:04:07.072 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 21:09:41 +0000 (0:00:00.036) 0:04:07.109 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 21:09:41 +0000 (0:00:00.024) 0:04:07.133 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 21:09:41 +0000 (0:00:00.022) 0:04:07.156 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 21:09:41 +0000 (0:00:00.022) 0:04:07.179 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 21:09:41 +0000 (0:00:00.021) 0:04:07.200 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 21:09:41 +0000 (0:00:00.033) 0:04:07.234 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 21:09:41 +0000 (0:00:00.051) 0:04:07.285 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 21:09:41 +0000 (0:00:00.022) 0:04:07.307 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 21:09:41 +0000 (0:00:00.038) 0:04:07.345 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 21:09:41 +0000 (0:00:00.023) 0:04:07.369 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 21:09:41 +0000 (0:00:00.038) 0:04:07.407 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 21:09:41 +0000 (0:00:00.022) 0:04:07.430 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 21:09:41 +0000 (0:00:00.021) 0:04:07.451 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 21:09:41 +0000 (0:00:00.411) 0:04:07.863 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 21:09:41 +0000 (0:00:00.038) 0:04:07.902 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 21:09:41 +0000 (0:00:00.025) 0:04:07.927 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 21:09:42 +0000 (0:00:00.105) 0:04:08.033 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 21:09:42 +0000 (0:00:00.083) 0:04:08.116 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 21:09:42 +0000 (0:00:00.026) 0:04:08.142 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 21:09:42 +0000 (0:00:00.025) 0:04:08.168 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 21:09:44 +0000 (0:00:01.958) 0:04:10.126 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 21:09:44 +0000 (0:00:00.026) 0:04:10.153 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 21:09:44 +0000 (0:00:00.025) 0:04:10.178 ********* skipping: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 21:09:44 +0000 (0:00:00.025) 0:04:10.204 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 21:09:44 +0000 (0:00:00.024) 0:04:10.229 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 21:09:44 +0000 (0:00:00.025) 0:04:10.254 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 21:09:44 +0000 (0:00:00.022) 0:04:10.277 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 21:09:44 +0000 (0:00:00.024) 0:04:10.301 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 21:09:44 +0000 (0:00:00.022) 0:04:10.323 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 21:09:44 +0000 (0:00:00.038) 0:04:10.362 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 21:09:44 +0000 (0:00:00.037) 0:04:10.399 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 21:09:44 +0000 (0:00:00.025) 0:04:10.425 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 21:09:44 +0000 (0:00:00.023) 0:04:10.448 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 21:09:44 +0000 (0:00:00.023) 0:04:10.472 ********* ok: [/cache/fedora-36.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/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 21:09:44 +0000 (0:00:00.033) 0:04:10.506 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 21:09:44 +0000 (0:00:00.025) 0:04:10.531 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 21:09:44 +0000 (0:00:00.024) 0:04:10.555 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 21:09:44 +0000 (0:00:00.023) 0:04:10.579 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 21:09:44 +0000 (0:00:00.023) 0:04:10.603 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 21:09:44 +0000 (0:00:00.025) 0:04:10.629 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 21:09:44 +0000 (0:00:00.023) 0:04:10.652 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 21:09:44 +0000 (0:00:00.024) 0:04:10.677 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 21:09:44 +0000 (0:00:00.022) 0:04:10.699 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 21:09:44 +0000 (0:00:00.027) 0:04:10.727 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 21:09:44 +0000 (0:00:00.027) 0:04:10.754 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 21:09:44 +0000 (0:00:00.035) 0:04:10.790 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 21:09:44 +0000 (0:00:00.024) 0:04:10.814 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 21:09:44 +0000 (0:00:00.029) 0:04:10.844 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 21:09:44 +0000 (0:00:00.026) 0:04:10.871 ********* skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 21:09:44 +0000 (0:00:00.024) 0:04:10.896 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 21:09:44 +0000 (0:00:00.024) 0:04:10.920 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 21:09:45 +0000 (0:00:00.074) 0:04:10.995 ********* ok: [/cache/fedora-36.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 21:09:45 +0000 (0:00:00.034) 0:04:11.029 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 21:09:45 +0000 (0:00:00.025) 0:04:11.055 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 21:09:45 +0000 (0:00:00.024) 0:04:11.079 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 21:09:45 +0000 (0:00:00.054) 0:04:11.134 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 21:09:45 +0000 (0:00:00.025) 0:04:11.159 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 21:09:45 +0000 (0:00:00.024) 0:04:11.184 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 21:09:45 +0000 (0:00:00.022) 0:04:11.207 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 21:09:45 +0000 (0:00:00.023) 0:04:11.230 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmppde4z2jm/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 21:09:45 +0000 (0:00:00.025) 0:04:11.256 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 21:09:45 +0000 (0:00:00.034) 0:04:11.290 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmppde4z2jm/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 21:09:45 +0000 (0:00:00.022) 0:04:11.312 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=1244 changed=26 unreachable=0 failed=3 skipped=1005 rescued=3 ignored=0 Thursday 21 July 2022 21:09:45 +0000 (0:00:00.047) 0:04:11.360 ********* =============================================================================== fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 3.17s /tmp/tmpdbh6f40u/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.12s /tmp/tmpdbh6f40u/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.99s /tmp/tmpdbh6f40u/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.92s /tmp/tmpdbh6f40u/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.90s /tmp/tmpdbh6f40u/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.84s /tmp/tmpdbh6f40u/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.79s /tmp/tmpdbh6f40u/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.77s /tmp/tmpdbh6f40u/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.66s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : make sure blivet is available ------- 2.65s /tmp/tmpdbh6f40u/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.65s /tmp/tmpdbh6f40u/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.64s /tmp/tmpdbh6f40u/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.50s /tmp/tmpdbh6f40u/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.48s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : get service facts ------------------- 2.18s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.06s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Ensure cryptsetup is present -------------------------------------------- 2.04s /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 ----------- fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.03s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Ensure cryptsetup is present -------------------------------------------- 2.02s /tmp/tmppde4z2jm/tests/storage/test-verify-volume-encryption.yml:10 ----------- fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.02s /tmp/tmpdbh6f40u/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64