ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpfdufgi2k executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_resize_nvme_generated.yml ************************************** 2 plays in /tmp/tmprua6lrek/tests/tests_resize_nvme_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmprua6lrek/tests/tests_resize_nvme_generated.yml:3 Wednesday 06 July 2022 11:12:39 +0000 (0:00:00.012) 0:00:00.013 ******** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmprua6lrek/tests/tests_resize_nvme_generated.yml:7 Wednesday 06 July 2022 11:12:41 +0000 (0:00:01.340) 0:00:01.353 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_use_interface": "nvme" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmprua6lrek/tests/tests_resize.yml:1 Wednesday 06 July 2022 11:12:41 +0000 (0:00:00.052) 0:00:01.405 ******** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [include_role : linux-system-roles.storage] ******************************* task path: /tmp/tmprua6lrek/tests/tests_resize.yml:20 Wednesday 06 July 2022 11:12:42 +0000 (0:00:00.918) 0:00:02.323 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 11:12:42 +0000 (0:00:00.035) 0:00:02.359 ******** included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 11:12:42 +0000 (0:00:00.031) 0:00:02.390 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 11:12:42 +0000 (0:00:00.564) 0:00:02.955 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 11:12:42 +0000 (0:00:00.055) 0:00:03.010 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 11:12:42 +0000 (0:00:00.028) 0:00:03.039 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 11:12:42 +0000 (0:00:00.028) 0:00:03.068 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 11:12:42 +0000 (0:00:00.047) 0:00:03.116 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 11:12:42 +0000 (0:00:00.018) 0:00:03.134 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 11:12:45 +0000 (0:00:02.575) 0:00:05.710 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 11:12:45 +0000 (0:00:00.075) 0:00:05.786 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 11:12:45 +0000 (0:00:00.055) 0:00:05.841 ******** ok: [/cache/fedora-35.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 11:12:46 +0000 (0:00:00.761) 0:00:06.603 ******** included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:2 Wednesday 06 July 2022 11:12:46 +0000 (0:00:00.042) 0:00:06.645 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item={'repository': 'rhawalsh/dm-vdo', 'packages': ['vdo', 'kmod-vdo']}) => { "ansible_loop_var": "repo", "changed": false, "repo": { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:13 Wednesday 06 July 2022 11:12:46 +0000 (0:00:00.063) 0:00:06.709 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable COPRs] ******************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:18 Wednesday 06 July 2022 11:12:46 +0000 (0:00:00.033) 0:00:06.742 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item={'repository': 'rhawalsh/dm-vdo', 'packages': ['vdo', 'kmod-vdo']}) => { "ansible_loop_var": "repo", "changed": false, "repo": { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 11:12:46 +0000 (0:00:00.038) 0:00:06.780 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 11:12:48 +0000 (0:00:01.936) 0:00:08.717 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "arp-ethers.service": { "name": "arp-ethers.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "alias" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "bluetooth.service": { "name": "bluetooth.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "console-login-helper-messages-gensnippet-os-release.service": { "name": "console-login-helper-messages-gensnippet-os-release.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "console-login-helper-messages-gensnippet-ssh-keys.service": { "name": "console-login-helper-messages-gensnippet-ssh-keys.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "dbus-broker.service": { "name": "dbus-broker.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.bluez.service": { "name": "dbus-org.bluez.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.oom1.service": { "name": "dbus-org.freedesktop.oom1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.portable1.service": { "name": "dbus-org.freedesktop.portable1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.resolve1.service": { "name": "dbus-org.freedesktop.resolve1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "active", "status": "alias" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "display-manager.service": { "name": "display-manager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "dm-event.service": { "name": "dm-event.service", "source": "systemd", "state": "stopped", "status": "static" }, "dmraid-activation.service": { "name": "dmraid-activation.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "dnf-makecache.service": { "name": "dnf-makecache.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-cmdline.service": { "name": "dracut-cmdline.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-initqueue.service": { "name": "dracut-initqueue.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-mount.service": { "name": "dracut-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-mount.service": { "name": "dracut-pre-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-pivot.service": { "name": "dracut-pre-pivot.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-trigger.service": { "name": "dracut-pre-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-udev.service": { "name": "dracut-pre-udev.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown.service": { "name": "dracut-shutdown.service", "source": "systemd", "state": "stopped", "status": "static" }, "emergency.service": { "name": "emergency.service", "source": "systemd", "state": "stopped", "status": "static" }, "fcoe.service": { "name": "fcoe.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "stopped", "status": "static" }, "fwupd-offline-update.service": { "name": "fwupd-offline-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "fwupd-refresh.service": { "name": "fwupd-refresh.service", "source": "systemd", "state": "inactive", "status": "static" }, "fwupd.service": { "name": "fwupd.service", "source": "systemd", "state": "inactive", "status": "static" }, "getty@.service": { "name": "getty@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "getty@tty1.service": { "name": "getty@tty1.service", "source": "systemd", "state": "running", "status": "active" }, "grub-boot-indeterminate.service": { "name": "grub-boot-indeterminate.service", "source": "systemd", "state": "inactive", "status": "static" }, "grub2-systemd-integration.service": { "name": "grub2-systemd-integration.service", "source": "systemd", "state": "inactive", "status": "static" }, "hv_kvp_daemon.service": { "name": "hv_kvp_daemon.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "initrd-cleanup.service": { "name": "initrd-cleanup.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-parse-etc.service": { "name": "initrd-parse-etc.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-switch-root.service": { "name": "initrd-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-udevadm-cleanup-db.service": { "name": "initrd-udevadm-cleanup-db.service", "source": "systemd", "state": "stopped", "status": "static" }, "iscsi-shutdown.service": { "name": "iscsi-shutdown.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsi.service": { "name": "iscsi.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsid.service": { "name": "iscsid.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "ldconfig.service": { "name": "ldconfig.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-activation-early.service": { "name": "lvm2-activation-early.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-activation.service": { "name": "lvm2-activation.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-pvscan@.service": { "name": "lvm2-pvscan@.service", "source": "systemd", "state": "unknown", "status": "static" }, "man-db-cache-update.service": { "name": "man-db-cache-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "man-db-restart-cache-update.service": { "name": "man-db-restart-cache-update.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "mdadm-grow-continue@.service": { "name": "mdadm-grow-continue@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-last-resort@.service": { "name": "mdadm-last-resort@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdcheck_continue.service": { "name": "mdcheck_continue.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdcheck_start.service": { "name": "mdcheck_start.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmon@.service": { "name": "mdmon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdmonitor-oneshot.service": { "name": "mdmonitor-oneshot.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmonitor.service": { "name": "mdmonitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "modprobe@.service": { "name": "modprobe@.service", "source": "systemd", "state": "unknown", "status": "static" }, "modprobe@configfs.service": { "name": "modprobe@configfs.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@drm.service": { "name": "modprobe@drm.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@fuse.service": { "name": "modprobe@fuse.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "multipathd.service": { "name": "multipathd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ndctl-monitor.service": { "name": "ndctl-monitor.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "pam_namespace.service": { "name": "pam_namespace.service", "source": "systemd", "state": "inactive", "status": "static" }, "pcscd.service": { "name": "pcscd.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "inactive", "status": "static" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "raid-check.service": { "name": "raid-check.service", "source": "systemd", "state": "stopped", "status": "static" }, "rbdmap.service": { "name": "rbdmap.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rdisc.service": { "name": "rdisc.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpmdb-rebuild.service": { "name": "rpmdb-rebuild.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel-mark.service": { "name": "selinux-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel.service": { "name": "selinux-autorelabel.service", "source": "systemd", "state": "inactive", "status": "static" }, "selinux-check-proper-disable.service": { "name": "selinux-check-proper-disable.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "indirect" }, "serial-getty@ttyS0.service": { "name": "serial-getty@ttyS0.service", "source": "systemd", "state": "running", "status": "active" }, "snapd.seeded.service": { "name": "snapd.seeded.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen@.service": { "name": "sshd-keygen@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sshd-keygen@ecdsa.service": { "name": "sshd-keygen@ecdsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@ed25519.service": { "name": "sshd-keygen@ed25519.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@rsa.service": { "name": "sshd-keygen@rsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "sssd-autofs.service": { "name": "sssd-autofs.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-kcm.service": { "name": "sssd-kcm.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "sssd-nss.service": { "name": "sssd-nss.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pac.service": { "name": "sssd-pac.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pam.service": { "name": "sssd-pam.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-ssh.service": { "name": "sssd-ssh.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-sudo.service": { "name": "sssd-sudo.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd.service": { "name": "sssd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "system-update-cleanup.service": { "name": "system-update-cleanup.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-ask-password-console.service": { "name": "systemd-ask-password-console.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-wall.service": { "name": "systemd-ask-password-wall.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-backlight@.service": { "name": "systemd-backlight@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-binfmt.service": { "name": "systemd-binfmt.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-bless-boot.service": { "name": "systemd-bless-boot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-boot-check-no-failures.service": { "name": "systemd-boot-check-no-failures.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-boot-system-token.service": { "name": "systemd-boot-system-token.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-coredump@.service": { "name": "systemd-coredump@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-exit.service": { "name": "systemd-exit.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-firstboot.service": { "name": "systemd-firstboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck-root.service": { "name": "systemd-fsck-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck@.service": { "name": "systemd-fsck@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-fsck@dev-disk-by\\x2duuid-5B84\\x2d6DD7.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-5B84\\x2d6DD7.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-disk-by\\x2duuid-5f2f82d0\\x2dae0a\\x2d4574\\x2d8811\\x2d62a31a51a870.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-5f2f82d0\\x2dae0a\\x2d4574\\x2d8811\\x2d62a31a51a870.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-vdb1.service": { "name": "systemd-fsck@dev-vdb1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-vdc1.service": { "name": "systemd-fsck@dev-vdc1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-halt.service": { "name": "systemd-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hibernate-resume@.service": { "name": "systemd-hibernate-resume@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-hibernate.service": { "name": "systemd-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-homed-activate.service": { "name": "systemd-homed-activate.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-homed.service": { "name": "systemd-homed.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-hostnamed.service": { "name": "systemd-hostnamed.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-journald@.service": { "name": "systemd-journald@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-network-generator.service": { "name": "systemd-network-generator.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-networkd-wait-online.service": { "name": "systemd-networkd-wait-online.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "systemd-networkd.service": { "name": "systemd-networkd.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "systemd-oomd.service": { "name": "systemd-oomd.service", "source": "systemd", "state": "running", "status": "enabled" }, "systemd-portabled.service": { "name": "systemd-portabled.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-pstore.service": { "name": "systemd-pstore.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "enabled-runtime" }, "systemd-repart.service": { "name": "systemd-repart.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-resolved.service": { "name": "systemd-resolved.service", "source": "systemd", "state": "running", "status": "enabled" }, "systemd-rfkill.service": { "name": "systemd-rfkill.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend-then-hibernate.service": { "name": "systemd-suspend-then-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysext.service": { "name": "systemd-sysext.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-time-wait-sync.service": { "name": "systemd-time-wait-sync.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-settle.service": { "name": "systemd-udev-settle.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-trigger.service": { "name": "systemd-udev-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udevd.service": { "name": "systemd-udevd.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-update-done.service": { "name": "systemd-update-done.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp-runlevel.service": { "name": "systemd-update-utmp-runlevel.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp.service": { "name": "systemd-update-utmp.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-user-sessions.service": { "name": "systemd-user-sessions.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-userdbd.service": { "name": "systemd-userdbd.service", "source": "systemd", "state": "running", "status": "indirect" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-volatile-root.service": { "name": "systemd-volatile-root.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-zram-setup@.service": { "name": "systemd-zram-setup@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-zram-setup@zram0.service": { "name": "systemd-zram-setup@zram0.service", "source": "systemd", "state": "stopped", "status": "active" }, "udisks2.service": { "name": "udisks2.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "unbound-anchor.service": { "name": "unbound-anchor.service", "source": "systemd", "state": "stopped", "status": "static" }, "user-runtime-dir@.service": { "name": "user-runtime-dir@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@0.service": { "name": "user-runtime-dir@0.service", "source": "systemd", "state": "stopped", "status": "active" }, "user@.service": { "name": "user@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user@0.service": { "name": "user@0.service", "source": "systemd", "state": "running", "status": "active" } } }, "changed": false } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 11:12:50 +0000 (0:00:01.928) 0:00:10.645 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 11:12:50 +0000 (0:00:00.058) 0:00:10.704 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 11:12:50 +0000 (0:00:00.023) 0:00:10.727 ******** ok: [/cache/fedora-35.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 11:12:50 +0000 (0:00:00.555) 0:00:11.282 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 11:12:51 +0000 (0:00:00.039) 0:00:11.322 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 11:12:51 +0000 (0:00:00.023) 0:00:11.345 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 11:12:51 +0000 (0:00:00.038) 0:00:11.384 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 11:12:51 +0000 (0:00:00.035) 0:00:11.420 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 11:12:51 +0000 (0:00:00.036) 0:00:11.457 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 11:12:51 +0000 (0:00:00.037) 0:00:11.494 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 11:12:51 +0000 (0:00:00.025) 0:00:11.519 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 11:12:51 +0000 (0:00:00.035) 0:00:11.555 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 11:12:51 +0000 (0:00:00.023) 0:00:11.579 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 11:12:51 +0000 (0:00:00.542) 0:00:12.122 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 11:12:51 +0000 (0:00:00.022) 0:00:12.144 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmprua6lrek/tests/tests_resize.yml:23 Wednesday 06 July 2022 11:12:52 +0000 (0:00:01.007) 0:00:13.152 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/tests_resize.yml:30 Wednesday 06 July 2022 11:12:52 +0000 (0:00:00.036) 0:00:13.188 ******** included: /tmp/tmprua6lrek/tests/get_unused_disk.yml for /cache/fedora-35.qcow2.snap TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmprua6lrek/tests/get_unused_disk.yml:2 Wednesday 06 July 2022 11:12:52 +0000 (0:00:00.037) 0:00:13.225 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "disks": [ "nvme2n1" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmprua6lrek/tests/get_unused_disk.yml:9 Wednesday 06 July 2022 11:12:56 +0000 (0:00:03.538) 0:00:16.764 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "unused_disks": [ "nvme2n1" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmprua6lrek/tests/get_unused_disk.yml:14 Wednesday 06 July 2022 11:12:56 +0000 (0:00:00.037) 0:00:16.802 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmprua6lrek/tests/get_unused_disk.yml:19 Wednesday 06 July 2022 11:12:56 +0000 (0:00:00.041) 0:00:16.844 ******** ok: [/cache/fedora-35.qcow2.snap] => { "unused_disks": [ "nvme2n1" ] } TASK [Create one LVM logical volume with "5g" under one volume group] ********** task path: /tmp/tmprua6lrek/tests/tests_resize.yml:37 Wednesday 06 July 2022 11:12:56 +0000 (0:00:00.033) 0:00:16.878 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 11:12:56 +0000 (0:00:00.042) 0:00:16.920 ******** included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 11:12:56 +0000 (0:00:00.035) 0:00:16.956 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 11:12:57 +0000 (0:00:00.526) 0:00:17.482 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 11:12:57 +0000 (0:00:00.061) 0:00:17.543 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 11:12:57 +0000 (0:00:00.036) 0:00:17.580 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 11:12:57 +0000 (0:00:00.033) 0:00:17.613 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 11:12:57 +0000 (0:00:00.046) 0:00:17.660 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 11:12:57 +0000 (0:00:00.021) 0:00:17.682 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 11:12:57 +0000 (0:00:00.030) 0:00:17.712 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme2n1" ], "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 11:12:57 +0000 (0:00:00.071) 0:00:17.784 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 11:12:57 +0000 (0:00:00.066) 0:00:17.850 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 11:12:57 +0000 (0:00:00.027) 0:00:17.878 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 11:12:57 +0000 (0:00:00.028) 0:00:17.907 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 11:12:57 +0000 (0:00:00.028) 0:00:17.935 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 11:12:57 +0000 (0:00:00.057) 0:00:17.993 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 11:12:57 +0000 (0:00:00.058) 0:00:18.051 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 11:12:57 +0000 (0:00:00.022) 0:00:18.074 ******** changed: [/cache/fedora-35.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/nvme2n1", "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/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/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": [ "lvm2", "e2fsprogs", "btrfs-progs", "dosfstools" ], "pools": [ { "disks": [ "nvme2n1" ], "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 11:13:00 +0000 (0:00:02.466) 0:00:20.540 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 11:13:00 +0000 (0:00:00.038) 0:00:20.579 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 11:13:00 +0000 (0:00:00.021) 0:00:20.600 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/nvme2n1", "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/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/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": [ "lvm2", "e2fsprogs", "btrfs-progs", "dosfstools" ], "pools": [ { "disks": [ "nvme2n1" ], "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 11:13:00 +0000 (0:00:00.040) 0:00:20.641 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme2n1" ], "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 11:13:00 +0000 (0:00:00.038) 0:00:20.679 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 11:13:00 +0000 (0:00:00.036) 0:00:20.716 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 11:13:00 +0000 (0:00:00.035) 0:00:20.751 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 11:13:01 +0000 (0:00:00.992) 0:00:21.743 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 11:13:02 +0000 (0:00:00.555) 0:00:22.299 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 11:13:02 +0000 (0:00:00.755) 0:00:23.055 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 11:13:03 +0000 (0:00:00.399) 0:00:23.454 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 11:13:03 +0000 (0:00:00.024) 0:00:23.479 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/tests_resize.yml:52 Wednesday 06 July 2022 11:13:04 +0000 (0:00:00.968) 0:00:24.448 ******** included: /tmp/tmprua6lrek/tests/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:1 Wednesday 06 July 2022 11:13:04 +0000 (0:00:00.044) 0:00:24.493 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme2n1" ], "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/tmprua6lrek/tests/verify-role-results.yml:6 Wednesday 06 July 2022 11:13:04 +0000 (0:00:00.051) 0:00:24.545 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:14 Wednesday 06 July 2022 11:13:04 +0000 (0:00:00.037) 0:00:24.582 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "fd487f77-9621-4973-bbe1-5dd92ae5afde" }, "/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": "LVM2_member", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "WJhlYi-c3NV-CLKN-eRdZ-bjU5-8E4i-Kfme5F" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-11-12-27-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:19 Wednesday 06 July 2022 11:13:04 +0000 (0:00:00.557) 0:00:25.140 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003510", "end": "2022-07-06 11:13:04.598841", "rc": 0, "start": "2022-07-06 11:13:04.595331" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:24 Wednesday 06 July 2022 11:13:05 +0000 (0:00:00.516) 0:00:25.657 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002978", "end": "2022-07-06 11:13:05.011018", "failed_when_result": false, "rc": 0, "start": "2022-07-06 11:13:05.008040" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:33 Wednesday 06 July 2022 11:13:05 +0000 (0:00:00.406) 0:00:26.063 ******** included: /tmp/tmprua6lrek/tests/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['nvme2n1'], '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/tmprua6lrek/tests/test-verify-pool.yml:5 Wednesday 06 July 2022 11:13:05 +0000 (0:00:00.067) 0:00:26.130 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool.yml:18 Wednesday 06 July 2022 11:13:05 +0000 (0:00:00.040) 0:00:26.171 ******** included: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmprua6lrek/tests/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:1 Wednesday 06 July 2022 11:13:05 +0000 (0:00:00.051) 0:00:26.222 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme2n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:10 Wednesday 06 July 2022 11:13:05 +0000 (0:00:00.057) 0:00:26.280 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme2n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme2n1", "pv": "/dev/nvme2n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:19 Wednesday 06 July 2022 11:13:06 +0000 (0:00:00.554) 0:00:26.835 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:23 Wednesday 06 July 2022 11:13:06 +0000 (0:00:00.050) 0:00:26.885 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme2n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:27 Wednesday 06 July 2022 11:13:06 +0000 (0:00:00.055) 0:00:26.941 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:34 Wednesday 06 July 2022 11:13:06 +0000 (0:00:00.061) 0:00:27.003 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:38 Wednesday 06 July 2022 11:13:06 +0000 (0:00:00.041) 0:00:27.044 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:42 Wednesday 06 July 2022 11:13:06 +0000 (0:00:00.050) 0:00:27.095 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:46 Wednesday 06 July 2022 11:13:06 +0000 (0:00:00.023) 0:00:27.118 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme2n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme2n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:56 Wednesday 06 July 2022 11:13:06 +0000 (0:00:00.041) 0:00:27.159 ******** included: /tmp/tmprua6lrek/tests/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:6 Wednesday 06 July 2022 11:13:06 +0000 (0:00:00.043) 0:00:27.203 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:12 Wednesday 06 July 2022 11:13:06 +0000 (0:00:00.025) 0:00:27.228 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:16 Wednesday 06 July 2022 11:13:06 +0000 (0:00:00.026) 0:00:27.254 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:20 Wednesday 06 July 2022 11:13:06 +0000 (0:00:00.025) 0:00:27.279 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:24 Wednesday 06 July 2022 11:13:07 +0000 (0:00:00.026) 0:00:27.305 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:30 Wednesday 06 July 2022 11:13:07 +0000 (0:00:00.024) 0:00:27.330 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:36 Wednesday 06 July 2022 11:13:07 +0000 (0:00:00.025) 0:00:27.355 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:44 Wednesday 06 July 2022 11:13:07 +0000 (0:00:00.026) 0:00:27.381 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:59 Wednesday 06 July 2022 11:13:07 +0000 (0:00:00.102) 0:00:27.484 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 11:13:07 +0000 (0:00:00.046) 0:00:27.531 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 11:13:07 +0000 (0:00:00.047) 0:00:27.578 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 11:13:07 +0000 (0:00:00.029) 0:00:27.607 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 11:13:07 +0000 (0:00:00.030) 0:00:27.637 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:62 Wednesday 06 July 2022 11:13:07 +0000 (0:00:00.031) 0:00:27.669 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 11:13:07 +0000 (0:00:00.048) 0:00:27.718 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmprua6lrek/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 11:13:07 +0000 (0:00:00.051) 0:00:27.769 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 11:13:07 +0000 (0:00:00.027) 0:00:27.796 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 11:13:07 +0000 (0:00:00.026) 0:00:27.822 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 11:13:07 +0000 (0:00:00.024) 0:00:27.847 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:65 Wednesday 06 July 2022 11:13:07 +0000 (0:00:00.025) 0:00:27.872 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 11:13:07 +0000 (0:00:00.049) 0:00:27.922 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 11:13:07 +0000 (0:00:00.051) 0:00:27.974 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme2n1) => { "_storage_test_pool_member_path": "/dev/nvme2n1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 11:13:07 +0000 (0:00:00.031) 0:00:28.005 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/nvme2n1) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 11:13:07 +0000 (0:00:00.044) 0:00:28.050 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:6 Wednesday 06 July 2022 11:13:07 +0000 (0:00:00.052) 0:00:28.103 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:11 Wednesday 06 July 2022 11:13:07 +0000 (0:00:00.046) 0:00:28.150 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:17 Wednesday 06 July 2022 11:13:07 +0000 (0:00:00.035) 0:00:28.185 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:23 Wednesday 06 July 2022 11:13:07 +0000 (0:00:00.036) 0:00:28.221 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:29 Wednesday 06 July 2022 11:13:07 +0000 (0:00:00.041) 0:00:28.263 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 11:13:08 +0000 (0:00:00.038) 0:00:28.301 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:68 Wednesday 06 July 2022 11:13:08 +0000 (0:00:00.036) 0:00:28.338 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 11:13:08 +0000 (0:00:00.051) 0:00:28.389 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmprua6lrek/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 11:13:08 +0000 (0:00:00.046) 0:00:28.436 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 11:13:08 +0000 (0:00:00.026) 0:00:28.462 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 11:13:08 +0000 (0:00:00.024) 0:00:28.487 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 11:13:08 +0000 (0:00:00.025) 0:00:28.512 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 11:13:08 +0000 (0:00:00.024) 0:00:28.537 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 11:13:08 +0000 (0:00:00.025) 0:00:28.563 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 11:13:08 +0000 (0:00:00.025) 0:00:28.588 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 11:13:08 +0000 (0:00:00.025) 0:00:28.614 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:71 Wednesday 06 July 2022 11:13:08 +0000 (0:00:00.112) 0:00:28.726 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 11:13:08 +0000 (0:00:00.037) 0:00:28.764 ******** included: /tmp/tmprua6lrek/tests/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmprua6lrek/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 11:13:08 +0000 (0:00:00.043) 0:00:28.808 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 11:13:08 +0000 (0:00:00.054) 0:00:28.862 ******** included: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 11:13:08 +0000 (0:00:00.084) 0:00:28.947 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 11:13:08 +0000 (0:00:00.043) 0:00:28.990 ******** ok: [/cache/fedora-35.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": "fd487f77-9621-4973-bbe1-5dd92ae5afde" } ], "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": "fd487f77-9621-4973-bbe1-5dd92ae5afde" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 11:13:08 +0000 (0:00:00.058) 0:00:29.049 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 11:13:08 +0000 (0:00:00.051) 0:00:29.101 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 11:13:08 +0000 (0:00:00.051) 0:00:29.152 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 11:13:08 +0000 (0:00:00.055) 0:00:29.207 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 11:13:08 +0000 (0:00:00.026) 0:00:29.233 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 11:13:08 +0000 (0:00:00.025) 0:00:29.259 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 11:13:08 +0000 (0:00:00.025) 0:00:29.284 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 11:13:09 +0000 (0:00:00.039) 0:00:29.323 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/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/tmprua6lrek/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 11:13:09 +0000 (0:00:00.062) 0:00:29.385 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 11:13:09 +0000 (0:00:00.052) 0:00:29.438 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 11:13:09 +0000 (0:00:00.052) 0:00:29.490 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 11:13:09 +0000 (0:00:00.038) 0:00:29.529 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 11:13:09 +0000 (0:00:00.034) 0:00:29.563 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 11:13:09 +0000 (0:00:00.041) 0:00:29.604 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 11:13:09 +0000 (0:00:00.041) 0:00:29.646 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657105981.263129, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657105979.429129, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 505, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657105979.429129, "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/tmprua6lrek/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 11:13:09 +0000 (0:00:00.415) 0:00:30.061 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 11:13:09 +0000 (0:00:00.040) 0:00:30.102 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 11:13:09 +0000 (0:00:00.041) 0:00:30.143 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 11:13:09 +0000 (0:00:00.038) 0:00:30.182 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 11:13:09 +0000 (0:00:00.026) 0:00:30.208 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 11:13:09 +0000 (0:00:00.039) 0:00:30.248 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 11:13:09 +0000 (0:00:00.027) 0:00:30.275 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 11:13:12 +0000 (0:00:02.086) 0:00:32.361 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 11:13:12 +0000 (0:00:00.035) 0:00:32.396 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 11:13:12 +0000 (0:00:00.034) 0:00:32.430 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 11:13:12 +0000 (0:00:00.059) 0:00:32.490 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 11:13:12 +0000 (0:00:00.026) 0:00:32.516 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 11:13:12 +0000 (0:00:00.027) 0:00:32.543 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 11:13:12 +0000 (0:00:00.025) 0:00:32.569 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 11:13:12 +0000 (0:00:00.024) 0:00:32.594 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 11:13:12 +0000 (0:00:00.023) 0:00:32.617 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 11:13:12 +0000 (0:00:00.056) 0:00:32.673 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 11:13:12 +0000 (0:00:00.053) 0:00:32.727 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 11:13:12 +0000 (0:00:00.040) 0:00:32.767 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 11:13:12 +0000 (0:00:00.037) 0:00:32.805 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 11:13:12 +0000 (0:00:00.035) 0:00:32.840 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 11:13:12 +0000 (0:00:00.035) 0:00:32.876 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 11:13:12 +0000 (0:00:00.037) 0:00:32.913 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 11:13:12 +0000 (0:00:00.039) 0:00:32.953 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 11:13:12 +0000 (0:00:00.038) 0:00:32.991 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 11:13:12 +0000 (0:00:00.037) 0:00:33.029 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 11:13:12 +0000 (0:00:00.035) 0:00:33.064 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 11:13:12 +0000 (0:00:00.036) 0:00:33.100 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 11:13:12 +0000 (0:00:00.035) 0:00:33.136 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 11:13:13 +0000 (0:00:00.539) 0:00:33.675 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 11:13:13 +0000 (0:00:00.442) 0:00:34.118 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 11:13:13 +0000 (0:00:00.088) 0:00:34.207 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 11:13:13 +0000 (0:00:00.038) 0:00:34.245 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 11:13:13 +0000 (0:00:00.036) 0:00:34.282 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 11:13:14 +0000 (0:00:00.039) 0:00:34.321 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 11:13:14 +0000 (0:00:00.097) 0:00:34.419 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 11:13:14 +0000 (0:00:00.037) 0:00:34.457 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 11:13:14 +0000 (0:00:00.040) 0:00:34.497 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 11:13:14 +0000 (0:00:00.038) 0:00:34.536 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 11:13:14 +0000 (0:00:00.035) 0:00:34.571 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 11:13:14 +0000 (0:00:00.051) 0:00:34.622 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.040747", "end": "2022-07-06 11:13:13.993683", "rc": 0, "start": "2022-07-06 11:13:13.952936" } 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/tmprua6lrek/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 11:13:14 +0000 (0:00:00.425) 0:00:35.048 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 11:13:14 +0000 (0:00:00.059) 0:00:35.107 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 11:13:14 +0000 (0:00:00.055) 0:00:35.163 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 11:13:14 +0000 (0:00:00.039) 0:00:35.203 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 11:13:14 +0000 (0:00:00.036) 0:00:35.240 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 11:13:14 +0000 (0:00:00.036) 0:00:35.276 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 11:13:15 +0000 (0:00:00.037) 0:00:35.314 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:40 Wednesday 06 July 2022 11:13:15 +0000 (0:00:00.039) 0:00:35.353 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:47 Wednesday 06 July 2022 11:13:15 +0000 (0:00:00.034) 0:00:35.388 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:57 Wednesday 06 July 2022 11:13:15 +0000 (0:00:00.022) 0:00:35.410 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Change volume_size to "9g"] ********************************************** task path: /tmp/tmprua6lrek/tests/tests_resize.yml:54 Wednesday 06 July 2022 11:13:15 +0000 (0:00:00.039) 0:00:35.449 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 11:13:15 +0000 (0:00:00.053) 0:00:35.503 ******** included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 11:13:15 +0000 (0:00:00.036) 0:00:35.539 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 11:13:15 +0000 (0:00:00.542) 0:00:36.082 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 11:13:15 +0000 (0:00:00.061) 0:00:36.144 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 11:13:15 +0000 (0:00:00.035) 0:00:36.179 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 11:13:15 +0000 (0:00:00.035) 0:00:36.215 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 11:13:15 +0000 (0:00:00.048) 0:00:36.263 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 11:13:15 +0000 (0:00:00.021) 0:00:36.285 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 11:13:16 +0000 (0:00:00.030) 0:00:36.315 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme2n1" ], "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 11:13:16 +0000 (0:00:00.100) 0:00:36.416 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 11:13:16 +0000 (0:00:00.050) 0:00:36.467 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 11:13:16 +0000 (0:00:00.029) 0:00:36.496 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 11:13:16 +0000 (0:00:00.028) 0:00:36.525 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 11:13:16 +0000 (0:00:00.026) 0:00:36.551 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 11:13:16 +0000 (0:00:00.029) 0:00:36.581 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 11:13:16 +0000 (0:00:00.056) 0:00:36.638 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 11:13:16 +0000 (0:00:00.022) 0:00:36.660 ******** changed: [/cache/fedora-35.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/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/mapper/foo-test1", "/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", "e2fsprogs", "btrfs-progs" ], "pools": [ { "disks": [ "nvme2n1" ], "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": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 11:13:18 +0000 (0:00:02.595) 0:00:39.255 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 11:13:19 +0000 (0:00:00.039) 0:00:39.294 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 11:13:19 +0000 (0:00:00.021) 0:00:39.316 ******** ok: [/cache/fedora-35.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/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/mapper/foo-test1", "/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", "e2fsprogs", "btrfs-progs" ], "pools": [ { "disks": [ "nvme2n1" ], "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": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 11:13:19 +0000 (0:00:00.037) 0:00:39.354 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme2n1" ], "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": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 11:13:19 +0000 (0:00:00.038) 0:00:39.392 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 11:13:19 +0000 (0:00:00.049) 0:00:39.441 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 11:13:19 +0000 (0:00:00.044) 0:00:39.486 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 11:13:19 +0000 (0:00:00.741) 0:00:40.227 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 11:13:20 +0000 (0:00:00.460) 0:00:40.688 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 11:13:21 +0000 (0:00:00.784) 0:00:41.472 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 11:13:21 +0000 (0:00:00.411) 0:00:41.884 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 11:13:21 +0000 (0:00:00.025) 0:00:41.909 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/tests_resize.yml:68 Wednesday 06 July 2022 11:13:22 +0000 (0:00:01.005) 0:00:42.914 ******** included: /tmp/tmprua6lrek/tests/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:1 Wednesday 06 July 2022 11:13:22 +0000 (0:00:00.047) 0:00:42.961 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme2n1" ], "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": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmprua6lrek/tests/verify-role-results.yml:6 Wednesday 06 July 2022 11:13:22 +0000 (0:00:00.052) 0:00:43.013 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:14 Wednesday 06 July 2022 11:13:22 +0000 (0:00:00.037) 0:00:43.051 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "9G", "type": "lvm", "uuid": "fd487f77-9621-4973-bbe1-5dd92ae5afde" }, "/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": "LVM2_member", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "WJhlYi-c3NV-CLKN-eRdZ-bjU5-8E4i-Kfme5F" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-11-12-27-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:19 Wednesday 06 July 2022 11:13:23 +0000 (0:00:00.417) 0:00:43.468 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.004321", "end": "2022-07-06 11:13:23.826506", "rc": 0, "start": "2022-07-06 11:13:22.822185" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:24 Wednesday 06 July 2022 11:13:24 +0000 (0:00:01.414) 0:00:44.883 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002963", "end": "2022-07-06 11:13:24.225458", "failed_when_result": false, "rc": 0, "start": "2022-07-06 11:13:24.222495" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:33 Wednesday 06 July 2022 11:13:24 +0000 (0:00:00.393) 0:00:45.276 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['nvme2n1'], '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/test-verify-pool.yml:5 Wednesday 06 July 2022 11:13:25 +0000 (0:00:00.062) 0:00:45.339 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool.yml:18 Wednesday 06 July 2022 11:13:25 +0000 (0:00:00.037) 0:00:45.376 ******** included: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmprua6lrek/tests/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:1 Wednesday 06 July 2022 11:13:25 +0000 (0:00:00.049) 0:00:45.426 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme2n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:10 Wednesday 06 July 2022 11:13:25 +0000 (0:00:00.056) 0:00:45.483 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme2n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme2n1", "pv": "/dev/nvme2n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:19 Wednesday 06 July 2022 11:13:25 +0000 (0:00:00.393) 0:00:45.876 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:23 Wednesday 06 July 2022 11:13:25 +0000 (0:00:00.084) 0:00:45.961 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme2n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:27 Wednesday 06 July 2022 11:13:25 +0000 (0:00:00.051) 0:00:46.012 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:34 Wednesday 06 July 2022 11:13:25 +0000 (0:00:00.085) 0:00:46.098 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:38 Wednesday 06 July 2022 11:13:25 +0000 (0:00:00.107) 0:00:46.205 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:42 Wednesday 06 July 2022 11:13:25 +0000 (0:00:00.049) 0:00:46.254 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:46 Wednesday 06 July 2022 11:13:25 +0000 (0:00:00.025) 0:00:46.280 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme2n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme2n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:56 Wednesday 06 July 2022 11:13:26 +0000 (0:00:00.048) 0:00:46.328 ******** included: /tmp/tmprua6lrek/tests/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:6 Wednesday 06 July 2022 11:13:26 +0000 (0:00:00.045) 0:00:46.373 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:12 Wednesday 06 July 2022 11:13:26 +0000 (0:00:00.025) 0:00:46.399 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:16 Wednesday 06 July 2022 11:13:26 +0000 (0:00:00.027) 0:00:46.426 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:20 Wednesday 06 July 2022 11:13:26 +0000 (0:00:00.025) 0:00:46.452 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:24 Wednesday 06 July 2022 11:13:26 +0000 (0:00:00.036) 0:00:46.489 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:30 Wednesday 06 July 2022 11:13:26 +0000 (0:00:00.026) 0:00:46.515 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:36 Wednesday 06 July 2022 11:13:26 +0000 (0:00:00.025) 0:00:46.540 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:44 Wednesday 06 July 2022 11:13:26 +0000 (0:00:00.030) 0:00:46.571 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:59 Wednesday 06 July 2022 11:13:26 +0000 (0:00:00.037) 0:00:46.609 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 11:13:26 +0000 (0:00:00.051) 0:00:46.661 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 11:13:26 +0000 (0:00:00.044) 0:00:46.705 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 11:13:26 +0000 (0:00:00.029) 0:00:46.735 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 11:13:26 +0000 (0:00:00.033) 0:00:46.768 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:62 Wednesday 06 July 2022 11:13:26 +0000 (0:00:00.028) 0:00:46.797 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 11:13:26 +0000 (0:00:00.045) 0:00:46.842 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 11:13:26 +0000 (0:00:00.045) 0:00:46.888 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 11:13:26 +0000 (0:00:00.023) 0:00:46.912 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 11:13:26 +0000 (0:00:00.023) 0:00:46.936 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 11:13:26 +0000 (0:00:00.022) 0:00:46.958 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:65 Wednesday 06 July 2022 11:13:26 +0000 (0:00:00.023) 0:00:46.982 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 11:13:26 +0000 (0:00:00.046) 0:00:47.029 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 11:13:26 +0000 (0:00:00.048) 0:00:47.077 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme2n1) => { "_storage_test_pool_member_path": "/dev/nvme2n1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 11:13:26 +0000 (0:00:00.028) 0:00:47.105 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/nvme2n1) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 11:13:26 +0000 (0:00:00.047) 0:00:47.153 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:6 Wednesday 06 July 2022 11:13:26 +0000 (0:00:00.052) 0:00:47.205 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:11 Wednesday 06 July 2022 11:13:26 +0000 (0:00:00.053) 0:00:47.259 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:17 Wednesday 06 July 2022 11:13:27 +0000 (0:00:00.041) 0:00:47.301 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:23 Wednesday 06 July 2022 11:13:27 +0000 (0:00:00.038) 0:00:47.339 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:29 Wednesday 06 July 2022 11:13:27 +0000 (0:00:00.039) 0:00:47.378 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 11:13:27 +0000 (0:00:00.087) 0:00:47.466 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:68 Wednesday 06 July 2022 11:13:27 +0000 (0:00:00.080) 0:00:47.547 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 11:13:27 +0000 (0:00:00.048) 0:00:47.595 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 11:13:27 +0000 (0:00:00.045) 0:00:47.641 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 11:13:27 +0000 (0:00:00.026) 0:00:47.667 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 11:13:27 +0000 (0:00:00.025) 0:00:47.693 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 11:13:27 +0000 (0:00:00.029) 0:00:47.722 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 11:13:27 +0000 (0:00:00.027) 0:00:47.750 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 11:13:27 +0000 (0:00:00.027) 0:00:47.777 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 11:13:27 +0000 (0:00:00.027) 0:00:47.804 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 11:13:27 +0000 (0:00:00.027) 0:00:47.831 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:71 Wednesday 06 July 2022 11:13:27 +0000 (0:00:00.036) 0:00:47.867 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 11:13:27 +0000 (0:00:00.038) 0:00:47.905 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 11:13:27 +0000 (0:00:00.046) 0:00:47.952 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 11:13:27 +0000 (0:00:00.052) 0:00:48.004 ******** included: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 11:13:27 +0000 (0:00:00.081) 0:00:48.085 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 11:13:27 +0000 (0:00:00.043) 0:00:48.129 ******** ok: [/cache/fedora-35.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": "fd487f77-9621-4973-bbe1-5dd92ae5afde" } ], "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": "fd487f77-9621-4973-bbe1-5dd92ae5afde" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 11:13:27 +0000 (0:00:00.061) 0:00:48.191 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 11:13:27 +0000 (0:00:00.059) 0:00:48.251 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 11:13:28 +0000 (0:00:00.056) 0:00:48.307 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 11:13:28 +0000 (0:00:00.058) 0:00:48.366 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 11:13:28 +0000 (0:00:00.026) 0:00:48.392 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 11:13:28 +0000 (0:00:00.025) 0:00:48.418 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 11:13:28 +0000 (0:00:00.023) 0:00:48.441 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 11:13:28 +0000 (0:00:00.038) 0:00:48.480 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/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/tmprua6lrek/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 11:13:28 +0000 (0:00:00.062) 0:00:48.543 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 11:13:28 +0000 (0:00:00.053) 0:00:48.596 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 11:13:28 +0000 (0:00:00.053) 0:00:48.650 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 11:13:28 +0000 (0:00:00.036) 0:00:48.687 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 11:13:28 +0000 (0:00:00.038) 0:00:48.725 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 11:13:28 +0000 (0:00:00.041) 0:00:48.767 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 11:13:28 +0000 (0:00:00.043) 0:00:48.811 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657105999.629129, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657105998.1531289, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 505, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657105998.1531289, "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/tmprua6lrek/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 11:13:28 +0000 (0:00:00.412) 0:00:49.224 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 11:13:28 +0000 (0:00:00.039) 0:00:49.264 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 11:13:29 +0000 (0:00:00.040) 0:00:49.304 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 11:13:29 +0000 (0:00:00.039) 0:00:49.344 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 11:13:29 +0000 (0:00:00.026) 0:00:49.370 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 11:13:29 +0000 (0:00:00.040) 0:00:49.410 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 11:13:29 +0000 (0:00:00.023) 0:00:49.434 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 11:13:31 +0000 (0:00:02.051) 0:00:51.485 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 11:13:31 +0000 (0:00:00.027) 0:00:51.512 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 11:13:31 +0000 (0:00:00.026) 0:00:51.539 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 11:13:31 +0000 (0:00:00.055) 0:00:51.594 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 11:13:31 +0000 (0:00:00.025) 0:00:51.620 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 11:13:31 +0000 (0:00:00.026) 0:00:51.647 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 11:13:31 +0000 (0:00:00.025) 0:00:51.672 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 11:13:31 +0000 (0:00:00.025) 0:00:51.698 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 11:13:31 +0000 (0:00:00.025) 0:00:51.723 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 11:13:31 +0000 (0:00:00.054) 0:00:51.778 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 11:13:31 +0000 (0:00:00.050) 0:00:51.829 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 11:13:31 +0000 (0:00:00.037) 0:00:51.866 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 11:13:31 +0000 (0:00:00.035) 0:00:51.901 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 11:13:31 +0000 (0:00:00.040) 0:00:51.942 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 11:13:31 +0000 (0:00:00.036) 0:00:51.979 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 11:13:31 +0000 (0:00:00.038) 0:00:52.017 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 11:13:31 +0000 (0:00:00.036) 0:00:52.054 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 11:13:31 +0000 (0:00:00.051) 0:00:52.105 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 11:13:31 +0000 (0:00:00.038) 0:00:52.144 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 11:13:31 +0000 (0:00:00.037) 0:00:52.182 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 11:13:31 +0000 (0:00:00.049) 0:00:52.231 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 11:13:31 +0000 (0:00:00.044) 0:00:52.275 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 11:13:32 +0000 (0:00:00.416) 0:00:52.692 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 11:13:32 +0000 (0:00:00.424) 0:00:53.116 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "9663676416" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 11:13:32 +0000 (0:00:00.087) 0:00:53.203 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "9663676416" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 11:13:32 +0000 (0:00:00.081) 0:00:53.285 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 11:13:33 +0000 (0:00:00.074) 0:00:53.360 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 11:13:33 +0000 (0:00:00.039) 0:00:53.400 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 11:13:33 +0000 (0:00:00.037) 0:00:53.437 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 11:13:33 +0000 (0:00:00.038) 0:00:53.476 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 11:13:33 +0000 (0:00:00.038) 0:00:53.514 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 9663676416, "changed": false, "failed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 11:13:33 +0000 (0:00:00.040) 0:00:53.554 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "9663676416" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 11:13:33 +0000 (0:00:00.042) 0:00:53.597 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 11:13:33 +0000 (0:00:00.062) 0:00:53.659 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.037160", "end": "2022-07-06 11:13:33.039939", "rc": 0, "start": "2022-07-06 11:13:33.002779" } 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/tmprua6lrek/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 11:13:33 +0000 (0:00:00.435) 0:00:54.095 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 11:13:33 +0000 (0:00:00.055) 0:00:54.151 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 11:13:33 +0000 (0:00:00.059) 0:00:54.210 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 11:13:33 +0000 (0:00:00.039) 0:00:54.250 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 11:13:33 +0000 (0:00:00.040) 0:00:54.290 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 11:13:34 +0000 (0:00:00.049) 0:00:54.340 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 11:13:34 +0000 (0:00:00.039) 0:00:54.379 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:40 Wednesday 06 July 2022 11:13:34 +0000 (0:00:00.038) 0:00:54.417 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:47 Wednesday 06 July 2022 11:13:34 +0000 (0:00:00.037) 0:00:54.455 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:57 Wednesday 06 July 2022 11:13:34 +0000 (0:00:00.026) 0:00:54.481 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Change volume size to "5g"] ********************************************** task path: /tmp/tmprua6lrek/tests/tests_resize.yml:70 Wednesday 06 July 2022 11:13:34 +0000 (0:00:00.038) 0:00:54.520 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 11:13:34 +0000 (0:00:00.056) 0:00:54.577 ******** included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 11:13:34 +0000 (0:00:00.037) 0:00:54.614 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 11:13:34 +0000 (0:00:00.549) 0:00:55.164 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 11:13:34 +0000 (0:00:00.065) 0:00:55.230 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 11:13:34 +0000 (0:00:00.037) 0:00:55.267 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 11:13:35 +0000 (0:00:00.036) 0:00:55.303 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 11:13:35 +0000 (0:00:00.086) 0:00:55.389 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 11:13:35 +0000 (0:00:00.023) 0:00:55.413 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 11:13:35 +0000 (0:00:00.028) 0:00:55.442 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme2n1" ], "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 11:13:35 +0000 (0:00:00.041) 0:00:55.484 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 11:13:35 +0000 (0:00:00.041) 0:00:55.525 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 11:13:35 +0000 (0:00:00.030) 0:00:55.556 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 11:13:35 +0000 (0:00:00.029) 0:00:55.585 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 11:13:35 +0000 (0:00:00.028) 0:00:55.614 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 11:13:35 +0000 (0:00:00.031) 0:00:55.646 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 11:13:35 +0000 (0:00:00.059) 0:00:55.705 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 11:13:35 +0000 (0:00:00.024) 0:00:55.730 ******** changed: [/cache/fedora-35.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/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/mapper/foo-test1", "/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": [ "btrfs-progs", "dosfstools", "lvm2", "e2fsprogs" ], "pools": [ { "disks": [ "nvme2n1" ], "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": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 11:13:38 +0000 (0:00:02.700) 0:00:58.430 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 11:13:38 +0000 (0:00:00.039) 0:00:58.469 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 11:13:38 +0000 (0:00:00.024) 0:00:58.494 ******** ok: [/cache/fedora-35.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/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/mapper/foo-test1", "/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": [ "btrfs-progs", "dosfstools", "lvm2", "e2fsprogs" ], "pools": [ { "disks": [ "nvme2n1" ], "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": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 11:13:38 +0000 (0:00:00.040) 0:00:58.534 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme2n1" ], "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": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 11:13:38 +0000 (0:00:00.039) 0:00:58.574 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 11:13:38 +0000 (0:00:00.037) 0:00:58.612 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 11:13:38 +0000 (0:00:00.042) 0:00:58.654 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 11:13:39 +0000 (0:00:00.741) 0:00:59.396 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 11:13:39 +0000 (0:00:00.451) 0:00:59.847 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 11:13:40 +0000 (0:00:00.749) 0:01:00.597 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 11:13:40 +0000 (0:00:00.448) 0:01:01.046 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 11:13:40 +0000 (0:00:00.024) 0:01:01.070 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/tests_resize.yml:84 Wednesday 06 July 2022 11:13:41 +0000 (0:00:00.997) 0:01:02.067 ******** included: /tmp/tmprua6lrek/tests/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:1 Wednesday 06 July 2022 11:13:41 +0000 (0:00:00.047) 0:01:02.115 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme2n1" ], "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": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmprua6lrek/tests/verify-role-results.yml:6 Wednesday 06 July 2022 11:13:41 +0000 (0:00:00.054) 0:01:02.169 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:14 Wednesday 06 July 2022 11:13:41 +0000 (0:00:00.041) 0:01:02.211 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "fd487f77-9621-4973-bbe1-5dd92ae5afde" }, "/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": "LVM2_member", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "WJhlYi-c3NV-CLKN-eRdZ-bjU5-8E4i-Kfme5F" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-11-12-27-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:19 Wednesday 06 July 2022 11:13:42 +0000 (0:00:00.414) 0:01:02.625 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002961", "end": "2022-07-06 11:13:41.985765", "rc": 0, "start": "2022-07-06 11:13:41.982804" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:24 Wednesday 06 July 2022 11:13:42 +0000 (0:00:00.413) 0:01:03.038 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002842", "end": "2022-07-06 11:13:42.366529", "failed_when_result": false, "rc": 0, "start": "2022-07-06 11:13:42.363687" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:33 Wednesday 06 July 2022 11:13:43 +0000 (0:00:00.379) 0:01:03.418 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['nvme2n1'], '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/test-verify-pool.yml:5 Wednesday 06 July 2022 11:13:43 +0000 (0:00:00.060) 0:01:03.479 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool.yml:18 Wednesday 06 July 2022 11:13:43 +0000 (0:00:00.033) 0:01:03.512 ******** included: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmprua6lrek/tests/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:1 Wednesday 06 July 2022 11:13:43 +0000 (0:00:00.046) 0:01:03.558 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme2n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:10 Wednesday 06 July 2022 11:13:43 +0000 (0:00:00.094) 0:01:03.653 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme2n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme2n1", "pv": "/dev/nvme2n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:19 Wednesday 06 July 2022 11:13:43 +0000 (0:00:00.482) 0:01:04.135 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:23 Wednesday 06 July 2022 11:13:43 +0000 (0:00:00.052) 0:01:04.187 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme2n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:27 Wednesday 06 July 2022 11:13:43 +0000 (0:00:00.053) 0:01:04.241 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:34 Wednesday 06 July 2022 11:13:44 +0000 (0:00:00.053) 0:01:04.295 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:38 Wednesday 06 July 2022 11:13:44 +0000 (0:00:00.037) 0:01:04.332 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:42 Wednesday 06 July 2022 11:13:44 +0000 (0:00:00.049) 0:01:04.381 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:46 Wednesday 06 July 2022 11:13:44 +0000 (0:00:00.023) 0:01:04.405 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme2n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme2n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:56 Wednesday 06 July 2022 11:13:44 +0000 (0:00:00.043) 0:01:04.448 ******** included: /tmp/tmprua6lrek/tests/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:6 Wednesday 06 July 2022 11:13:44 +0000 (0:00:00.046) 0:01:04.495 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:12 Wednesday 06 July 2022 11:13:44 +0000 (0:00:00.025) 0:01:04.520 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:16 Wednesday 06 July 2022 11:13:44 +0000 (0:00:00.024) 0:01:04.545 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:20 Wednesday 06 July 2022 11:13:44 +0000 (0:00:00.025) 0:01:04.570 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:24 Wednesday 06 July 2022 11:13:44 +0000 (0:00:00.024) 0:01:04.595 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:30 Wednesday 06 July 2022 11:13:44 +0000 (0:00:00.022) 0:01:04.618 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:36 Wednesday 06 July 2022 11:13:44 +0000 (0:00:00.023) 0:01:04.641 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:44 Wednesday 06 July 2022 11:13:44 +0000 (0:00:00.024) 0:01:04.666 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:59 Wednesday 06 July 2022 11:13:44 +0000 (0:00:00.034) 0:01:04.701 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 11:13:44 +0000 (0:00:00.043) 0:01:04.745 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 11:13:44 +0000 (0:00:00.044) 0:01:04.790 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 11:13:44 +0000 (0:00:00.028) 0:01:04.818 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 11:13:44 +0000 (0:00:00.033) 0:01:04.852 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:62 Wednesday 06 July 2022 11:13:44 +0000 (0:00:00.029) 0:01:04.882 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 11:13:44 +0000 (0:00:00.053) 0:01:04.935 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 11:13:44 +0000 (0:00:00.049) 0:01:04.985 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 11:13:44 +0000 (0:00:00.026) 0:01:05.011 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 11:13:44 +0000 (0:00:00.026) 0:01:05.038 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 11:13:44 +0000 (0:00:00.024) 0:01:05.062 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:65 Wednesday 06 July 2022 11:13:44 +0000 (0:00:00.026) 0:01:05.089 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 11:13:44 +0000 (0:00:00.049) 0:01:05.138 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 11:13:44 +0000 (0:00:00.050) 0:01:05.189 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme2n1) => { "_storage_test_pool_member_path": "/dev/nvme2n1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 11:13:44 +0000 (0:00:00.029) 0:01:05.218 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/nvme2n1) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 11:13:44 +0000 (0:00:00.044) 0:01:05.263 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:6 Wednesday 06 July 2022 11:13:45 +0000 (0:00:00.088) 0:01:05.351 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:11 Wednesday 06 July 2022 11:13:45 +0000 (0:00:00.135) 0:01:05.486 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:17 Wednesday 06 July 2022 11:13:45 +0000 (0:00:00.037) 0:01:05.524 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:23 Wednesday 06 July 2022 11:13:45 +0000 (0:00:00.036) 0:01:05.561 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:29 Wednesday 06 July 2022 11:13:45 +0000 (0:00:00.039) 0:01:05.601 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 11:13:45 +0000 (0:00:00.041) 0:01:05.642 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:68 Wednesday 06 July 2022 11:13:45 +0000 (0:00:00.037) 0:01:05.679 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 11:13:45 +0000 (0:00:00.049) 0:01:05.728 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 11:13:45 +0000 (0:00:00.049) 0:01:05.778 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 11:13:45 +0000 (0:00:00.026) 0:01:05.804 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 11:13:45 +0000 (0:00:00.025) 0:01:05.830 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 11:13:45 +0000 (0:00:00.027) 0:01:05.858 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 11:13:45 +0000 (0:00:00.025) 0:01:05.883 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 11:13:45 +0000 (0:00:00.026) 0:01:05.909 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 11:13:45 +0000 (0:00:00.026) 0:01:05.936 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 11:13:45 +0000 (0:00:00.026) 0:01:05.962 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:71 Wednesday 06 July 2022 11:13:45 +0000 (0:00:00.035) 0:01:05.997 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 11:13:45 +0000 (0:00:00.036) 0:01:06.034 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 11:13:45 +0000 (0:00:00.045) 0:01:06.079 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 11:13:45 +0000 (0:00:00.049) 0:01:06.129 ******** included: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 11:13:45 +0000 (0:00:00.082) 0:01:06.211 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 11:13:45 +0000 (0:00:00.042) 0:01:06.254 ******** ok: [/cache/fedora-35.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": "fd487f77-9621-4973-bbe1-5dd92ae5afde" } ], "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": "fd487f77-9621-4973-bbe1-5dd92ae5afde" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 11:13:46 +0000 (0:00:00.059) 0:01:06.313 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 11:13:46 +0000 (0:00:00.050) 0:01:06.363 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 11:13:46 +0000 (0:00:00.052) 0:01:06.416 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 11:13:46 +0000 (0:00:00.054) 0:01:06.471 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 11:13:46 +0000 (0:00:00.024) 0:01:06.496 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 11:13:46 +0000 (0:00:00.025) 0:01:06.522 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 11:13:46 +0000 (0:00:00.026) 0:01:06.549 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 11:13:46 +0000 (0:00:00.038) 0:01:06.588 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/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/tmprua6lrek/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 11:13:46 +0000 (0:00:00.062) 0:01:06.651 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 11:13:46 +0000 (0:00:00.051) 0:01:06.702 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 11:13:46 +0000 (0:00:00.051) 0:01:06.754 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 11:13:46 +0000 (0:00:00.043) 0:01:06.798 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 11:13:46 +0000 (0:00:00.092) 0:01:06.890 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 11:13:46 +0000 (0:00:00.128) 0:01:07.019 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 11:13:46 +0000 (0:00:00.043) 0:01:07.062 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657106018.7921288, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657106017.2921288, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 505, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657106017.2921288, "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/tmprua6lrek/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 11:13:47 +0000 (0:00:00.414) 0:01:07.476 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 11:13:47 +0000 (0:00:00.042) 0:01:07.518 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 11:13:47 +0000 (0:00:00.044) 0:01:07.563 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 11:13:47 +0000 (0:00:00.040) 0:01:07.604 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 11:13:47 +0000 (0:00:00.026) 0:01:07.631 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 11:13:47 +0000 (0:00:00.041) 0:01:07.673 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 11:13:47 +0000 (0:00:00.025) 0:01:07.698 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 11:13:49 +0000 (0:00:02.033) 0:01:09.731 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 11:13:49 +0000 (0:00:00.026) 0:01:09.757 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 11:13:49 +0000 (0:00:00.026) 0:01:09.784 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 11:13:49 +0000 (0:00:00.056) 0:01:09.840 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 11:13:49 +0000 (0:00:00.026) 0:01:09.866 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 11:13:49 +0000 (0:00:00.025) 0:01:09.892 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 11:13:49 +0000 (0:00:00.023) 0:01:09.916 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 11:13:49 +0000 (0:00:00.026) 0:01:09.942 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 11:13:49 +0000 (0:00:00.025) 0:01:09.968 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 11:13:49 +0000 (0:00:00.054) 0:01:10.022 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 11:13:49 +0000 (0:00:00.051) 0:01:10.073 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 11:13:49 +0000 (0:00:00.040) 0:01:10.113 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 11:13:49 +0000 (0:00:00.038) 0:01:10.151 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 11:13:49 +0000 (0:00:00.041) 0:01:10.193 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 11:13:49 +0000 (0:00:00.046) 0:01:10.240 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 11:13:50 +0000 (0:00:00.052) 0:01:10.292 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 11:13:50 +0000 (0:00:00.040) 0:01:10.332 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 11:13:50 +0000 (0:00:00.041) 0:01:10.373 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 11:13:50 +0000 (0:00:00.038) 0:01:10.412 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 11:13:50 +0000 (0:00:00.041) 0:01:10.453 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 11:13:50 +0000 (0:00:00.039) 0:01:10.493 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 11:13:50 +0000 (0:00:00.039) 0:01:10.532 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 11:13:50 +0000 (0:00:00.391) 0:01:10.923 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 11:13:51 +0000 (0:00:00.438) 0:01:11.362 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 11:13:51 +0000 (0:00:00.122) 0:01:11.484 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 11:13:51 +0000 (0:00:00.038) 0:01:11.522 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 11:13:51 +0000 (0:00:00.038) 0:01:11.561 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 11:13:51 +0000 (0:00:00.038) 0:01:11.600 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 11:13:51 +0000 (0:00:00.040) 0:01:11.640 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 11:13:51 +0000 (0:00:00.037) 0:01:11.677 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 11:13:51 +0000 (0:00:00.036) 0:01:11.713 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 11:13:51 +0000 (0:00:00.044) 0:01:11.758 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 11:13:51 +0000 (0:00:00.041) 0:01:11.800 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 11:13:51 +0000 (0:00:00.055) 0:01:11.855 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.035515", "end": "2022-07-06 11:13:51.233743", "rc": 0, "start": "2022-07-06 11:13:51.198228" } 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/tmprua6lrek/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 11:13:51 +0000 (0:00:00.431) 0:01:12.287 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 11:13:52 +0000 (0:00:00.055) 0:01:12.342 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 11:13:52 +0000 (0:00:00.061) 0:01:12.404 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 11:13:52 +0000 (0:00:00.040) 0:01:12.445 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 11:13:52 +0000 (0:00:00.045) 0:01:12.490 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 11:13:52 +0000 (0:00:00.041) 0:01:12.532 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 11:13:52 +0000 (0:00:00.038) 0:01:12.571 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:40 Wednesday 06 July 2022 11:13:52 +0000 (0:00:00.039) 0:01:12.610 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:47 Wednesday 06 July 2022 11:13:52 +0000 (0:00:00.039) 0:01:12.650 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:57 Wednesday 06 July 2022 11:13:52 +0000 (0:00:00.022) 0:01:12.672 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Try to create LVM with a too-large volume size, resize to "12884901888.0"] *** task path: /tmp/tmprua6lrek/tests/tests_resize.yml:88 Wednesday 06 July 2022 11:13:52 +0000 (0:00:00.053) 0:01:12.726 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 11:13:52 +0000 (0:00:00.047) 0:01:12.773 ******** included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 11:13:52 +0000 (0:00:00.036) 0:01:12.810 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 11:13:53 +0000 (0:00:00.534) 0:01:13.345 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 11:13:53 +0000 (0:00:00.065) 0:01:13.411 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 11:13:53 +0000 (0:00:00.046) 0:01:13.457 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 11:13:53 +0000 (0:00:00.077) 0:01:13.535 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 11:13:53 +0000 (0:00:00.086) 0:01:13.621 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 11:13:53 +0000 (0:00:00.021) 0:01:13.643 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 11:13:53 +0000 (0:00:00.027) 0:01:13.670 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme2n1" ], "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 11:13:53 +0000 (0:00:00.044) 0:01:13.715 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 11:13:53 +0000 (0:00:00.035) 0:01:13.751 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 11:13:53 +0000 (0:00:00.027) 0:01:13.779 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 11:13:53 +0000 (0:00:00.028) 0:01:13.807 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 11:13:53 +0000 (0:00:00.035) 0:01:13.842 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 11:13:53 +0000 (0:00:00.030) 0:01:13.872 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 11:13:53 +0000 (0:00:00.050) 0:01:13.922 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 11:13:53 +0000 (0:00:00.025) 0:01:13.947 ******** fatal: [/cache/fedora-35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:99 Wednesday 06 July 2022 11:13:55 +0000 (0:00:02.081) 0:01:16.029 ******** fatal: [/cache/fedora-35.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': ['nvme2n1'], '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 11:13:55 +0000 (0:00:00.051) 0:01:16.080 ******** TASK [Check that we failed in the role] **************************************** task path: /tmp/tmprua6lrek/tests/tests_resize.yml:106 Wednesday 06 July 2022 11:13:55 +0000 (0:00:00.031) 0:01:16.112 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output] ******************************************************* task path: /tmp/tmprua6lrek/tests/tests_resize.yml:112 Wednesday 06 July 2022 11:13:55 +0000 (0:00:00.043) 0:01:16.155 ******** ok: [/cache/fedora-35.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/tmprua6lrek/tests/tests_resize.yml:121 Wednesday 06 July 2022 11:13:55 +0000 (0:00:00.046) 0:01:16.202 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 11:13:55 +0000 (0:00:00.039) 0:01:16.242 ******** included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 11:13:55 +0000 (0:00:00.038) 0:01:16.280 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 11:13:56 +0000 (0:00:00.561) 0:01:16.841 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 11:13:56 +0000 (0:00:00.062) 0:01:16.904 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 11:13:56 +0000 (0:00:00.072) 0:01:16.976 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 11:13:56 +0000 (0:00:00.080) 0:01:17.056 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 11:13:56 +0000 (0:00:00.052) 0:01:17.108 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 11:13:56 +0000 (0:00:00.061) 0:01:17.170 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 11:13:56 +0000 (0:00:00.029) 0:01:17.199 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme2n1" ], "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 11:13:56 +0000 (0:00:00.041) 0:01:17.240 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 11:13:56 +0000 (0:00:00.037) 0:01:17.278 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 11:13:57 +0000 (0:00:00.032) 0:01:17.310 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 11:13:57 +0000 (0:00:00.030) 0:01:17.341 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 11:13:57 +0000 (0:00:00.030) 0:01:17.372 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 11:13:57 +0000 (0:00:00.031) 0:01:17.403 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 11:13:57 +0000 (0:00:00.051) 0:01:17.455 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 11:13:57 +0000 (0:00:00.023) 0:01:17.478 ******** changed: [/cache/fedora-35.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/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/mapper/foo-test1", "/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", "e2fsprogs", "btrfs-progs", "lvm2" ], "pools": [ { "disks": [ "nvme2n1" ], "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": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 11:13:59 +0000 (0:00:02.745) 0:01:20.224 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 11:13:59 +0000 (0:00:00.025) 0:01:20.249 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 11:13:59 +0000 (0:00:00.023) 0:01:20.273 ******** ok: [/cache/fedora-35.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/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/mapper/foo-test1", "/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", "e2fsprogs", "btrfs-progs", "lvm2" ], "pools": [ { "disks": [ "nvme2n1" ], "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": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 11:14:00 +0000 (0:00:00.040) 0:01:20.313 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme2n1" ], "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": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 11:14:00 +0000 (0:00:00.038) 0:01:20.352 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 11:14:00 +0000 (0:00:00.039) 0:01:20.391 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 11:14:00 +0000 (0:00:00.030) 0:01:20.421 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 11:14:00 +0000 (0:00:00.744) 0:01:21.166 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 11:14:01 +0000 (0:00:00.446) 0:01:21.612 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 11:14:02 +0000 (0:00:00.775) 0:01:22.387 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 11:14:02 +0000 (0:00:00.428) 0:01:22.816 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 11:14:02 +0000 (0:00:00.023) 0:01:22.839 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/tests_resize.yml:134 Wednesday 06 July 2022 11:14:03 +0000 (0:00:00.977) 0:01:23.817 ******** included: /tmp/tmprua6lrek/tests/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:1 Wednesday 06 July 2022 11:14:03 +0000 (0:00:00.068) 0:01:23.885 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme2n1" ], "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": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmprua6lrek/tests/verify-role-results.yml:6 Wednesday 06 July 2022 11:14:03 +0000 (0:00:00.041) 0:01:23.926 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:14 Wednesday 06 July 2022 11:14:03 +0000 (0:00:00.029) 0:01:23.956 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "10G", "type": "lvm", "uuid": "fd487f77-9621-4973-bbe1-5dd92ae5afde" }, "/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": "LVM2_member", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "WJhlYi-c3NV-CLKN-eRdZ-bjU5-8E4i-Kfme5F" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-11-12-27-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:19 Wednesday 06 July 2022 11:14:04 +0000 (0:00:00.405) 0:01:24.361 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002979", "end": "2022-07-06 11:14:03.698236", "rc": 0, "start": "2022-07-06 11:14:03.695257" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:24 Wednesday 06 July 2022 11:14:04 +0000 (0:00:00.392) 0:01:24.753 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002951", "end": "2022-07-06 11:14:04.100334", "failed_when_result": false, "rc": 0, "start": "2022-07-06 11:14:04.097383" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:33 Wednesday 06 July 2022 11:14:04 +0000 (0:00:00.402) 0:01:25.156 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['nvme2n1'], '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/test-verify-pool.yml:5 Wednesday 06 July 2022 11:14:04 +0000 (0:00:00.052) 0:01:25.208 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool.yml:18 Wednesday 06 July 2022 11:14:04 +0000 (0:00:00.038) 0:01:25.246 ******** included: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmprua6lrek/tests/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:1 Wednesday 06 July 2022 11:14:05 +0000 (0:00:00.050) 0:01:25.297 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme2n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:10 Wednesday 06 July 2022 11:14:05 +0000 (0:00:00.045) 0:01:25.342 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme2n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme2n1", "pv": "/dev/nvme2n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:19 Wednesday 06 July 2022 11:14:05 +0000 (0:00:00.398) 0:01:25.741 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:23 Wednesday 06 July 2022 11:14:05 +0000 (0:00:00.043) 0:01:25.784 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme2n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:27 Wednesday 06 July 2022 11:14:05 +0000 (0:00:00.042) 0:01:25.827 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:34 Wednesday 06 July 2022 11:14:05 +0000 (0:00:00.038) 0:01:25.866 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:38 Wednesday 06 July 2022 11:14:05 +0000 (0:00:00.037) 0:01:25.903 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:42 Wednesday 06 July 2022 11:14:05 +0000 (0:00:00.040) 0:01:25.944 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:46 Wednesday 06 July 2022 11:14:05 +0000 (0:00:00.024) 0:01:25.969 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme2n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme2n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:56 Wednesday 06 July 2022 11:14:05 +0000 (0:00:00.044) 0:01:26.014 ******** included: /tmp/tmprua6lrek/tests/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:6 Wednesday 06 July 2022 11:14:05 +0000 (0:00:00.043) 0:01:26.057 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:12 Wednesday 06 July 2022 11:14:05 +0000 (0:00:00.024) 0:01:26.082 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:16 Wednesday 06 July 2022 11:14:05 +0000 (0:00:00.025) 0:01:26.107 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:20 Wednesday 06 July 2022 11:14:05 +0000 (0:00:00.025) 0:01:26.133 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:24 Wednesday 06 July 2022 11:14:05 +0000 (0:00:00.028) 0:01:26.161 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:30 Wednesday 06 July 2022 11:14:05 +0000 (0:00:00.087) 0:01:26.248 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:36 Wednesday 06 July 2022 11:14:05 +0000 (0:00:00.027) 0:01:26.275 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:44 Wednesday 06 July 2022 11:14:06 +0000 (0:00:00.026) 0:01:26.302 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:59 Wednesday 06 July 2022 11:14:06 +0000 (0:00:00.038) 0:01:26.341 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 11:14:06 +0000 (0:00:00.048) 0:01:26.389 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 11:14:06 +0000 (0:00:00.046) 0:01:26.436 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 11:14:06 +0000 (0:00:00.031) 0:01:26.467 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 11:14:06 +0000 (0:00:00.030) 0:01:26.497 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:62 Wednesday 06 July 2022 11:14:06 +0000 (0:00:00.028) 0:01:26.525 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 11:14:06 +0000 (0:00:00.046) 0:01:26.571 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 11:14:06 +0000 (0:00:00.045) 0:01:26.617 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 11:14:06 +0000 (0:00:00.027) 0:01:26.644 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 11:14:06 +0000 (0:00:00.025) 0:01:26.670 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 11:14:06 +0000 (0:00:00.025) 0:01:26.695 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:65 Wednesday 06 July 2022 11:14:06 +0000 (0:00:00.025) 0:01:26.721 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 11:14:06 +0000 (0:00:00.050) 0:01:26.771 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 11:14:06 +0000 (0:00:00.041) 0:01:26.812 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme2n1) => { "_storage_test_pool_member_path": "/dev/nvme2n1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 11:14:06 +0000 (0:00:00.028) 0:01:26.841 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/nvme2n1) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 11:14:06 +0000 (0:00:00.043) 0:01:26.884 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:6 Wednesday 06 July 2022 11:14:06 +0000 (0:00:00.038) 0:01:26.922 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:11 Wednesday 06 July 2022 11:14:06 +0000 (0:00:00.041) 0:01:26.964 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:17 Wednesday 06 July 2022 11:14:06 +0000 (0:00:00.031) 0:01:26.995 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:23 Wednesday 06 July 2022 11:14:06 +0000 (0:00:00.025) 0:01:27.021 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:29 Wednesday 06 July 2022 11:14:06 +0000 (0:00:00.027) 0:01:27.048 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 11:14:06 +0000 (0:00:00.038) 0:01:27.087 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:68 Wednesday 06 July 2022 11:14:06 +0000 (0:00:00.038) 0:01:27.125 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 11:14:06 +0000 (0:00:00.047) 0:01:27.173 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 11:14:06 +0000 (0:00:00.047) 0:01:27.220 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 11:14:06 +0000 (0:00:00.026) 0:01:27.247 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 11:14:06 +0000 (0:00:00.025) 0:01:27.272 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 11:14:07 +0000 (0:00:00.026) 0:01:27.298 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 11:14:07 +0000 (0:00:00.026) 0:01:27.325 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 11:14:07 +0000 (0:00:00.023) 0:01:27.349 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 11:14:07 +0000 (0:00:00.023) 0:01:27.372 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 11:14:07 +0000 (0:00:00.025) 0:01:27.397 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:71 Wednesday 06 July 2022 11:14:07 +0000 (0:00:00.081) 0:01:27.479 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 11:14:07 +0000 (0:00:00.038) 0:01:27.517 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 11:14:07 +0000 (0:00:00.047) 0:01:27.565 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 11:14:07 +0000 (0:00:00.040) 0:01:27.606 ******** included: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 11:14:07 +0000 (0:00:00.083) 0:01:27.689 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 11:14:07 +0000 (0:00:00.047) 0:01:27.736 ******** ok: [/cache/fedora-35.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": "fd487f77-9621-4973-bbe1-5dd92ae5afde" } ], "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": "fd487f77-9621-4973-bbe1-5dd92ae5afde" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 11:14:07 +0000 (0:00:00.051) 0:01:27.788 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 11:14:07 +0000 (0:00:00.043) 0:01:27.832 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 11:14:07 +0000 (0:00:00.040) 0:01:27.873 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 11:14:07 +0000 (0:00:00.042) 0:01:27.915 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 11:14:07 +0000 (0:00:00.023) 0:01:27.938 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 11:14:07 +0000 (0:00:00.026) 0:01:27.965 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 11:14:07 +0000 (0:00:00.026) 0:01:27.992 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 11:14:07 +0000 (0:00:00.035) 0:01:28.028 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/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/tmprua6lrek/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 11:14:07 +0000 (0:00:00.052) 0:01:28.080 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 11:14:07 +0000 (0:00:00.041) 0:01:28.121 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 11:14:07 +0000 (0:00:00.040) 0:01:28.161 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 11:14:07 +0000 (0:00:00.024) 0:01:28.186 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 11:14:07 +0000 (0:00:00.036) 0:01:28.223 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 11:14:07 +0000 (0:00:00.036) 0:01:28.259 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 11:14:08 +0000 (0:00:00.050) 0:01:28.310 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657106040.554129, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657106039.1241288, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 505, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657106039.1241288, "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/tmprua6lrek/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 11:14:08 +0000 (0:00:00.417) 0:01:28.728 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 11:14:08 +0000 (0:00:00.037) 0:01:28.765 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 11:14:08 +0000 (0:00:00.037) 0:01:28.803 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 11:14:08 +0000 (0:00:00.036) 0:01:28.840 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 11:14:08 +0000 (0:00:00.024) 0:01:28.865 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 11:14:08 +0000 (0:00:00.038) 0:01:28.903 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 11:14:08 +0000 (0:00:00.023) 0:01:28.927 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 11:14:10 +0000 (0:00:02.043) 0:01:30.970 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 11:14:10 +0000 (0:00:00.026) 0:01:30.997 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 11:14:10 +0000 (0:00:00.024) 0:01:31.021 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 11:14:10 +0000 (0:00:00.040) 0:01:31.062 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 11:14:10 +0000 (0:00:00.023) 0:01:31.085 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 11:14:10 +0000 (0:00:00.022) 0:01:31.107 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 11:14:10 +0000 (0:00:00.022) 0:01:31.130 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 11:14:10 +0000 (0:00:00.022) 0:01:31.152 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 11:14:10 +0000 (0:00:00.023) 0:01:31.176 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 11:14:10 +0000 (0:00:00.038) 0:01:31.215 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 11:14:10 +0000 (0:00:00.038) 0:01:31.253 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 11:14:10 +0000 (0:00:00.024) 0:01:31.278 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 11:14:11 +0000 (0:00:00.029) 0:01:31.307 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 11:14:11 +0000 (0:00:00.025) 0:01:31.333 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 11:14:11 +0000 (0:00:00.038) 0:01:31.371 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 11:14:11 +0000 (0:00:00.026) 0:01:31.397 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 11:14:11 +0000 (0:00:00.030) 0:01:31.428 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 11:14:11 +0000 (0:00:00.027) 0:01:31.455 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 11:14:11 +0000 (0:00:00.028) 0:01:31.484 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 11:14:11 +0000 (0:00:00.028) 0:01:31.513 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 11:14:11 +0000 (0:00:00.034) 0:01:31.547 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 11:14:11 +0000 (0:00:00.028) 0:01:31.576 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 10737418240, "changed": false, "lvm": "10g", "parted": "10GiB", "size": "10 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 11:14:11 +0000 (0:00:00.393) 0:01:31.970 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 10737418240, "changed": false, "lvm": "10g", "parted": "10GiB", "size": "10 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 11:14:12 +0000 (0:00:00.372) 0:01:32.343 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "10737418240" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 11:14:12 +0000 (0:00:00.041) 0:01:32.384 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "10737418240" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 11:14:12 +0000 (0:00:00.044) 0:01:32.428 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 11:14:12 +0000 (0:00:00.027) 0:01:32.456 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 11:14:12 +0000 (0:00:00.031) 0:01:32.487 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 11:14:12 +0000 (0:00:00.029) 0:01:32.517 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 11:14:12 +0000 (0:00:00.029) 0:01:32.547 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 11:14:12 +0000 (0:00:00.028) 0:01:32.575 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 10737418240, "changed": false, "failed": false, "lvm": "10g", "parted": "10GiB", "size": "10 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 11:14:12 +0000 (0:00:00.041) 0:01:32.617 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "10737418240" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 11:14:12 +0000 (0:00:00.038) 0:01:32.656 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 11:14:12 +0000 (0:00:00.054) 0:01:32.710 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.041612", "end": "2022-07-06 11:14:12.107884", "rc": 0, "start": "2022-07-06 11:14:12.066272" } 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/tmprua6lrek/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 11:14:12 +0000 (0:00:00.451) 0:01:33.162 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 11:14:12 +0000 (0:00:00.127) 0:01:33.289 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 11:14:13 +0000 (0:00:00.047) 0:01:33.337 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 11:14:13 +0000 (0:00:00.030) 0:01:33.368 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 11:14:13 +0000 (0:00:00.030) 0:01:33.399 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 11:14:13 +0000 (0:00:00.029) 0:01:33.429 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 11:14:13 +0000 (0:00:00.033) 0:01:33.462 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:40 Wednesday 06 July 2022 11:14:13 +0000 (0:00:00.037) 0:01:33.499 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:47 Wednesday 06 July 2022 11:14:13 +0000 (0:00:00.074) 0:01:33.574 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:57 Wednesday 06 July 2022 11:14:13 +0000 (0:00:00.023) 0:01:33.597 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Try to create LVM with an invalid size specification, resize to "xyz GiB"] *** task path: /tmp/tmprua6lrek/tests/tests_resize.yml:138 Wednesday 06 July 2022 11:14:13 +0000 (0:00:00.034) 0:01:33.632 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 11:14:13 +0000 (0:00:00.039) 0:01:33.671 ******** included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 11:14:13 +0000 (0:00:00.076) 0:01:33.748 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 11:14:13 +0000 (0:00:00.532) 0:01:34.280 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 11:14:14 +0000 (0:00:00.067) 0:01:34.347 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 11:14:14 +0000 (0:00:00.037) 0:01:34.385 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 11:14:14 +0000 (0:00:00.035) 0:01:34.421 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 11:14:14 +0000 (0:00:00.046) 0:01:34.467 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 11:14:14 +0000 (0:00:00.021) 0:01:34.489 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 11:14:14 +0000 (0:00:00.029) 0:01:34.518 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme2n1" ], "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 11:14:14 +0000 (0:00:00.040) 0:01:34.559 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 11:14:14 +0000 (0:00:00.038) 0:01:34.597 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 11:14:14 +0000 (0:00:00.030) 0:01:34.627 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 11:14:14 +0000 (0:00:00.028) 0:01:34.656 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 11:14:14 +0000 (0:00:00.028) 0:01:34.685 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 11:14:14 +0000 (0:00:00.028) 0:01:34.714 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 11:14:14 +0000 (0:00:00.047) 0:01:34.762 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 11:14:14 +0000 (0:00:00.023) 0:01:34.785 ******** fatal: [/cache/fedora-35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:99 Wednesday 06 July 2022 11:14:16 +0000 (0:00:01.867) 0:01:36.652 ******** fatal: [/cache/fedora-35.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': ['nvme2n1'], '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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 11:14:16 +0000 (0:00:00.042) 0:01:36.694 ******** TASK [Check that we failed in the role] **************************************** task path: /tmp/tmprua6lrek/tests/tests_resize.yml:156 Wednesday 06 July 2022 11:14:16 +0000 (0:00:00.023) 0:01:36.718 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output] ******************************************************* task path: /tmp/tmprua6lrek/tests/tests_resize.yml:162 Wednesday 06 July 2022 11:14:16 +0000 (0:00:00.036) 0:01:36.755 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Try to create LVM with an invalid size specification, resize to "none"] *** task path: /tmp/tmprua6lrek/tests/tests_resize.yml:171 Wednesday 06 July 2022 11:14:16 +0000 (0:00:00.040) 0:01:36.795 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 11:14:16 +0000 (0:00:00.040) 0:01:36.836 ******** included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 11:14:16 +0000 (0:00:00.034) 0:01:36.871 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 11:14:17 +0000 (0:00:00.602) 0:01:37.474 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 11:14:17 +0000 (0:00:00.064) 0:01:37.538 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 11:14:17 +0000 (0:00:00.033) 0:01:37.572 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 11:14:17 +0000 (0:00:00.035) 0:01:37.607 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 11:14:17 +0000 (0:00:00.051) 0:01:37.658 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 11:14:17 +0000 (0:00:00.023) 0:01:37.682 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 11:14:17 +0000 (0:00:00.032) 0:01:37.714 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme2n1" ], "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 11:14:17 +0000 (0:00:00.047) 0:01:37.762 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 11:14:17 +0000 (0:00:00.041) 0:01:37.804 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 11:14:17 +0000 (0:00:00.027) 0:01:37.831 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 11:14:17 +0000 (0:00:00.026) 0:01:37.858 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 11:14:17 +0000 (0:00:00.030) 0:01:37.889 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 11:14:17 +0000 (0:00:00.034) 0:01:37.923 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 11:14:17 +0000 (0:00:00.049) 0:01:37.973 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 11:14:17 +0000 (0:00:00.024) 0:01:37.998 ******** fatal: [/cache/fedora-35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:99 Wednesday 06 July 2022 11:14:19 +0000 (0:00:01.899) 0:01:39.898 ******** fatal: [/cache/fedora-35.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': ['nvme2n1'], '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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 11:14:19 +0000 (0:00:00.039) 0:01:39.937 ******** TASK [Check that we failed in the role] **************************************** task path: /tmp/tmprua6lrek/tests/tests_resize.yml:189 Wednesday 06 July 2022 11:14:19 +0000 (0:00:00.022) 0:01:39.960 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output] ******************************************************* task path: /tmp/tmprua6lrek/tests/tests_resize.yml:195 Wednesday 06 July 2022 11:14:19 +0000 (0:00:00.038) 0:01:39.999 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Clean up] **************************************************************** task path: /tmp/tmprua6lrek/tests/tests_resize.yml:202 Wednesday 06 July 2022 11:14:19 +0000 (0:00:00.040) 0:01:40.039 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 11:14:19 +0000 (0:00:00.042) 0:01:40.081 ******** included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 11:14:19 +0000 (0:00:00.036) 0:01:40.118 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 11:14:20 +0000 (0:00:00.586) 0:01:40.705 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 11:14:20 +0000 (0:00:00.097) 0:01:40.802 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 11:14:20 +0000 (0:00:00.071) 0:01:40.874 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 11:14:20 +0000 (0:00:00.055) 0:01:40.929 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 11:14:20 +0000 (0:00:00.059) 0:01:40.988 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 11:14:20 +0000 (0:00:00.058) 0:01:41.046 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 11:14:20 +0000 (0:00:00.030) 0:01:41.077 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme2n1" ], "name": "foo", "state": "absent", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 11:14:20 +0000 (0:00:00.042) 0:01:41.119 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 11:14:20 +0000 (0:00:00.040) 0:01:41.159 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 11:14:20 +0000 (0:00:00.035) 0:01:41.195 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 11:14:20 +0000 (0:00:00.029) 0:01:41.225 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 11:14:20 +0000 (0:00:00.027) 0:01:41.252 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 11:14:20 +0000 (0:00:00.026) 0:01:41.279 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 11:14:21 +0000 (0:00:00.047) 0:01:41.327 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 11:14:21 +0000 (0:00:00.028) 0:01:41.356 ******** changed: [/cache/fedora-35.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/nvme2n1", "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", "e2fsprogs", "dosfstools" ], "pools": [ { "disks": [ "nvme2n1" ], "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": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 11:14:23 +0000 (0:00:02.687) 0:01:44.043 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 11:14:23 +0000 (0:00:00.029) 0:01:44.072 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 11:14:23 +0000 (0:00:00.025) 0:01:44.097 ******** ok: [/cache/fedora-35.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/nvme2n1", "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", "e2fsprogs", "dosfstools" ], "pools": [ { "disks": [ "nvme2n1" ], "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": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 11:14:23 +0000 (0:00:00.043) 0:01:44.141 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme2n1" ], "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": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 11:14:23 +0000 (0:00:00.041) 0:01:44.182 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 11:14:23 +0000 (0:00:00.041) 0:01:44.224 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 11:14:24 +0000 (0:00:00.421) 0:01:44.646 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 11:14:25 +0000 (0:00:00.752) 0:01:45.398 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 11:14:25 +0000 (0:00:00.032) 0:01:45.431 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 11:14:25 +0000 (0:00:00.734) 0:01:46.165 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 11:14:26 +0000 (0:00:00.407) 0:01:46.572 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 11:14:26 +0000 (0:00:00.024) 0:01:46.597 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/tests_resize.yml:215 Wednesday 06 July 2022 11:14:27 +0000 (0:00:00.959) 0:01:47.557 ******** included: /tmp/tmprua6lrek/tests/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:1 Wednesday 06 July 2022 11:14:27 +0000 (0:00:00.041) 0:01:47.598 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme2n1" ], "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": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmprua6lrek/tests/verify-role-results.yml:6 Wednesday 06 July 2022 11:14:27 +0000 (0:00:00.091) 0:01:47.689 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:14 Wednesday 06 July 2022 11:14:27 +0000 (0:00:00.028) 0:01:47.718 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-11-12-27-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:19 Wednesday 06 July 2022 11:14:27 +0000 (0:00:00.457) 0:01:48.176 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003292", "end": "2022-07-06 11:14:27.526181", "rc": 0, "start": "2022-07-06 11:14:27.522889" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:24 Wednesday 06 July 2022 11:14:28 +0000 (0:00:00.408) 0:01:48.584 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003007", "end": "2022-07-06 11:14:27.914790", "failed_when_result": false, "rc": 0, "start": "2022-07-06 11:14:27.911783" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:33 Wednesday 06 July 2022 11:14:28 +0000 (0:00:00.383) 0:01:48.968 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['nvme2n1'], '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/test-verify-pool.yml:5 Wednesday 06 July 2022 11:14:28 +0000 (0:00:00.049) 0:01:49.017 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool.yml:18 Wednesday 06 July 2022 11:14:28 +0000 (0:00:00.035) 0:01:49.053 ******** included: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmprua6lrek/tests/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:1 Wednesday 06 July 2022 11:14:28 +0000 (0:00:00.046) 0:01:49.100 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "0", "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:10 Wednesday 06 July 2022 11:14:28 +0000 (0:00:00.041) 0:01:49.141 ******** TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:19 Wednesday 06 July 2022 11:14:28 +0000 (0:00:00.021) 0:01:49.162 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:23 Wednesday 06 July 2022 11:14:28 +0000 (0:00:00.038) 0:01:49.201 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:27 Wednesday 06 July 2022 11:14:28 +0000 (0:00:00.039) 0:01:49.241 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:34 Wednesday 06 July 2022 11:14:28 +0000 (0:00:00.045) 0:01:49.287 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:38 Wednesday 06 July 2022 11:14:29 +0000 (0:00:00.039) 0:01:49.326 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:42 Wednesday 06 July 2022 11:14:29 +0000 (0:00:00.043) 0:01:49.370 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:46 Wednesday 06 July 2022 11:14:29 +0000 (0:00:00.026) 0:01:49.396 ******** TASK [Check MD RAID] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:56 Wednesday 06 July 2022 11:14:29 +0000 (0:00:00.024) 0:01:49.420 ******** included: /tmp/tmprua6lrek/tests/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:6 Wednesday 06 July 2022 11:14:29 +0000 (0:00:00.041) 0:01:49.462 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:12 Wednesday 06 July 2022 11:14:29 +0000 (0:00:00.025) 0:01:49.488 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:16 Wednesday 06 July 2022 11:14:29 +0000 (0:00:00.026) 0:01:49.514 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:20 Wednesday 06 July 2022 11:14:29 +0000 (0:00:00.026) 0:01:49.540 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:24 Wednesday 06 July 2022 11:14:29 +0000 (0:00:00.024) 0:01:49.565 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:30 Wednesday 06 July 2022 11:14:29 +0000 (0:00:00.025) 0:01:49.591 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:36 Wednesday 06 July 2022 11:14:29 +0000 (0:00:00.025) 0:01:49.617 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:44 Wednesday 06 July 2022 11:14:29 +0000 (0:00:00.026) 0:01:49.643 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:59 Wednesday 06 July 2022 11:14:29 +0000 (0:00:00.080) 0:01:49.724 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 11:14:29 +0000 (0:00:00.049) 0:01:49.773 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 11:14:29 +0000 (0:00:00.054) 0:01:49.828 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 11:14:29 +0000 (0:00:00.074) 0:01:49.903 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 11:14:29 +0000 (0:00:00.030) 0:01:49.934 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:62 Wednesday 06 July 2022 11:14:29 +0000 (0:00:00.028) 0:01:49.962 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 11:14:29 +0000 (0:00:00.045) 0:01:50.007 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 11:14:29 +0000 (0:00:00.042) 0:01:50.050 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 11:14:29 +0000 (0:00:00.022) 0:01:50.072 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 11:14:29 +0000 (0:00:00.027) 0:01:50.100 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 11:14:29 +0000 (0:00:00.025) 0:01:50.125 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:65 Wednesday 06 July 2022 11:14:29 +0000 (0:00:00.024) 0:01:50.150 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 11:14:29 +0000 (0:00:00.047) 0:01:50.198 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 11:14:29 +0000 (0:00:00.037) 0:01:50.236 ******** TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 11:14:29 +0000 (0:00:00.021) 0:01:50.257 ******** TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 11:14:29 +0000 (0:00:00.020) 0:01:50.278 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:68 Wednesday 06 July 2022 11:14:30 +0000 (0:00:00.036) 0:01:50.314 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 11:14:30 +0000 (0:00:00.050) 0:01:50.365 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 11:14:30 +0000 (0:00:00.047) 0:01:50.413 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 11:14:30 +0000 (0:00:00.024) 0:01:50.437 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 11:14:30 +0000 (0:00:00.026) 0:01:50.463 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 11:14:30 +0000 (0:00:00.026) 0:01:50.490 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 11:14:30 +0000 (0:00:00.025) 0:01:50.515 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 11:14:30 +0000 (0:00:00.024) 0:01:50.540 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 11:14:30 +0000 (0:00:00.023) 0:01:50.564 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 11:14:30 +0000 (0:00:00.027) 0:01:50.591 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:71 Wednesday 06 July 2022 11:14:30 +0000 (0:00:00.034) 0:01:50.626 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 11:14:30 +0000 (0:00:00.036) 0:01:50.662 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 11:14:30 +0000 (0:00:00.042) 0:01:50.704 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 11:14:30 +0000 (0:00:00.035) 0:01:50.740 ******** included: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 11:14:30 +0000 (0:00:00.076) 0:01:50.816 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 11:14:30 +0000 (0:00:00.041) 0:01:50.858 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 11:14:30 +0000 (0:00:00.050) 0:01:50.908 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 11:14:30 +0000 (0:00:00.024) 0:01:50.932 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 11:14:30 +0000 (0:00:00.036) 0:01:50.969 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 11:14:30 +0000 (0:00:00.029) 0:01:50.999 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 11:14:30 +0000 (0:00:00.035) 0:01:51.034 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 11:14:30 +0000 (0:00:00.074) 0:01:51.108 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 11:14:30 +0000 (0:00:00.024) 0:01:51.133 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 11:14:30 +0000 (0:00:00.034) 0:01:51.167 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 11:14:30 +0000 (0:00:00.053) 0:01:51.220 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 11:14:30 +0000 (0:00:00.025) 0:01:51.245 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 11:14:30 +0000 (0:00:00.042) 0:01:51.288 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 11:14:31 +0000 (0:00:00.026) 0:01:51.315 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 11:14:31 +0000 (0:00:00.035) 0:01:51.350 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 11:14:31 +0000 (0:00:00.026) 0:01:51.377 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 11:14:31 +0000 (0:00:00.024) 0:01:51.401 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 11:14:31 +0000 (0:00:00.389) 0:01:51.791 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 11:14:31 +0000 (0:00:00.042) 0:01:51.833 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 11:14:31 +0000 (0:00:00.023) 0:01:51.857 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 11:14:31 +0000 (0:00:00.035) 0:01:51.892 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 11:14:31 +0000 (0:00:00.023) 0:01:51.916 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 11:14:31 +0000 (0:00:00.024) 0:01:51.941 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 11:14:31 +0000 (0:00:00.022) 0:01:51.963 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 11:14:33 +0000 (0:00:02.052) 0:01:54.016 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 11:14:33 +0000 (0:00:00.024) 0:01:54.040 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 11:14:33 +0000 (0:00:00.023) 0:01:54.063 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 11:14:33 +0000 (0:00:00.023) 0:01:54.087 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 11:14:33 +0000 (0:00:00.024) 0:01:54.111 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 11:14:33 +0000 (0:00:00.023) 0:01:54.134 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 11:14:33 +0000 (0:00:00.023) 0:01:54.158 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 11:14:33 +0000 (0:00:00.025) 0:01:54.183 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 11:14:33 +0000 (0:00:00.024) 0:01:54.208 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 11:14:33 +0000 (0:00:00.038) 0:01:54.246 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 11:14:33 +0000 (0:00:00.037) 0:01:54.283 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 11:14:34 +0000 (0:00:00.024) 0:01:54.307 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 11:14:34 +0000 (0:00:00.028) 0:01:54.336 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 11:14:34 +0000 (0:00:00.027) 0:01:54.364 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 11:14:34 +0000 (0:00:00.038) 0:01:54.402 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 11:14:34 +0000 (0:00:00.028) 0:01:54.430 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 11:14:34 +0000 (0:00:00.029) 0:01:54.460 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 11:14:34 +0000 (0:00:00.028) 0:01:54.488 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 11:14:34 +0000 (0:00:00.027) 0:01:54.516 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 11:14:34 +0000 (0:00:00.026) 0:01:54.542 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 11:14:34 +0000 (0:00:00.030) 0:01:54.572 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 11:14:34 +0000 (0:00:00.026) 0:01:54.599 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 11:14:34 +0000 (0:00:00.026) 0:01:54.625 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 11:14:34 +0000 (0:00:00.025) 0:01:54.651 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 11:14:34 +0000 (0:00:00.029) 0:01:54.680 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "10737418240" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 11:14:34 +0000 (0:00:00.038) 0:01:54.719 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 11:14:34 +0000 (0:00:00.025) 0:01:54.745 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 11:14:34 +0000 (0:00:00.024) 0:01:54.769 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 11:14:34 +0000 (0:00:00.028) 0:01:54.798 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 11:14:34 +0000 (0:00:00.028) 0:01:54.827 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 11:14:34 +0000 (0:00:00.027) 0:01:54.854 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 11:14:34 +0000 (0:00:00.120) 0:01:54.975 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "10737418240" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 11:14:34 +0000 (0:00:00.040) 0:01:55.015 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 11:14:34 +0000 (0:00:00.026) 0:01:55.042 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 11:14:34 +0000 (0:00:00.026) 0:01:55.069 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 11:14:34 +0000 (0:00:00.030) 0:01:55.099 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 11:14:34 +0000 (0:00:00.027) 0:01:55.126 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 11:14:34 +0000 (0:00:00.024) 0:01:55.151 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 11:14:34 +0000 (0:00:00.025) 0:01:55.176 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 11:14:34 +0000 (0:00:00.028) 0:01:55.205 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 11:14:34 +0000 (0:00:00.025) 0:01:55.230 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:40 Wednesday 06 July 2022 11:14:34 +0000 (0:00:00.038) 0:01:55.269 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:47 Wednesday 06 July 2022 11:14:35 +0000 (0:00:00.038) 0:01:55.307 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:57 Wednesday 06 July 2022 11:14:35 +0000 (0:00:00.026) 0:01:55.333 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Create a LVM logical volume with "5g" for ext3 FS] *********************** task path: /tmp/tmprua6lrek/tests/tests_resize.yml:219 Wednesday 06 July 2022 11:14:35 +0000 (0:00:00.036) 0:01:55.370 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 11:14:35 +0000 (0:00:00.049) 0:01:55.419 ******** included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 11:14:35 +0000 (0:00:00.035) 0:01:55.455 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 11:14:35 +0000 (0:00:00.524) 0:01:55.979 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 11:14:35 +0000 (0:00:00.067) 0:01:56.046 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 11:14:35 +0000 (0:00:00.037) 0:01:56.084 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 11:14:35 +0000 (0:00:00.034) 0:01:56.119 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 11:14:35 +0000 (0:00:00.049) 0:01:56.168 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 11:14:35 +0000 (0:00:00.024) 0:01:56.193 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 11:14:35 +0000 (0:00:00.029) 0:01:56.223 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme2n1" ], "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 11:14:35 +0000 (0:00:00.040) 0:01:56.263 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 11:14:36 +0000 (0:00:00.040) 0:01:56.304 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 11:14:36 +0000 (0:00:00.031) 0:01:56.336 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 11:14:36 +0000 (0:00:00.028) 0:01:56.365 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 11:14:36 +0000 (0:00:00.029) 0:01:56.395 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 11:14:36 +0000 (0:00:00.029) 0:01:56.424 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 11:14:36 +0000 (0:00:00.054) 0:01:56.479 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 11:14:36 +0000 (0:00:00.026) 0:01:56.506 ******** changed: [/cache/fedora-35.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/nvme2n1", "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/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/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": [ "lvm2", "btrfs-progs", "e2fsprogs", "dosfstools" ], "pools": [ { "disks": [ "nvme2n1" ], "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 11:14:38 +0000 (0:00:02.456) 0:01:58.962 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 11:14:38 +0000 (0:00:00.026) 0:01:58.989 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 11:14:38 +0000 (0:00:00.022) 0:01:59.012 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/nvme2n1", "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/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/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": [ "lvm2", "btrfs-progs", "e2fsprogs", "dosfstools" ], "pools": [ { "disks": [ "nvme2n1" ], "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 11:14:38 +0000 (0:00:00.038) 0:01:59.050 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme2n1" ], "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 11:14:38 +0000 (0:00:00.035) 0:01:59.086 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 11:14:38 +0000 (0:00:00.039) 0:01:59.125 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 11:14:38 +0000 (0:00:00.029) 0:01:59.155 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 11:14:39 +0000 (0:00:00.741) 0:01:59.896 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 11:14:40 +0000 (0:00:00.437) 0:02:00.334 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 11:14:40 +0000 (0:00:00.729) 0:02:01.064 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 11:14:41 +0000 (0:00:00.416) 0:02:01.481 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 11:14:41 +0000 (0:00:00.023) 0:02:01.505 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/tests_resize.yml:233 Wednesday 06 July 2022 11:14:42 +0000 (0:00:00.953) 0:02:02.458 ******** included: /tmp/tmprua6lrek/tests/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:1 Wednesday 06 July 2022 11:14:42 +0000 (0:00:00.045) 0:02:02.504 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme2n1" ], "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/tmprua6lrek/tests/verify-role-results.yml:6 Wednesday 06 July 2022 11:14:42 +0000 (0:00:00.043) 0:02:02.548 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:14 Wednesday 06 July 2022 11:14:42 +0000 (0:00:00.026) 0:02:02.574 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext3", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "4728f50f-592b-4a0b-bdb5-80386ffb604b" }, "/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": "LVM2_member", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "VmTo4R-a4qF-TcDi-h0uy-vmlD-gtNS-dxEHxJ" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-11-12-27-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:19 Wednesday 06 July 2022 11:14:42 +0000 (0:00:00.400) 0:02:02.975 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003024", "end": "2022-07-06 11:14:42.351417", "rc": 0, "start": "2022-07-06 11:14:42.348393" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 ext3 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:24 Wednesday 06 July 2022 11:14:43 +0000 (0:00:00.430) 0:02:03.406 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002807", "end": "2022-07-06 11:14:42.736100", "failed_when_result": false, "rc": 0, "start": "2022-07-06 11:14:42.733293" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:33 Wednesday 06 July 2022 11:14:43 +0000 (0:00:00.384) 0:02:03.791 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['nvme2n1'], '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/tmprua6lrek/tests/test-verify-pool.yml:5 Wednesday 06 July 2022 11:14:43 +0000 (0:00:00.104) 0:02:03.896 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool.yml:18 Wednesday 06 July 2022 11:14:43 +0000 (0:00:00.034) 0:02:03.930 ******** included: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmprua6lrek/tests/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:1 Wednesday 06 July 2022 11:14:43 +0000 (0:00:00.045) 0:02:03.976 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme2n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:10 Wednesday 06 July 2022 11:14:43 +0000 (0:00:00.047) 0:02:04.024 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme2n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme2n1", "pv": "/dev/nvme2n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:19 Wednesday 06 July 2022 11:14:44 +0000 (0:00:00.397) 0:02:04.422 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:23 Wednesday 06 July 2022 11:14:44 +0000 (0:00:00.039) 0:02:04.462 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme2n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:27 Wednesday 06 July 2022 11:14:44 +0000 (0:00:00.039) 0:02:04.502 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:34 Wednesday 06 July 2022 11:14:44 +0000 (0:00:00.039) 0:02:04.541 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:38 Wednesday 06 July 2022 11:14:44 +0000 (0:00:00.038) 0:02:04.579 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:42 Wednesday 06 July 2022 11:14:44 +0000 (0:00:00.043) 0:02:04.623 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:46 Wednesday 06 July 2022 11:14:44 +0000 (0:00:00.025) 0:02:04.649 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme2n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme2n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:56 Wednesday 06 July 2022 11:14:44 +0000 (0:00:00.041) 0:02:04.690 ******** included: /tmp/tmprua6lrek/tests/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:6 Wednesday 06 July 2022 11:14:44 +0000 (0:00:00.042) 0:02:04.733 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:12 Wednesday 06 July 2022 11:14:44 +0000 (0:00:00.023) 0:02:04.757 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:16 Wednesday 06 July 2022 11:14:44 +0000 (0:00:00.023) 0:02:04.781 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:20 Wednesday 06 July 2022 11:14:44 +0000 (0:00:00.024) 0:02:04.805 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:24 Wednesday 06 July 2022 11:14:44 +0000 (0:00:00.025) 0:02:04.831 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:30 Wednesday 06 July 2022 11:14:44 +0000 (0:00:00.025) 0:02:04.856 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:36 Wednesday 06 July 2022 11:14:44 +0000 (0:00:00.023) 0:02:04.880 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:44 Wednesday 06 July 2022 11:14:44 +0000 (0:00:00.023) 0:02:04.904 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:59 Wednesday 06 July 2022 11:14:44 +0000 (0:00:00.037) 0:02:04.941 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 11:14:44 +0000 (0:00:00.043) 0:02:04.984 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 11:14:44 +0000 (0:00:00.045) 0:02:05.029 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 11:14:44 +0000 (0:00:00.027) 0:02:05.057 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 11:14:44 +0000 (0:00:00.031) 0:02:05.088 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:62 Wednesday 06 July 2022 11:14:44 +0000 (0:00:00.030) 0:02:05.119 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 11:14:44 +0000 (0:00:00.045) 0:02:05.164 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmprua6lrek/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 11:14:44 +0000 (0:00:00.045) 0:02:05.210 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 11:14:44 +0000 (0:00:00.026) 0:02:05.236 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 11:14:44 +0000 (0:00:00.025) 0:02:05.262 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 11:14:44 +0000 (0:00:00.023) 0:02:05.285 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:65 Wednesday 06 July 2022 11:14:45 +0000 (0:00:00.025) 0:02:05.311 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 11:14:45 +0000 (0:00:00.080) 0:02:05.391 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 11:14:45 +0000 (0:00:00.041) 0:02:05.433 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme2n1) => { "_storage_test_pool_member_path": "/dev/nvme2n1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 11:14:45 +0000 (0:00:00.030) 0:02:05.464 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/nvme2n1) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 11:14:45 +0000 (0:00:00.045) 0:02:05.510 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:6 Wednesday 06 July 2022 11:14:45 +0000 (0:00:00.042) 0:02:05.552 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:11 Wednesday 06 July 2022 11:14:45 +0000 (0:00:00.041) 0:02:05.593 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:17 Wednesday 06 July 2022 11:14:45 +0000 (0:00:00.031) 0:02:05.624 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:23 Wednesday 06 July 2022 11:14:45 +0000 (0:00:00.027) 0:02:05.652 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:29 Wednesday 06 July 2022 11:14:45 +0000 (0:00:00.028) 0:02:05.680 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 11:14:45 +0000 (0:00:00.038) 0:02:05.718 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:68 Wednesday 06 July 2022 11:14:45 +0000 (0:00:00.040) 0:02:05.759 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 11:14:45 +0000 (0:00:00.051) 0:02:05.810 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmprua6lrek/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 11:14:45 +0000 (0:00:00.047) 0:02:05.858 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 11:14:45 +0000 (0:00:00.023) 0:02:05.881 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 11:14:45 +0000 (0:00:00.023) 0:02:05.905 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 11:14:45 +0000 (0:00:00.023) 0:02:05.929 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 11:14:45 +0000 (0:00:00.022) 0:02:05.951 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 11:14:45 +0000 (0:00:00.022) 0:02:05.974 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 11:14:45 +0000 (0:00:00.023) 0:02:05.997 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 11:14:45 +0000 (0:00:00.025) 0:02:06.022 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:71 Wednesday 06 July 2022 11:14:45 +0000 (0:00:00.033) 0:02:06.056 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 11:14:45 +0000 (0:00:00.034) 0:02:06.091 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmprua6lrek/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 11:14:45 +0000 (0:00:00.044) 0:02:06.135 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 11:14:45 +0000 (0:00:00.036) 0:02:06.172 ******** included: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 11:14:45 +0000 (0:00:00.079) 0:02:06.252 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 11:14:46 +0000 (0:00:00.042) 0:02:06.294 ******** ok: [/cache/fedora-35.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": "4728f50f-592b-4a0b-bdb5-80386ffb604b" } ], "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": "4728f50f-592b-4a0b-bdb5-80386ffb604b" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 11:14:46 +0000 (0:00:00.051) 0:02:06.346 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 11:14:46 +0000 (0:00:00.044) 0:02:06.391 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 11:14:46 +0000 (0:00:00.039) 0:02:06.431 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 11:14:46 +0000 (0:00:00.047) 0:02:06.478 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 11:14:46 +0000 (0:00:00.026) 0:02:06.505 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 11:14:46 +0000 (0:00:00.024) 0:02:06.529 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 11:14:46 +0000 (0:00:00.023) 0:02:06.552 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 11:14:46 +0000 (0:00:00.084) 0:02:06.637 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/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/tmprua6lrek/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 11:14:46 +0000 (0:00:00.112) 0:02:06.749 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 11:14:46 +0000 (0:00:00.039) 0:02:06.789 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 11:14:46 +0000 (0:00:00.038) 0:02:06.828 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 11:14:46 +0000 (0:00:00.029) 0:02:06.857 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 11:14:46 +0000 (0:00:00.034) 0:02:06.891 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 11:14:46 +0000 (0:00:00.037) 0:02:06.929 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 11:14:46 +0000 (0:00:00.038) 0:02:06.968 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657106079.2791288, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657106077.8471289, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 514, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657106077.8471289, "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/tmprua6lrek/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 11:14:47 +0000 (0:00:00.385) 0:02:07.354 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 11:14:47 +0000 (0:00:00.038) 0:02:07.392 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 11:14:47 +0000 (0:00:00.039) 0:02:07.431 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 11:14:47 +0000 (0:00:00.043) 0:02:07.475 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 11:14:47 +0000 (0:00:00.025) 0:02:07.500 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 11:14:47 +0000 (0:00:00.045) 0:02:07.546 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 11:14:47 +0000 (0:00:00.027) 0:02:07.573 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 11:14:49 +0000 (0:00:02.058) 0:02:09.632 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 11:14:49 +0000 (0:00:00.024) 0:02:09.657 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 11:14:49 +0000 (0:00:00.024) 0:02:09.681 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 11:14:49 +0000 (0:00:00.040) 0:02:09.722 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 11:14:49 +0000 (0:00:00.024) 0:02:09.746 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 11:14:49 +0000 (0:00:00.023) 0:02:09.770 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 11:14:49 +0000 (0:00:00.027) 0:02:09.797 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 11:14:49 +0000 (0:00:00.026) 0:02:09.824 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 11:14:49 +0000 (0:00:00.024) 0:02:09.849 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 11:14:49 +0000 (0:00:00.043) 0:02:09.892 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 11:14:49 +0000 (0:00:00.046) 0:02:09.938 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 11:14:49 +0000 (0:00:00.028) 0:02:09.967 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 11:14:49 +0000 (0:00:00.027) 0:02:09.994 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 11:14:49 +0000 (0:00:00.027) 0:02:10.022 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 11:14:49 +0000 (0:00:00.039) 0:02:10.061 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 11:14:49 +0000 (0:00:00.027) 0:02:10.089 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 11:14:49 +0000 (0:00:00.028) 0:02:10.117 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 11:14:49 +0000 (0:00:00.027) 0:02:10.145 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 11:14:49 +0000 (0:00:00.029) 0:02:10.174 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 11:14:49 +0000 (0:00:00.027) 0:02:10.201 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 11:14:49 +0000 (0:00:00.025) 0:02:10.227 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 11:14:49 +0000 (0:00:00.025) 0:02:10.253 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 11:14:50 +0000 (0:00:00.399) 0:02:10.653 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 11:14:50 +0000 (0:00:00.434) 0:02:11.087 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 11:14:50 +0000 (0:00:00.118) 0:02:11.206 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 11:14:50 +0000 (0:00:00.036) 0:02:11.242 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 11:14:50 +0000 (0:00:00.028) 0:02:11.271 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 11:14:51 +0000 (0:00:00.026) 0:02:11.297 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 11:14:51 +0000 (0:00:00.031) 0:02:11.329 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 11:14:51 +0000 (0:00:00.027) 0:02:11.356 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 11:14:51 +0000 (0:00:00.028) 0:02:11.385 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 11:14:51 +0000 (0:00:00.039) 0:02:11.425 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 11:14:51 +0000 (0:00:00.043) 0:02:11.468 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 11:14:51 +0000 (0:00:00.043) 0:02:11.512 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.040493", "end": "2022-07-06 11:14:50.904031", "rc": 0, "start": "2022-07-06 11:14:50.863538" } 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/tmprua6lrek/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 11:14:51 +0000 (0:00:00.447) 0:02:11.960 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 11:14:51 +0000 (0:00:00.041) 0:02:12.002 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 11:14:51 +0000 (0:00:00.043) 0:02:12.046 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 11:14:51 +0000 (0:00:00.030) 0:02:12.076 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 11:14:51 +0000 (0:00:00.027) 0:02:12.104 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 11:14:51 +0000 (0:00:00.035) 0:02:12.139 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 11:14:51 +0000 (0:00:00.029) 0:02:12.168 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:40 Wednesday 06 July 2022 11:14:51 +0000 (0:00:00.038) 0:02:12.207 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:47 Wednesday 06 July 2022 11:14:51 +0000 (0:00:00.037) 0:02:12.245 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:57 Wednesday 06 July 2022 11:14:51 +0000 (0:00:00.025) 0:02:12.270 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Change volume size to "9g"] ********************************************** task path: /tmp/tmprua6lrek/tests/tests_resize.yml:235 Wednesday 06 July 2022 11:14:52 +0000 (0:00:00.037) 0:02:12.308 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 11:14:52 +0000 (0:00:00.059) 0:02:12.368 ******** included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 11:14:52 +0000 (0:00:00.042) 0:02:12.410 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 11:14:52 +0000 (0:00:00.549) 0:02:12.959 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 11:14:52 +0000 (0:00:00.063) 0:02:13.022 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 11:14:52 +0000 (0:00:00.034) 0:02:13.057 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 11:14:52 +0000 (0:00:00.034) 0:02:13.092 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 11:14:52 +0000 (0:00:00.048) 0:02:13.140 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 11:14:52 +0000 (0:00:00.021) 0:02:13.162 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 11:14:52 +0000 (0:00:00.027) 0:02:13.189 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme2n1" ], "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 11:14:52 +0000 (0:00:00.081) 0:02:13.270 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 11:14:53 +0000 (0:00:00.038) 0:02:13.309 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 11:14:53 +0000 (0:00:00.031) 0:02:13.340 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 11:14:53 +0000 (0:00:00.029) 0:02:13.370 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 11:14:53 +0000 (0:00:00.075) 0:02:13.446 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 11:14:53 +0000 (0:00:00.034) 0:02:13.481 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 11:14:53 +0000 (0:00:00.051) 0:02:13.532 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 11:14:53 +0000 (0:00:00.022) 0:02:13.555 ******** changed: [/cache/fedora-35.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/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/mapper/foo-test1", "/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", "dosfstools", "btrfs-progs" ], "pools": [ { "disks": [ "nvme2n1" ], "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": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 11:14:56 +0000 (0:00:03.002) 0:02:16.557 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 11:14:56 +0000 (0:00:00.029) 0:02:16.587 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 11:14:56 +0000 (0:00:00.025) 0:02:16.613 ******** ok: [/cache/fedora-35.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/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/mapper/foo-test1", "/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", "dosfstools", "btrfs-progs" ], "pools": [ { "disks": [ "nvme2n1" ], "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": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 11:14:56 +0000 (0:00:00.044) 0:02:16.658 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme2n1" ], "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": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 11:14:56 +0000 (0:00:00.042) 0:02:16.701 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 11:14:56 +0000 (0:00:00.041) 0:02:16.743 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 11:14:56 +0000 (0:00:00.031) 0:02:16.774 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 11:14:57 +0000 (0:00:00.726) 0:02:17.501 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 11:14:57 +0000 (0:00:00.454) 0:02:17.955 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 11:14:58 +0000 (0:00:00.705) 0:02:18.661 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 11:14:58 +0000 (0:00:00.394) 0:02:19.055 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 11:14:58 +0000 (0:00:00.023) 0:02:19.078 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/tests_resize.yml:249 Wednesday 06 July 2022 11:14:59 +0000 (0:00:00.934) 0:02:20.013 ******** included: /tmp/tmprua6lrek/tests/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:1 Wednesday 06 July 2022 11:14:59 +0000 (0:00:00.046) 0:02:20.059 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme2n1" ], "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": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmprua6lrek/tests/verify-role-results.yml:6 Wednesday 06 July 2022 11:14:59 +0000 (0:00:00.050) 0:02:20.110 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:14 Wednesday 06 July 2022 11:14:59 +0000 (0:00:00.026) 0:02:20.136 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext3", "label": "", "name": "/dev/mapper/foo-test1", "size": "9G", "type": "lvm", "uuid": "4728f50f-592b-4a0b-bdb5-80386ffb604b" }, "/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": "LVM2_member", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "VmTo4R-a4qF-TcDi-h0uy-vmlD-gtNS-dxEHxJ" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-11-12-27-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:19 Wednesday 06 July 2022 11:15:00 +0000 (0:00:00.497) 0:02:20.633 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002857", "end": "2022-07-06 11:14:59.970028", "rc": 0, "start": "2022-07-06 11:14:59.967171" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 ext3 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:24 Wednesday 06 July 2022 11:15:00 +0000 (0:00:00.395) 0:02:21.028 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002919", "end": "2022-07-06 11:15:00.365855", "failed_when_result": false, "rc": 0, "start": "2022-07-06 11:15:00.362936" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:33 Wednesday 06 July 2022 11:15:01 +0000 (0:00:00.391) 0:02:21.420 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['nvme2n1'], '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/test-verify-pool.yml:5 Wednesday 06 July 2022 11:15:01 +0000 (0:00:00.052) 0:02:21.473 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool.yml:18 Wednesday 06 July 2022 11:15:01 +0000 (0:00:00.035) 0:02:21.508 ******** included: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmprua6lrek/tests/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:1 Wednesday 06 July 2022 11:15:01 +0000 (0:00:00.047) 0:02:21.556 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme2n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:10 Wednesday 06 July 2022 11:15:01 +0000 (0:00:00.045) 0:02:21.601 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme2n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme2n1", "pv": "/dev/nvme2n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:19 Wednesday 06 July 2022 11:15:01 +0000 (0:00:00.398) 0:02:21.999 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:23 Wednesday 06 July 2022 11:15:01 +0000 (0:00:00.039) 0:02:22.038 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme2n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:27 Wednesday 06 July 2022 11:15:01 +0000 (0:00:00.039) 0:02:22.077 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:34 Wednesday 06 July 2022 11:15:01 +0000 (0:00:00.043) 0:02:22.121 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:38 Wednesday 06 July 2022 11:15:01 +0000 (0:00:00.040) 0:02:22.161 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:42 Wednesday 06 July 2022 11:15:01 +0000 (0:00:00.037) 0:02:22.199 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:46 Wednesday 06 July 2022 11:15:01 +0000 (0:00:00.023) 0:02:22.223 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme2n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme2n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:56 Wednesday 06 July 2022 11:15:01 +0000 (0:00:00.043) 0:02:22.266 ******** included: /tmp/tmprua6lrek/tests/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:6 Wednesday 06 July 2022 11:15:02 +0000 (0:00:00.045) 0:02:22.312 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:12 Wednesday 06 July 2022 11:15:02 +0000 (0:00:00.027) 0:02:22.339 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:16 Wednesday 06 July 2022 11:15:02 +0000 (0:00:00.030) 0:02:22.370 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:20 Wednesday 06 July 2022 11:15:02 +0000 (0:00:00.027) 0:02:22.397 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:24 Wednesday 06 July 2022 11:15:02 +0000 (0:00:00.026) 0:02:22.424 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:30 Wednesday 06 July 2022 11:15:02 +0000 (0:00:00.024) 0:02:22.449 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:36 Wednesday 06 July 2022 11:15:02 +0000 (0:00:00.025) 0:02:22.474 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:44 Wednesday 06 July 2022 11:15:02 +0000 (0:00:00.030) 0:02:22.504 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:59 Wednesday 06 July 2022 11:15:02 +0000 (0:00:00.097) 0:02:22.602 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 11:15:02 +0000 (0:00:00.048) 0:02:22.650 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 11:15:02 +0000 (0:00:00.046) 0:02:22.697 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 11:15:02 +0000 (0:00:00.085) 0:02:22.782 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 11:15:02 +0000 (0:00:00.031) 0:02:22.814 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:62 Wednesday 06 July 2022 11:15:02 +0000 (0:00:00.027) 0:02:22.842 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 11:15:02 +0000 (0:00:00.045) 0:02:22.888 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 11:15:02 +0000 (0:00:00.041) 0:02:22.930 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 11:15:02 +0000 (0:00:00.022) 0:02:22.952 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 11:15:02 +0000 (0:00:00.023) 0:02:22.975 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 11:15:02 +0000 (0:00:00.022) 0:02:22.997 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:65 Wednesday 06 July 2022 11:15:02 +0000 (0:00:00.022) 0:02:23.020 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 11:15:02 +0000 (0:00:00.046) 0:02:23.066 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 11:15:02 +0000 (0:00:00.040) 0:02:23.106 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme2n1) => { "_storage_test_pool_member_path": "/dev/nvme2n1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 11:15:02 +0000 (0:00:00.028) 0:02:23.135 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/nvme2n1) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 11:15:02 +0000 (0:00:00.043) 0:02:23.179 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:6 Wednesday 06 July 2022 11:15:02 +0000 (0:00:00.036) 0:02:23.216 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:11 Wednesday 06 July 2022 11:15:02 +0000 (0:00:00.037) 0:02:23.253 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:17 Wednesday 06 July 2022 11:15:02 +0000 (0:00:00.024) 0:02:23.277 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:23 Wednesday 06 July 2022 11:15:03 +0000 (0:00:00.027) 0:02:23.305 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:29 Wednesday 06 July 2022 11:15:03 +0000 (0:00:00.024) 0:02:23.330 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 11:15:03 +0000 (0:00:00.034) 0:02:23.364 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:68 Wednesday 06 July 2022 11:15:03 +0000 (0:00:00.034) 0:02:23.398 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 11:15:03 +0000 (0:00:00.047) 0:02:23.446 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 11:15:03 +0000 (0:00:00.044) 0:02:23.491 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 11:15:03 +0000 (0:00:00.027) 0:02:23.519 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 11:15:03 +0000 (0:00:00.025) 0:02:23.544 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 11:15:03 +0000 (0:00:00.023) 0:02:23.567 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 11:15:03 +0000 (0:00:00.024) 0:02:23.592 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 11:15:03 +0000 (0:00:00.022) 0:02:23.615 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 11:15:03 +0000 (0:00:00.022) 0:02:23.638 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 11:15:03 +0000 (0:00:00.022) 0:02:23.660 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:71 Wednesday 06 July 2022 11:15:03 +0000 (0:00:00.036) 0:02:23.696 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 11:15:03 +0000 (0:00:00.032) 0:02:23.729 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 11:15:03 +0000 (0:00:00.043) 0:02:23.773 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 11:15:03 +0000 (0:00:00.041) 0:02:23.815 ******** included: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 11:15:03 +0000 (0:00:00.128) 0:02:23.943 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 11:15:03 +0000 (0:00:00.040) 0:02:23.984 ******** ok: [/cache/fedora-35.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": "4728f50f-592b-4a0b-bdb5-80386ffb604b" } ], "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": "4728f50f-592b-4a0b-bdb5-80386ffb604b" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 11:15:03 +0000 (0:00:00.045) 0:02:24.030 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 11:15:03 +0000 (0:00:00.039) 0:02:24.069 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 11:15:03 +0000 (0:00:00.040) 0:02:24.109 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 11:15:03 +0000 (0:00:00.043) 0:02:24.153 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 11:15:03 +0000 (0:00:00.026) 0:02:24.180 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 11:15:03 +0000 (0:00:00.023) 0:02:24.204 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 11:15:03 +0000 (0:00:00.023) 0:02:24.227 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 11:15:03 +0000 (0:00:00.032) 0:02:24.260 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/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/tmprua6lrek/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 11:15:04 +0000 (0:00:00.051) 0:02:24.311 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 11:15:04 +0000 (0:00:00.053) 0:02:24.364 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 11:15:04 +0000 (0:00:00.041) 0:02:24.406 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 11:15:04 +0000 (0:00:00.030) 0:02:24.436 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 11:15:04 +0000 (0:00:00.036) 0:02:24.472 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 11:15:04 +0000 (0:00:00.040) 0:02:24.512 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 11:15:04 +0000 (0:00:00.040) 0:02:24.553 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657106096.9001288, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657106095.4361289, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 514, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657106095.4361289, "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/tmprua6lrek/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 11:15:04 +0000 (0:00:00.403) 0:02:24.956 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 11:15:04 +0000 (0:00:00.042) 0:02:24.999 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 11:15:04 +0000 (0:00:00.038) 0:02:25.037 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 11:15:04 +0000 (0:00:00.037) 0:02:25.074 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 11:15:04 +0000 (0:00:00.025) 0:02:25.100 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 11:15:04 +0000 (0:00:00.043) 0:02:25.144 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 11:15:04 +0000 (0:00:00.025) 0:02:25.170 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 11:15:06 +0000 (0:00:02.089) 0:02:27.259 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 11:15:06 +0000 (0:00:00.027) 0:02:27.287 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 11:15:07 +0000 (0:00:00.025) 0:02:27.312 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 11:15:07 +0000 (0:00:00.044) 0:02:27.357 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 11:15:07 +0000 (0:00:00.025) 0:02:27.383 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 11:15:07 +0000 (0:00:00.026) 0:02:27.409 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 11:15:07 +0000 (0:00:00.026) 0:02:27.436 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 11:15:07 +0000 (0:00:00.027) 0:02:27.464 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 11:15:07 +0000 (0:00:00.026) 0:02:27.490 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 11:15:07 +0000 (0:00:00.092) 0:02:27.583 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 11:15:07 +0000 (0:00:00.115) 0:02:27.699 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 11:15:07 +0000 (0:00:00.034) 0:02:27.734 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 11:15:07 +0000 (0:00:00.028) 0:02:27.763 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 11:15:07 +0000 (0:00:00.027) 0:02:27.791 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 11:15:07 +0000 (0:00:00.038) 0:02:27.830 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 11:15:07 +0000 (0:00:00.027) 0:02:27.857 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 11:15:07 +0000 (0:00:00.025) 0:02:27.883 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 11:15:07 +0000 (0:00:00.025) 0:02:27.908 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 11:15:07 +0000 (0:00:00.026) 0:02:27.935 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 11:15:07 +0000 (0:00:00.025) 0:02:27.960 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 11:15:07 +0000 (0:00:00.025) 0:02:27.986 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 11:15:07 +0000 (0:00:00.026) 0:02:28.012 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 11:15:08 +0000 (0:00:00.399) 0:02:28.412 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 11:15:08 +0000 (0:00:00.412) 0:02:28.824 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "9663676416" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 11:15:08 +0000 (0:00:00.048) 0:02:28.873 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "9663676416" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 11:15:08 +0000 (0:00:00.038) 0:02:28.912 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 11:15:08 +0000 (0:00:00.028) 0:02:28.940 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 11:15:08 +0000 (0:00:00.028) 0:02:28.968 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 11:15:08 +0000 (0:00:00.028) 0:02:28.997 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 11:15:08 +0000 (0:00:00.027) 0:02:29.024 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 11:15:08 +0000 (0:00:00.027) 0:02:29.052 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 9663676416, "changed": false, "failed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 11:15:08 +0000 (0:00:00.039) 0:02:29.092 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "9663676416" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 11:15:08 +0000 (0:00:00.043) 0:02:29.135 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 11:15:08 +0000 (0:00:00.040) 0:02:29.175 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.037260", "end": "2022-07-06 11:15:08.532951", "rc": 0, "start": "2022-07-06 11:15:08.495691" } 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/tmprua6lrek/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 11:15:09 +0000 (0:00:00.413) 0:02:29.589 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 11:15:09 +0000 (0:00:00.041) 0:02:29.631 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 11:15:09 +0000 (0:00:00.043) 0:02:29.675 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 11:15:09 +0000 (0:00:00.029) 0:02:29.705 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 11:15:09 +0000 (0:00:00.029) 0:02:29.734 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 11:15:09 +0000 (0:00:00.034) 0:02:29.768 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 11:15:09 +0000 (0:00:00.081) 0:02:29.850 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:40 Wednesday 06 July 2022 11:15:09 +0000 (0:00:00.039) 0:02:29.890 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:47 Wednesday 06 July 2022 11:15:09 +0000 (0:00:00.041) 0:02:29.931 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:57 Wednesday 06 July 2022 11:15:09 +0000 (0:00:00.030) 0:02:29.961 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Change volume size to "5g"] ********************************************** task path: /tmp/tmprua6lrek/tests/tests_resize.yml:251 Wednesday 06 July 2022 11:15:09 +0000 (0:00:00.036) 0:02:29.998 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 11:15:09 +0000 (0:00:00.059) 0:02:30.057 ******** included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 11:15:09 +0000 (0:00:00.036) 0:02:30.093 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 11:15:10 +0000 (0:00:00.544) 0:02:30.637 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 11:15:10 +0000 (0:00:00.062) 0:02:30.699 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 11:15:10 +0000 (0:00:00.035) 0:02:30.735 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 11:15:10 +0000 (0:00:00.034) 0:02:30.769 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 11:15:10 +0000 (0:00:00.048) 0:02:30.818 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 11:15:10 +0000 (0:00:00.021) 0:02:30.839 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 11:15:10 +0000 (0:00:00.028) 0:02:30.868 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme2n1" ], "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 11:15:10 +0000 (0:00:00.043) 0:02:30.911 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 11:15:10 +0000 (0:00:00.039) 0:02:30.951 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 11:15:10 +0000 (0:00:00.028) 0:02:30.979 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 11:15:10 +0000 (0:00:00.027) 0:02:31.007 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 11:15:10 +0000 (0:00:00.028) 0:02:31.035 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 11:15:10 +0000 (0:00:00.029) 0:02:31.065 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 11:15:10 +0000 (0:00:00.047) 0:02:31.112 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 11:15:10 +0000 (0:00:00.023) 0:02:31.136 ******** changed: [/cache/fedora-35.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/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/mapper/foo-test1", "/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": [ "dosfstools", "lvm2", "e2fsprogs", "btrfs-progs" ], "pools": [ { "disks": [ "nvme2n1" ], "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": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 11:15:13 +0000 (0:00:03.037) 0:02:34.173 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 11:15:13 +0000 (0:00:00.030) 0:02:34.203 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 11:15:13 +0000 (0:00:00.024) 0:02:34.228 ******** ok: [/cache/fedora-35.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/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/mapper/foo-test1", "/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": [ "dosfstools", "lvm2", "e2fsprogs", "btrfs-progs" ], "pools": [ { "disks": [ "nvme2n1" ], "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": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 11:15:13 +0000 (0:00:00.042) 0:02:34.270 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme2n1" ], "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": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 11:15:14 +0000 (0:00:00.088) 0:02:34.359 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 11:15:14 +0000 (0:00:00.108) 0:02:34.467 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 11:15:14 +0000 (0:00:00.028) 0:02:34.496 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 11:15:14 +0000 (0:00:00.736) 0:02:35.233 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 11:15:15 +0000 (0:00:00.424) 0:02:35.657 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 11:15:16 +0000 (0:00:00.723) 0:02:36.381 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 11:15:16 +0000 (0:00:00.409) 0:02:36.790 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 11:15:16 +0000 (0:00:00.025) 0:02:36.816 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/tests_resize.yml:265 Wednesday 06 July 2022 11:15:17 +0000 (0:00:00.967) 0:02:37.783 ******** included: /tmp/tmprua6lrek/tests/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:1 Wednesday 06 July 2022 11:15:17 +0000 (0:00:00.049) 0:02:37.833 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme2n1" ], "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": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmprua6lrek/tests/verify-role-results.yml:6 Wednesday 06 July 2022 11:15:17 +0000 (0:00:00.038) 0:02:37.872 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:14 Wednesday 06 July 2022 11:15:17 +0000 (0:00:00.023) 0:02:37.896 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext3", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "4728f50f-592b-4a0b-bdb5-80386ffb604b" }, "/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": "LVM2_member", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "VmTo4R-a4qF-TcDi-h0uy-vmlD-gtNS-dxEHxJ" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-11-12-27-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:19 Wednesday 06 July 2022 11:15:18 +0000 (0:00:00.399) 0:02:38.295 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003166", "end": "2022-07-06 11:15:17.609886", "rc": 0, "start": "2022-07-06 11:15:17.606720" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 ext3 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:24 Wednesday 06 July 2022 11:15:18 +0000 (0:00:00.367) 0:02:38.663 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002956", "end": "2022-07-06 11:15:18.030626", "failed_when_result": false, "rc": 0, "start": "2022-07-06 11:15:18.027670" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:33 Wednesday 06 July 2022 11:15:18 +0000 (0:00:00.424) 0:02:39.087 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['nvme2n1'], '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/test-verify-pool.yml:5 Wednesday 06 July 2022 11:15:18 +0000 (0:00:00.050) 0:02:39.137 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool.yml:18 Wednesday 06 July 2022 11:15:18 +0000 (0:00:00.072) 0:02:39.209 ******** included: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmprua6lrek/tests/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:1 Wednesday 06 July 2022 11:15:18 +0000 (0:00:00.076) 0:02:39.286 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme2n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:10 Wednesday 06 July 2022 11:15:19 +0000 (0:00:00.048) 0:02:39.335 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme2n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme2n1", "pv": "/dev/nvme2n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:19 Wednesday 06 July 2022 11:15:19 +0000 (0:00:00.395) 0:02:39.731 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:23 Wednesday 06 July 2022 11:15:19 +0000 (0:00:00.042) 0:02:39.773 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme2n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:27 Wednesday 06 July 2022 11:15:19 +0000 (0:00:00.047) 0:02:39.821 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:34 Wednesday 06 July 2022 11:15:19 +0000 (0:00:00.044) 0:02:39.865 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:38 Wednesday 06 July 2022 11:15:19 +0000 (0:00:00.040) 0:02:39.906 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:42 Wednesday 06 July 2022 11:15:19 +0000 (0:00:00.043) 0:02:39.949 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:46 Wednesday 06 July 2022 11:15:19 +0000 (0:00:00.026) 0:02:39.976 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme2n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme2n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:56 Wednesday 06 July 2022 11:15:19 +0000 (0:00:00.047) 0:02:40.024 ******** included: /tmp/tmprua6lrek/tests/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:6 Wednesday 06 July 2022 11:15:19 +0000 (0:00:00.044) 0:02:40.069 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:12 Wednesday 06 July 2022 11:15:19 +0000 (0:00:00.027) 0:02:40.096 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:16 Wednesday 06 July 2022 11:15:19 +0000 (0:00:00.029) 0:02:40.125 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:20 Wednesday 06 July 2022 11:15:19 +0000 (0:00:00.026) 0:02:40.152 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:24 Wednesday 06 July 2022 11:15:19 +0000 (0:00:00.027) 0:02:40.179 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:30 Wednesday 06 July 2022 11:15:19 +0000 (0:00:00.027) 0:02:40.207 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:36 Wednesday 06 July 2022 11:15:19 +0000 (0:00:00.026) 0:02:40.234 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:44 Wednesday 06 July 2022 11:15:19 +0000 (0:00:00.026) 0:02:40.260 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:59 Wednesday 06 July 2022 11:15:20 +0000 (0:00:00.038) 0:02:40.299 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 11:15:20 +0000 (0:00:00.048) 0:02:40.347 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 11:15:20 +0000 (0:00:00.046) 0:02:40.394 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 11:15:20 +0000 (0:00:00.029) 0:02:40.424 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 11:15:20 +0000 (0:00:00.026) 0:02:40.451 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:62 Wednesday 06 July 2022 11:15:20 +0000 (0:00:00.027) 0:02:40.478 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 11:15:20 +0000 (0:00:00.047) 0:02:40.525 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 11:15:20 +0000 (0:00:00.047) 0:02:40.573 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 11:15:20 +0000 (0:00:00.025) 0:02:40.599 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 11:15:20 +0000 (0:00:00.024) 0:02:40.624 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 11:15:20 +0000 (0:00:00.023) 0:02:40.647 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:65 Wednesday 06 July 2022 11:15:20 +0000 (0:00:00.024) 0:02:40.671 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 11:15:20 +0000 (0:00:00.093) 0:02:40.764 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 11:15:20 +0000 (0:00:00.041) 0:02:40.806 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme2n1) => { "_storage_test_pool_member_path": "/dev/nvme2n1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 11:15:20 +0000 (0:00:00.033) 0:02:40.840 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/nvme2n1) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 11:15:20 +0000 (0:00:00.046) 0:02:40.886 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:6 Wednesday 06 July 2022 11:15:20 +0000 (0:00:00.039) 0:02:40.926 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:11 Wednesday 06 July 2022 11:15:20 +0000 (0:00:00.043) 0:02:40.969 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:17 Wednesday 06 July 2022 11:15:20 +0000 (0:00:00.027) 0:02:40.996 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:23 Wednesday 06 July 2022 11:15:20 +0000 (0:00:00.028) 0:02:41.025 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:29 Wednesday 06 July 2022 11:15:20 +0000 (0:00:00.032) 0:02:41.057 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 11:15:20 +0000 (0:00:00.047) 0:02:41.105 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:68 Wednesday 06 July 2022 11:15:20 +0000 (0:00:00.039) 0:02:41.145 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 11:15:20 +0000 (0:00:00.048) 0:02:41.194 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 11:15:20 +0000 (0:00:00.044) 0:02:41.238 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 11:15:20 +0000 (0:00:00.023) 0:02:41.262 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 11:15:20 +0000 (0:00:00.024) 0:02:41.287 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 11:15:21 +0000 (0:00:00.026) 0:02:41.313 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 11:15:21 +0000 (0:00:00.025) 0:02:41.339 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 11:15:21 +0000 (0:00:00.027) 0:02:41.366 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 11:15:21 +0000 (0:00:00.027) 0:02:41.393 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 11:15:21 +0000 (0:00:00.027) 0:02:41.421 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:71 Wednesday 06 July 2022 11:15:21 +0000 (0:00:00.039) 0:02:41.460 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 11:15:21 +0000 (0:00:00.037) 0:02:41.498 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 11:15:21 +0000 (0:00:00.048) 0:02:41.547 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 11:15:21 +0000 (0:00:00.045) 0:02:41.592 ******** included: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 11:15:21 +0000 (0:00:00.080) 0:02:41.673 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 11:15:21 +0000 (0:00:00.040) 0:02:41.714 ******** ok: [/cache/fedora-35.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": "4728f50f-592b-4a0b-bdb5-80386ffb604b" } ], "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": "4728f50f-592b-4a0b-bdb5-80386ffb604b" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 11:15:21 +0000 (0:00:00.049) 0:02:41.763 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 11:15:21 +0000 (0:00:00.044) 0:02:41.807 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 11:15:21 +0000 (0:00:00.038) 0:02:41.845 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 11:15:21 +0000 (0:00:00.040) 0:02:41.886 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 11:15:21 +0000 (0:00:00.023) 0:02:41.910 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 11:15:21 +0000 (0:00:00.024) 0:02:41.935 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 11:15:21 +0000 (0:00:00.023) 0:02:41.959 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 11:15:21 +0000 (0:00:00.079) 0:02:42.038 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/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/tmprua6lrek/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 11:15:21 +0000 (0:00:00.141) 0:02:42.180 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 11:15:21 +0000 (0:00:00.039) 0:02:42.220 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 11:15:21 +0000 (0:00:00.039) 0:02:42.259 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 11:15:21 +0000 (0:00:00.025) 0:02:42.285 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 11:15:22 +0000 (0:00:00.037) 0:02:42.322 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 11:15:22 +0000 (0:00:00.041) 0:02:42.364 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 11:15:22 +0000 (0:00:00.048) 0:02:42.413 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657106114.599129, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657106113.0391288, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 514, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657106113.0391288, "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/tmprua6lrek/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 11:15:22 +0000 (0:00:00.427) 0:02:42.840 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 11:15:22 +0000 (0:00:00.041) 0:02:42.882 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 11:15:22 +0000 (0:00:00.043) 0:02:42.925 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 11:15:22 +0000 (0:00:00.041) 0:02:42.966 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 11:15:22 +0000 (0:00:00.028) 0:02:42.994 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 11:15:22 +0000 (0:00:00.041) 0:02:43.036 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 11:15:22 +0000 (0:00:00.026) 0:02:43.062 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 11:15:24 +0000 (0:00:02.102) 0:02:45.165 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 11:15:24 +0000 (0:00:00.029) 0:02:45.194 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 11:15:24 +0000 (0:00:00.029) 0:02:45.224 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 11:15:24 +0000 (0:00:00.046) 0:02:45.270 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 11:15:25 +0000 (0:00:00.028) 0:02:45.299 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 11:15:25 +0000 (0:00:00.027) 0:02:45.327 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 11:15:25 +0000 (0:00:00.026) 0:02:45.353 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 11:15:25 +0000 (0:00:00.025) 0:02:45.379 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 11:15:25 +0000 (0:00:00.025) 0:02:45.405 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 11:15:25 +0000 (0:00:00.048) 0:02:45.454 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 11:15:25 +0000 (0:00:00.042) 0:02:45.496 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 11:15:25 +0000 (0:00:00.026) 0:02:45.522 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 11:15:25 +0000 (0:00:00.026) 0:02:45.549 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 11:15:25 +0000 (0:00:00.028) 0:02:45.578 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 11:15:25 +0000 (0:00:00.035) 0:02:45.613 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 11:15:25 +0000 (0:00:00.026) 0:02:45.640 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 11:15:25 +0000 (0:00:00.027) 0:02:45.668 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 11:15:25 +0000 (0:00:00.031) 0:02:45.699 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 11:15:25 +0000 (0:00:00.028) 0:02:45.727 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 11:15:25 +0000 (0:00:00.027) 0:02:45.755 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 11:15:25 +0000 (0:00:00.027) 0:02:45.783 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 11:15:25 +0000 (0:00:00.030) 0:02:45.813 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 11:15:25 +0000 (0:00:00.409) 0:02:46.223 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 11:15:26 +0000 (0:00:00.467) 0:02:46.690 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 11:15:26 +0000 (0:00:00.082) 0:02:46.772 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 11:15:26 +0000 (0:00:00.120) 0:02:46.893 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 11:15:26 +0000 (0:00:00.027) 0:02:46.921 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 11:15:26 +0000 (0:00:00.030) 0:02:46.952 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 11:15:26 +0000 (0:00:00.027) 0:02:46.979 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 11:15:26 +0000 (0:00:00.027) 0:02:47.007 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 11:15:26 +0000 (0:00:00.028) 0:02:47.036 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 11:15:26 +0000 (0:00:00.039) 0:02:47.076 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 11:15:26 +0000 (0:00:00.041) 0:02:47.117 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 11:15:26 +0000 (0:00:00.048) 0:02:47.165 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.039534", "end": "2022-07-06 11:15:26.554857", "rc": 0, "start": "2022-07-06 11:15:26.515323" } 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/tmprua6lrek/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 11:15:27 +0000 (0:00:00.451) 0:02:47.617 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 11:15:27 +0000 (0:00:00.048) 0:02:47.665 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 11:15:27 +0000 (0:00:00.046) 0:02:47.712 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 11:15:27 +0000 (0:00:00.033) 0:02:47.745 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 11:15:27 +0000 (0:00:00.030) 0:02:47.775 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 11:15:27 +0000 (0:00:00.029) 0:02:47.804 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 11:15:27 +0000 (0:00:00.028) 0:02:47.833 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:40 Wednesday 06 July 2022 11:15:27 +0000 (0:00:00.036) 0:02:47.869 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:47 Wednesday 06 July 2022 11:15:27 +0000 (0:00:00.038) 0:02:47.907 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:57 Wednesday 06 July 2022 11:15:27 +0000 (0:00:00.022) 0:02:47.930 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmprua6lrek/tests/tests_resize.yml:267 Wednesday 06 July 2022 11:15:27 +0000 (0:00:00.038) 0:02:47.969 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 11:15:27 +0000 (0:00:00.063) 0:02:48.032 ******** included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 11:15:27 +0000 (0:00:00.036) 0:02:48.069 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 11:15:28 +0000 (0:00:00.535) 0:02:48.605 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 11:15:28 +0000 (0:00:00.065) 0:02:48.671 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 11:15:28 +0000 (0:00:00.036) 0:02:48.707 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 11:15:28 +0000 (0:00:00.035) 0:02:48.743 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 11:15:28 +0000 (0:00:00.048) 0:02:48.792 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 11:15:28 +0000 (0:00:00.066) 0:02:48.858 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 11:15:28 +0000 (0:00:00.033) 0:02:48.892 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme2n1" ], "name": "foo", "state": "absent", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 11:15:28 +0000 (0:00:00.044) 0:02:48.937 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 11:15:28 +0000 (0:00:00.042) 0:02:48.980 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 11:15:28 +0000 (0:00:00.036) 0:02:49.016 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 11:15:28 +0000 (0:00:00.030) 0:02:49.047 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 11:15:28 +0000 (0:00:00.030) 0:02:49.077 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 11:15:28 +0000 (0:00:00.028) 0:02:49.105 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 11:15:28 +0000 (0:00:00.053) 0:02:49.159 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 11:15:28 +0000 (0:00:00.023) 0:02:49.183 ******** changed: [/cache/fedora-35.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/nvme2n1", "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", "e2fsprogs", "dosfstools" ], "pools": [ { "disks": [ "nvme2n1" ], "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": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 11:15:31 +0000 (0:00:02.820) 0:02:52.003 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 11:15:31 +0000 (0:00:00.027) 0:02:52.030 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 11:15:31 +0000 (0:00:00.028) 0:02:52.058 ******** ok: [/cache/fedora-35.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/nvme2n1", "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", "e2fsprogs", "dosfstools" ], "pools": [ { "disks": [ "nvme2n1" ], "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": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 11:15:31 +0000 (0:00:00.045) 0:02:52.104 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme2n1" ], "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": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 11:15:31 +0000 (0:00:00.042) 0:02:52.146 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 11:15:31 +0000 (0:00:00.042) 0:02:52.189 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 11:15:32 +0000 (0:00:00.439) 0:02:52.629 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 11:15:33 +0000 (0:00:00.731) 0:02:53.361 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 11:15:33 +0000 (0:00:00.029) 0:02:53.390 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 11:15:33 +0000 (0:00:00.720) 0:02:54.111 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 11:15:34 +0000 (0:00:00.398) 0:02:54.509 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 11:15:34 +0000 (0:00:00.023) 0:02:54.533 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/tests_resize.yml:280 Wednesday 06 July 2022 11:15:35 +0000 (0:00:00.928) 0:02:55.461 ******** included: /tmp/tmprua6lrek/tests/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:1 Wednesday 06 July 2022 11:15:35 +0000 (0:00:00.050) 0:02:55.512 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme2n1" ], "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": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmprua6lrek/tests/verify-role-results.yml:6 Wednesday 06 July 2022 11:15:35 +0000 (0:00:00.129) 0:02:55.642 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:14 Wednesday 06 July 2022 11:15:35 +0000 (0:00:00.030) 0:02:55.673 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-11-12-27-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:19 Wednesday 06 July 2022 11:15:35 +0000 (0:00:00.414) 0:02:56.088 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003030", "end": "2022-07-06 11:15:35.427905", "rc": 0, "start": "2022-07-06 11:15:35.424875" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:24 Wednesday 06 July 2022 11:15:36 +0000 (0:00:00.404) 0:02:56.493 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003598", "end": "2022-07-06 11:15:35.841406", "failed_when_result": false, "rc": 0, "start": "2022-07-06 11:15:35.837808" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:33 Wednesday 06 July 2022 11:15:36 +0000 (0:00:00.408) 0:02:56.901 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['nvme2n1'], '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/test-verify-pool.yml:5 Wednesday 06 July 2022 11:15:36 +0000 (0:00:00.050) 0:02:56.952 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool.yml:18 Wednesday 06 July 2022 11:15:36 +0000 (0:00:00.033) 0:02:56.986 ******** included: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmprua6lrek/tests/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:1 Wednesday 06 July 2022 11:15:36 +0000 (0:00:00.050) 0:02:57.036 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "0", "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:10 Wednesday 06 July 2022 11:15:36 +0000 (0:00:00.044) 0:02:57.081 ******** TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:19 Wednesday 06 July 2022 11:15:36 +0000 (0:00:00.024) 0:02:57.105 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:23 Wednesday 06 July 2022 11:15:36 +0000 (0:00:00.042) 0:02:57.147 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:27 Wednesday 06 July 2022 11:15:36 +0000 (0:00:00.042) 0:02:57.190 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:34 Wednesday 06 July 2022 11:15:36 +0000 (0:00:00.043) 0:02:57.234 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:38 Wednesday 06 July 2022 11:15:36 +0000 (0:00:00.039) 0:02:57.273 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:42 Wednesday 06 July 2022 11:15:37 +0000 (0:00:00.040) 0:02:57.313 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:46 Wednesday 06 July 2022 11:15:37 +0000 (0:00:00.023) 0:02:57.337 ******** TASK [Check MD RAID] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:56 Wednesday 06 July 2022 11:15:37 +0000 (0:00:00.022) 0:02:57.360 ******** included: /tmp/tmprua6lrek/tests/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:6 Wednesday 06 July 2022 11:15:37 +0000 (0:00:00.043) 0:02:57.404 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:12 Wednesday 06 July 2022 11:15:37 +0000 (0:00:00.027) 0:02:57.431 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:16 Wednesday 06 July 2022 11:15:37 +0000 (0:00:00.026) 0:02:57.457 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:20 Wednesday 06 July 2022 11:15:37 +0000 (0:00:00.026) 0:02:57.483 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:24 Wednesday 06 July 2022 11:15:37 +0000 (0:00:00.026) 0:02:57.510 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:30 Wednesday 06 July 2022 11:15:37 +0000 (0:00:00.024) 0:02:57.534 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:36 Wednesday 06 July 2022 11:15:37 +0000 (0:00:00.023) 0:02:57.558 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:44 Wednesday 06 July 2022 11:15:37 +0000 (0:00:00.024) 0:02:57.582 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:59 Wednesday 06 July 2022 11:15:37 +0000 (0:00:00.034) 0:02:57.617 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 11:15:37 +0000 (0:00:00.046) 0:02:57.663 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 11:15:37 +0000 (0:00:00.101) 0:02:57.764 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 11:15:37 +0000 (0:00:00.029) 0:02:57.794 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 11:15:37 +0000 (0:00:00.029) 0:02:57.824 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:62 Wednesday 06 July 2022 11:15:37 +0000 (0:00:00.031) 0:02:57.855 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 11:15:37 +0000 (0:00:00.048) 0:02:57.904 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 11:15:37 +0000 (0:00:00.046) 0:02:57.951 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 11:15:37 +0000 (0:00:00.026) 0:02:57.977 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 11:15:37 +0000 (0:00:00.024) 0:02:58.001 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 11:15:37 +0000 (0:00:00.023) 0:02:58.025 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:65 Wednesday 06 July 2022 11:15:37 +0000 (0:00:00.024) 0:02:58.049 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 11:15:37 +0000 (0:00:00.045) 0:02:58.094 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 11:15:37 +0000 (0:00:00.038) 0:02:58.133 ******** TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 11:15:37 +0000 (0:00:00.023) 0:02:58.157 ******** TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 11:15:37 +0000 (0:00:00.021) 0:02:58.178 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:68 Wednesday 06 July 2022 11:15:37 +0000 (0:00:00.034) 0:02:58.213 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 11:15:37 +0000 (0:00:00.048) 0:02:58.262 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 11:15:38 +0000 (0:00:00.045) 0:02:58.307 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 11:15:38 +0000 (0:00:00.029) 0:02:58.337 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 11:15:38 +0000 (0:00:00.029) 0:02:58.367 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 11:15:38 +0000 (0:00:00.024) 0:02:58.391 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 11:15:38 +0000 (0:00:00.024) 0:02:58.416 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 11:15:38 +0000 (0:00:00.023) 0:02:58.439 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 11:15:38 +0000 (0:00:00.024) 0:02:58.464 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 11:15:38 +0000 (0:00:00.023) 0:02:58.487 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:71 Wednesday 06 July 2022 11:15:38 +0000 (0:00:00.039) 0:02:58.527 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 11:15:38 +0000 (0:00:00.036) 0:02:58.564 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 11:15:38 +0000 (0:00:00.044) 0:02:58.609 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 11:15:38 +0000 (0:00:00.039) 0:02:58.648 ******** included: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 11:15:38 +0000 (0:00:00.078) 0:02:58.726 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 11:15:38 +0000 (0:00:00.044) 0:02:58.770 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 11:15:38 +0000 (0:00:00.044) 0:02:58.815 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 11:15:38 +0000 (0:00:00.023) 0:02:58.839 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 11:15:38 +0000 (0:00:00.101) 0:02:58.941 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 11:15:38 +0000 (0:00:00.087) 0:02:59.028 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 11:15:38 +0000 (0:00:00.025) 0:02:59.053 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 11:15:38 +0000 (0:00:00.026) 0:02:59.080 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 11:15:38 +0000 (0:00:00.027) 0:02:59.107 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 11:15:38 +0000 (0:00:00.036) 0:02:59.144 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 11:15:38 +0000 (0:00:00.053) 0:02:59.198 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 11:15:38 +0000 (0:00:00.025) 0:02:59.224 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 11:15:38 +0000 (0:00:00.045) 0:02:59.270 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 11:15:39 +0000 (0:00:00.029) 0:02:59.299 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 11:15:39 +0000 (0:00:00.039) 0:02:59.339 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 11:15:39 +0000 (0:00:00.026) 0:02:59.365 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 11:15:39 +0000 (0:00:00.027) 0:02:59.393 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 11:15:39 +0000 (0:00:00.393) 0:02:59.787 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 11:15:39 +0000 (0:00:00.039) 0:02:59.826 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 11:15:39 +0000 (0:00:00.024) 0:02:59.851 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 11:15:39 +0000 (0:00:00.035) 0:02:59.887 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 11:15:39 +0000 (0:00:00.023) 0:02:59.910 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 11:15:39 +0000 (0:00:00.024) 0:02:59.935 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 11:15:39 +0000 (0:00:00.026) 0:02:59.961 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 11:15:41 +0000 (0:00:02.080) 0:03:02.041 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 11:15:41 +0000 (0:00:00.025) 0:03:02.066 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 11:15:41 +0000 (0:00:00.023) 0:03:02.090 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 11:15:41 +0000 (0:00:00.024) 0:03:02.114 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 11:15:41 +0000 (0:00:00.026) 0:03:02.141 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 11:15:41 +0000 (0:00:00.026) 0:03:02.167 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 11:15:41 +0000 (0:00:00.025) 0:03:02.192 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 11:15:41 +0000 (0:00:00.025) 0:03:02.218 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 11:15:41 +0000 (0:00:00.024) 0:03:02.242 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 11:15:41 +0000 (0:00:00.044) 0:03:02.287 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 11:15:42 +0000 (0:00:00.052) 0:03:02.339 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 11:15:42 +0000 (0:00:00.036) 0:03:02.375 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 11:15:42 +0000 (0:00:00.033) 0:03:02.409 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 11:15:42 +0000 (0:00:00.030) 0:03:02.440 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 11:15:42 +0000 (0:00:00.101) 0:03:02.541 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 11:15:42 +0000 (0:00:00.028) 0:03:02.570 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 11:15:42 +0000 (0:00:00.102) 0:03:02.672 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 11:15:42 +0000 (0:00:00.030) 0:03:02.702 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 11:15:42 +0000 (0:00:00.028) 0:03:02.731 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 11:15:42 +0000 (0:00:00.031) 0:03:02.762 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 11:15:42 +0000 (0:00:00.028) 0:03:02.791 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 11:15:42 +0000 (0:00:00.028) 0:03:02.820 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 11:15:42 +0000 (0:00:00.024) 0:03:02.845 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 11:15:42 +0000 (0:00:00.032) 0:03:02.877 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 11:15:42 +0000 (0:00:00.029) 0:03:02.906 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 11:15:42 +0000 (0:00:00.037) 0:03:02.944 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 11:15:42 +0000 (0:00:00.025) 0:03:02.970 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 11:15:42 +0000 (0:00:00.029) 0:03:03.000 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 11:15:42 +0000 (0:00:00.027) 0:03:03.028 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 11:15:42 +0000 (0:00:00.028) 0:03:03.056 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 11:15:42 +0000 (0:00:00.026) 0:03:03.083 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 11:15:42 +0000 (0:00:00.038) 0:03:03.122 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 11:15:42 +0000 (0:00:00.034) 0:03:03.157 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 11:15:42 +0000 (0:00:00.024) 0:03:03.181 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 11:15:42 +0000 (0:00:00.023) 0:03:03.205 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 11:15:42 +0000 (0:00:00.025) 0:03:03.230 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 11:15:42 +0000 (0:00:00.026) 0:03:03.257 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 11:15:42 +0000 (0:00:00.025) 0:03:03.282 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 11:15:43 +0000 (0:00:00.024) 0:03:03.306 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 11:15:43 +0000 (0:00:00.025) 0:03:03.331 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 11:15:43 +0000 (0:00:00.024) 0:03:03.356 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:40 Wednesday 06 July 2022 11:15:43 +0000 (0:00:00.035) 0:03:03.392 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:47 Wednesday 06 July 2022 11:15:43 +0000 (0:00:00.039) 0:03:03.431 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:57 Wednesday 06 July 2022 11:15:43 +0000 (0:00:00.023) 0:03:03.455 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Create a LVM logical volume with "5g" for ext2 FS] *********************** task path: /tmp/tmprua6lrek/tests/tests_resize.yml:284 Wednesday 06 July 2022 11:15:43 +0000 (0:00:00.034) 0:03:03.490 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 11:15:43 +0000 (0:00:00.069) 0:03:03.560 ******** included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 11:15:43 +0000 (0:00:00.034) 0:03:03.594 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 11:15:43 +0000 (0:00:00.558) 0:03:04.153 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 11:15:43 +0000 (0:00:00.130) 0:03:04.283 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 11:15:44 +0000 (0:00:00.034) 0:03:04.318 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 11:15:44 +0000 (0:00:00.038) 0:03:04.357 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 11:15:44 +0000 (0:00:00.051) 0:03:04.409 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 11:15:44 +0000 (0:00:00.022) 0:03:04.432 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 11:15:44 +0000 (0:00:00.028) 0:03:04.460 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme2n1" ], "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 11:15:44 +0000 (0:00:00.048) 0:03:04.509 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 11:15:44 +0000 (0:00:00.037) 0:03:04.546 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 11:15:44 +0000 (0:00:00.029) 0:03:04.576 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 11:15:44 +0000 (0:00:00.031) 0:03:04.608 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 11:15:44 +0000 (0:00:00.034) 0:03:04.642 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 11:15:44 +0000 (0:00:00.028) 0:03:04.671 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 11:15:44 +0000 (0:00:00.049) 0:03:04.720 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 11:15:44 +0000 (0:00:00.026) 0:03:04.746 ******** changed: [/cache/fedora-35.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/nvme2n1", "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/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/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", "e2fsprogs", "btrfs-progs", "lvm2" ], "pools": [ { "disks": [ "nvme2n1" ], "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 11:15:46 +0000 (0:00:02.359) 0:03:07.106 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 11:15:46 +0000 (0:00:00.028) 0:03:07.135 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 11:15:46 +0000 (0:00:00.024) 0:03:07.159 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/nvme2n1", "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/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/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", "e2fsprogs", "btrfs-progs", "lvm2" ], "pools": [ { "disks": [ "nvme2n1" ], "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 11:15:46 +0000 (0:00:00.043) 0:03:07.202 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme2n1" ], "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 11:15:46 +0000 (0:00:00.051) 0:03:07.253 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 11:15:47 +0000 (0:00:00.051) 0:03:07.305 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 11:15:47 +0000 (0:00:00.033) 0:03:07.338 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 11:15:47 +0000 (0:00:00.745) 0:03:08.083 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 11:15:48 +0000 (0:00:00.439) 0:03:08.523 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 11:15:48 +0000 (0:00:00.758) 0:03:09.281 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 11:15:49 +0000 (0:00:00.412) 0:03:09.694 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 11:15:49 +0000 (0:00:00.023) 0:03:09.718 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/tests_resize.yml:298 Wednesday 06 July 2022 11:15:50 +0000 (0:00:00.963) 0:03:10.682 ******** included: /tmp/tmprua6lrek/tests/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:1 Wednesday 06 July 2022 11:15:50 +0000 (0:00:00.058) 0:03:10.741 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme2n1" ], "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/tmprua6lrek/tests/verify-role-results.yml:6 Wednesday 06 July 2022 11:15:50 +0000 (0:00:00.043) 0:03:10.784 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:14 Wednesday 06 July 2022 11:15:50 +0000 (0:00:00.026) 0:03:10.811 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext2", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "584192b5-cba5-41ae-8801-7173b6fca2d4" }, "/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": "LVM2_member", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "nRMPiA-zflH-iAJt-dzwO-G0fK-QqAz-lkdgJd" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-11-12-27-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:19 Wednesday 06 July 2022 11:15:50 +0000 (0:00:00.399) 0:03:11.211 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003132", "end": "2022-07-06 11:15:50.561144", "rc": 0, "start": "2022-07-06 11:15:50.558012" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 ext2 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:24 Wednesday 06 July 2022 11:15:51 +0000 (0:00:00.405) 0:03:11.617 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002909", "end": "2022-07-06 11:15:50.962313", "failed_when_result": false, "rc": 0, "start": "2022-07-06 11:15:50.959404" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:33 Wednesday 06 July 2022 11:15:51 +0000 (0:00:00.403) 0:03:12.021 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['nvme2n1'], '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/tmprua6lrek/tests/test-verify-pool.yml:5 Wednesday 06 July 2022 11:15:51 +0000 (0:00:00.053) 0:03:12.074 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool.yml:18 Wednesday 06 July 2022 11:15:51 +0000 (0:00:00.038) 0:03:12.112 ******** included: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmprua6lrek/tests/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:1 Wednesday 06 July 2022 11:15:51 +0000 (0:00:00.049) 0:03:12.162 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme2n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:10 Wednesday 06 July 2022 11:15:51 +0000 (0:00:00.049) 0:03:12.211 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme2n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme2n1", "pv": "/dev/nvme2n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:19 Wednesday 06 July 2022 11:15:52 +0000 (0:00:00.410) 0:03:12.622 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:23 Wednesday 06 July 2022 11:15:52 +0000 (0:00:00.102) 0:03:12.725 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme2n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:27 Wednesday 06 July 2022 11:15:52 +0000 (0:00:00.094) 0:03:12.819 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:34 Wednesday 06 July 2022 11:15:52 +0000 (0:00:00.117) 0:03:12.937 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:38 Wednesday 06 July 2022 11:15:52 +0000 (0:00:00.094) 0:03:13.031 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:42 Wednesday 06 July 2022 11:15:52 +0000 (0:00:00.040) 0:03:13.072 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:46 Wednesday 06 July 2022 11:15:52 +0000 (0:00:00.024) 0:03:13.096 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme2n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme2n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:56 Wednesday 06 July 2022 11:15:52 +0000 (0:00:00.090) 0:03:13.186 ******** included: /tmp/tmprua6lrek/tests/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:6 Wednesday 06 July 2022 11:15:52 +0000 (0:00:00.091) 0:03:13.278 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:12 Wednesday 06 July 2022 11:15:53 +0000 (0:00:00.027) 0:03:13.305 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:16 Wednesday 06 July 2022 11:15:53 +0000 (0:00:00.027) 0:03:13.333 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:20 Wednesday 06 July 2022 11:15:53 +0000 (0:00:00.025) 0:03:13.358 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:24 Wednesday 06 July 2022 11:15:53 +0000 (0:00:00.023) 0:03:13.382 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:30 Wednesday 06 July 2022 11:15:53 +0000 (0:00:00.025) 0:03:13.407 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:36 Wednesday 06 July 2022 11:15:53 +0000 (0:00:00.027) 0:03:13.435 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:44 Wednesday 06 July 2022 11:15:53 +0000 (0:00:00.026) 0:03:13.461 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:59 Wednesday 06 July 2022 11:15:53 +0000 (0:00:00.038) 0:03:13.499 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 11:15:53 +0000 (0:00:00.048) 0:03:13.547 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 11:15:53 +0000 (0:00:00.045) 0:03:13.593 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 11:15:53 +0000 (0:00:00.029) 0:03:13.623 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 11:15:53 +0000 (0:00:00.029) 0:03:13.652 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:62 Wednesday 06 July 2022 11:15:53 +0000 (0:00:00.027) 0:03:13.680 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 11:15:53 +0000 (0:00:00.046) 0:03:13.727 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmprua6lrek/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 11:15:53 +0000 (0:00:00.045) 0:03:13.772 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 11:15:53 +0000 (0:00:00.024) 0:03:13.797 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 11:15:53 +0000 (0:00:00.024) 0:03:13.822 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 11:15:53 +0000 (0:00:00.026) 0:03:13.849 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:65 Wednesday 06 July 2022 11:15:53 +0000 (0:00:00.025) 0:03:13.874 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 11:15:53 +0000 (0:00:00.047) 0:03:13.921 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 11:15:53 +0000 (0:00:00.043) 0:03:13.965 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme2n1) => { "_storage_test_pool_member_path": "/dev/nvme2n1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 11:15:53 +0000 (0:00:00.032) 0:03:13.998 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/nvme2n1) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 11:15:53 +0000 (0:00:00.044) 0:03:14.042 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:6 Wednesday 06 July 2022 11:15:53 +0000 (0:00:00.040) 0:03:14.083 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:11 Wednesday 06 July 2022 11:15:53 +0000 (0:00:00.043) 0:03:14.126 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:17 Wednesday 06 July 2022 11:15:53 +0000 (0:00:00.027) 0:03:14.154 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:23 Wednesday 06 July 2022 11:15:53 +0000 (0:00:00.028) 0:03:14.183 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:29 Wednesday 06 July 2022 11:15:53 +0000 (0:00:00.031) 0:03:14.214 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 11:15:53 +0000 (0:00:00.034) 0:03:14.248 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:68 Wednesday 06 July 2022 11:15:53 +0000 (0:00:00.036) 0:03:14.284 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 11:15:54 +0000 (0:00:00.051) 0:03:14.336 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmprua6lrek/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 11:15:54 +0000 (0:00:00.045) 0:03:14.382 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 11:15:54 +0000 (0:00:00.025) 0:03:14.407 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 11:15:54 +0000 (0:00:00.082) 0:03:14.490 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 11:15:54 +0000 (0:00:00.025) 0:03:14.516 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 11:15:54 +0000 (0:00:00.024) 0:03:14.541 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 11:15:54 +0000 (0:00:00.024) 0:03:14.565 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 11:15:54 +0000 (0:00:00.025) 0:03:14.590 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 11:15:54 +0000 (0:00:00.024) 0:03:14.614 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:71 Wednesday 06 July 2022 11:15:54 +0000 (0:00:00.035) 0:03:14.649 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 11:15:54 +0000 (0:00:00.039) 0:03:14.689 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmprua6lrek/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 11:15:54 +0000 (0:00:00.045) 0:03:14.735 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 11:15:54 +0000 (0:00:00.039) 0:03:14.774 ******** included: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 11:15:54 +0000 (0:00:00.081) 0:03:14.856 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 11:15:54 +0000 (0:00:00.046) 0:03:14.902 ******** ok: [/cache/fedora-35.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": "584192b5-cba5-41ae-8801-7173b6fca2d4" } ], "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": "584192b5-cba5-41ae-8801-7173b6fca2d4" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 11:15:54 +0000 (0:00:00.048) 0:03:14.951 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 11:15:54 +0000 (0:00:00.044) 0:03:14.995 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 11:15:54 +0000 (0:00:00.052) 0:03:15.047 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 11:15:54 +0000 (0:00:00.054) 0:03:15.102 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 11:15:54 +0000 (0:00:00.025) 0:03:15.128 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 11:15:54 +0000 (0:00:00.027) 0:03:15.155 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 11:15:54 +0000 (0:00:00.024) 0:03:15.179 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 11:15:54 +0000 (0:00:00.037) 0:03:15.217 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/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/tmprua6lrek/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 11:15:54 +0000 (0:00:00.050) 0:03:15.267 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 11:15:55 +0000 (0:00:00.040) 0:03:15.308 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 11:15:55 +0000 (0:00:00.046) 0:03:15.354 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 11:15:55 +0000 (0:00:00.026) 0:03:15.380 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 11:15:55 +0000 (0:00:00.040) 0:03:15.421 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 11:15:55 +0000 (0:00:00.044) 0:03:15.465 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 11:15:55 +0000 (0:00:00.047) 0:03:15.512 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657106147.4761288, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657106145.974129, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 523, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657106145.974129, "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/tmprua6lrek/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 11:15:55 +0000 (0:00:00.412) 0:03:15.924 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 11:15:55 +0000 (0:00:00.039) 0:03:15.964 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 11:15:55 +0000 (0:00:00.039) 0:03:16.004 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 11:15:55 +0000 (0:00:00.037) 0:03:16.042 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 11:15:55 +0000 (0:00:00.023) 0:03:16.065 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 11:15:55 +0000 (0:00:00.085) 0:03:16.150 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 11:15:55 +0000 (0:00:00.028) 0:03:16.179 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 11:15:58 +0000 (0:00:02.115) 0:03:18.294 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 11:15:58 +0000 (0:00:00.027) 0:03:18.321 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 11:15:58 +0000 (0:00:00.026) 0:03:18.348 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 11:15:58 +0000 (0:00:00.048) 0:03:18.397 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 11:15:58 +0000 (0:00:00.026) 0:03:18.424 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 11:15:58 +0000 (0:00:00.028) 0:03:18.452 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 11:15:58 +0000 (0:00:00.025) 0:03:18.478 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 11:15:58 +0000 (0:00:00.025) 0:03:18.504 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 11:15:58 +0000 (0:00:00.024) 0:03:18.528 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 11:15:58 +0000 (0:00:00.041) 0:03:18.570 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 11:15:58 +0000 (0:00:00.038) 0:03:18.608 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 11:15:58 +0000 (0:00:00.028) 0:03:18.636 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 11:15:58 +0000 (0:00:00.027) 0:03:18.664 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 11:15:58 +0000 (0:00:00.033) 0:03:18.697 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 11:15:58 +0000 (0:00:00.035) 0:03:18.732 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 11:15:58 +0000 (0:00:00.027) 0:03:18.760 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 11:15:58 +0000 (0:00:00.026) 0:03:18.787 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 11:15:58 +0000 (0:00:00.033) 0:03:18.821 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 11:15:58 +0000 (0:00:00.027) 0:03:18.848 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 11:15:58 +0000 (0:00:00.030) 0:03:18.879 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 11:15:58 +0000 (0:00:00.027) 0:03:18.906 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 11:15:58 +0000 (0:00:00.030) 0:03:18.937 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 11:15:59 +0000 (0:00:00.411) 0:03:19.349 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 11:15:59 +0000 (0:00:00.404) 0:03:19.753 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 11:15:59 +0000 (0:00:00.039) 0:03:19.793 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 11:15:59 +0000 (0:00:00.037) 0:03:19.830 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 11:15:59 +0000 (0:00:00.029) 0:03:19.860 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 11:15:59 +0000 (0:00:00.033) 0:03:19.894 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 11:15:59 +0000 (0:00:00.028) 0:03:19.922 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 11:15:59 +0000 (0:00:00.026) 0:03:19.949 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 11:15:59 +0000 (0:00:00.026) 0:03:19.975 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 11:15:59 +0000 (0:00:00.040) 0:03:20.015 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 11:15:59 +0000 (0:00:00.037) 0:03:20.053 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 11:15:59 +0000 (0:00:00.043) 0:03:20.096 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.060602", "end": "2022-07-06 11:15:59.581877", "rc": 0, "start": "2022-07-06 11:15:59.521275" } 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/tmprua6lrek/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 11:16:00 +0000 (0:00:00.607) 0:03:20.703 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 11:16:00 +0000 (0:00:00.098) 0:03:20.802 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 11:16:00 +0000 (0:00:00.042) 0:03:20.845 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 11:16:00 +0000 (0:00:00.027) 0:03:20.873 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 11:16:00 +0000 (0:00:00.028) 0:03:20.901 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 11:16:00 +0000 (0:00:00.027) 0:03:20.928 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 11:16:00 +0000 (0:00:00.030) 0:03:20.959 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:40 Wednesday 06 July 2022 11:16:00 +0000 (0:00:00.034) 0:03:20.994 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:47 Wednesday 06 July 2022 11:16:00 +0000 (0:00:00.084) 0:03:21.078 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:57 Wednesday 06 July 2022 11:16:00 +0000 (0:00:00.026) 0:03:21.104 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Change volume size to "9g"] ********************************************** task path: /tmp/tmprua6lrek/tests/tests_resize.yml:300 Wednesday 06 July 2022 11:16:00 +0000 (0:00:00.039) 0:03:21.144 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 11:16:00 +0000 (0:00:00.121) 0:03:21.265 ******** included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 11:16:01 +0000 (0:00:00.039) 0:03:21.304 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 11:16:01 +0000 (0:00:00.546) 0:03:21.851 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 11:16:01 +0000 (0:00:00.063) 0:03:21.915 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 11:16:01 +0000 (0:00:00.039) 0:03:21.954 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 11:16:01 +0000 (0:00:00.036) 0:03:21.990 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 11:16:01 +0000 (0:00:00.049) 0:03:22.040 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 11:16:01 +0000 (0:00:00.022) 0:03:22.063 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 11:16:01 +0000 (0:00:00.031) 0:03:22.095 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme2n1" ], "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 11:16:01 +0000 (0:00:00.039) 0:03:22.135 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 11:16:01 +0000 (0:00:00.037) 0:03:22.172 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 11:16:01 +0000 (0:00:00.027) 0:03:22.200 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 11:16:01 +0000 (0:00:00.027) 0:03:22.228 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 11:16:01 +0000 (0:00:00.026) 0:03:22.255 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 11:16:01 +0000 (0:00:00.030) 0:03:22.285 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 11:16:02 +0000 (0:00:00.049) 0:03:22.334 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 11:16:02 +0000 (0:00:00.023) 0:03:22.358 ******** changed: [/cache/fedora-35.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/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/mapper/foo-test1", "/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", "dosfstools", "e2fsprogs", "btrfs-progs" ], "pools": [ { "disks": [ "nvme2n1" ], "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": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 11:16:04 +0000 (0:00:02.806) 0:03:25.165 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 11:16:04 +0000 (0:00:00.026) 0:03:25.191 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 11:16:04 +0000 (0:00:00.021) 0:03:25.212 ******** ok: [/cache/fedora-35.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/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/mapper/foo-test1", "/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", "dosfstools", "e2fsprogs", "btrfs-progs" ], "pools": [ { "disks": [ "nvme2n1" ], "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": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 11:16:04 +0000 (0:00:00.044) 0:03:25.257 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme2n1" ], "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": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 11:16:05 +0000 (0:00:00.039) 0:03:25.296 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 11:16:05 +0000 (0:00:00.081) 0:03:25.378 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 11:16:05 +0000 (0:00:00.069) 0:03:25.448 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 11:16:05 +0000 (0:00:00.720) 0:03:26.169 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 11:16:06 +0000 (0:00:00.461) 0:03:26.630 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 11:16:07 +0000 (0:00:00.733) 0:03:27.364 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 11:16:07 +0000 (0:00:00.418) 0:03:27.782 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 11:16:07 +0000 (0:00:00.026) 0:03:27.809 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/tests_resize.yml:314 Wednesday 06 July 2022 11:16:08 +0000 (0:00:00.969) 0:03:28.778 ******** included: /tmp/tmprua6lrek/tests/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:1 Wednesday 06 July 2022 11:16:08 +0000 (0:00:00.058) 0:03:28.837 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme2n1" ], "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": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmprua6lrek/tests/verify-role-results.yml:6 Wednesday 06 July 2022 11:16:08 +0000 (0:00:00.053) 0:03:28.890 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:14 Wednesday 06 July 2022 11:16:08 +0000 (0:00:00.027) 0:03:28.917 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext2", "label": "", "name": "/dev/mapper/foo-test1", "size": "9G", "type": "lvm", "uuid": "584192b5-cba5-41ae-8801-7173b6fca2d4" }, "/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": "LVM2_member", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "nRMPiA-zflH-iAJt-dzwO-G0fK-QqAz-lkdgJd" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-11-12-27-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:19 Wednesday 06 July 2022 11:16:09 +0000 (0:00:00.414) 0:03:29.332 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003161", "end": "2022-07-06 11:16:08.693749", "rc": 0, "start": "2022-07-06 11:16:08.690588" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 ext2 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:24 Wednesday 06 July 2022 11:16:09 +0000 (0:00:00.420) 0:03:29.753 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:01.004690", "end": "2022-07-06 11:16:10.138325", "failed_when_result": false, "rc": 0, "start": "2022-07-06 11:16:09.133635" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:33 Wednesday 06 July 2022 11:16:10 +0000 (0:00:01.453) 0:03:31.206 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['nvme2n1'], '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/test-verify-pool.yml:5 Wednesday 06 July 2022 11:16:10 +0000 (0:00:00.057) 0:03:31.264 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool.yml:18 Wednesday 06 July 2022 11:16:11 +0000 (0:00:00.090) 0:03:31.354 ******** included: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmprua6lrek/tests/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:1 Wednesday 06 July 2022 11:16:11 +0000 (0:00:00.047) 0:03:31.402 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme2n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:10 Wednesday 06 July 2022 11:16:11 +0000 (0:00:00.116) 0:03:31.518 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme2n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme2n1", "pv": "/dev/nvme2n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:19 Wednesday 06 July 2022 11:16:11 +0000 (0:00:00.393) 0:03:31.911 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:23 Wednesday 06 July 2022 11:16:11 +0000 (0:00:00.039) 0:03:31.951 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme2n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:27 Wednesday 06 July 2022 11:16:11 +0000 (0:00:00.039) 0:03:31.990 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:34 Wednesday 06 July 2022 11:16:11 +0000 (0:00:00.038) 0:03:32.028 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:38 Wednesday 06 July 2022 11:16:11 +0000 (0:00:00.038) 0:03:32.067 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:42 Wednesday 06 July 2022 11:16:11 +0000 (0:00:00.045) 0:03:32.113 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:46 Wednesday 06 July 2022 11:16:11 +0000 (0:00:00.027) 0:03:32.141 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme2n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme2n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:56 Wednesday 06 July 2022 11:16:11 +0000 (0:00:00.044) 0:03:32.185 ******** included: /tmp/tmprua6lrek/tests/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:6 Wednesday 06 July 2022 11:16:11 +0000 (0:00:00.044) 0:03:32.230 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:12 Wednesday 06 July 2022 11:16:11 +0000 (0:00:00.025) 0:03:32.256 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:16 Wednesday 06 July 2022 11:16:11 +0000 (0:00:00.025) 0:03:32.281 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:20 Wednesday 06 July 2022 11:16:12 +0000 (0:00:00.025) 0:03:32.307 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:24 Wednesday 06 July 2022 11:16:12 +0000 (0:00:00.028) 0:03:32.336 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:30 Wednesday 06 July 2022 11:16:12 +0000 (0:00:00.028) 0:03:32.365 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:36 Wednesday 06 July 2022 11:16:12 +0000 (0:00:00.028) 0:03:32.393 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:44 Wednesday 06 July 2022 11:16:12 +0000 (0:00:00.030) 0:03:32.424 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:59 Wednesday 06 July 2022 11:16:12 +0000 (0:00:00.041) 0:03:32.466 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 11:16:12 +0000 (0:00:00.049) 0:03:32.515 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 11:16:12 +0000 (0:00:00.044) 0:03:32.560 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 11:16:12 +0000 (0:00:00.027) 0:03:32.588 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 11:16:12 +0000 (0:00:00.028) 0:03:32.616 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:62 Wednesday 06 July 2022 11:16:12 +0000 (0:00:00.030) 0:03:32.647 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 11:16:12 +0000 (0:00:00.048) 0:03:32.696 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 11:16:12 +0000 (0:00:00.051) 0:03:32.748 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 11:16:12 +0000 (0:00:00.026) 0:03:32.775 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 11:16:12 +0000 (0:00:00.026) 0:03:32.801 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 11:16:12 +0000 (0:00:00.025) 0:03:32.826 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:65 Wednesday 06 July 2022 11:16:12 +0000 (0:00:00.026) 0:03:32.852 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 11:16:12 +0000 (0:00:00.048) 0:03:32.901 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 11:16:12 +0000 (0:00:00.090) 0:03:32.992 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme2n1) => { "_storage_test_pool_member_path": "/dev/nvme2n1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 11:16:12 +0000 (0:00:00.072) 0:03:33.065 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/nvme2n1) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 11:16:12 +0000 (0:00:00.046) 0:03:33.112 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:6 Wednesday 06 July 2022 11:16:12 +0000 (0:00:00.043) 0:03:33.155 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:11 Wednesday 06 July 2022 11:16:12 +0000 (0:00:00.044) 0:03:33.199 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:17 Wednesday 06 July 2022 11:16:12 +0000 (0:00:00.028) 0:03:33.227 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:23 Wednesday 06 July 2022 11:16:12 +0000 (0:00:00.027) 0:03:33.255 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:29 Wednesday 06 July 2022 11:16:12 +0000 (0:00:00.028) 0:03:33.283 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 11:16:13 +0000 (0:00:00.041) 0:03:33.325 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:68 Wednesday 06 July 2022 11:16:13 +0000 (0:00:00.035) 0:03:33.360 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 11:16:13 +0000 (0:00:00.052) 0:03:33.413 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 11:16:13 +0000 (0:00:00.047) 0:03:33.461 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 11:16:13 +0000 (0:00:00.025) 0:03:33.486 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 11:16:13 +0000 (0:00:00.026) 0:03:33.512 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 11:16:13 +0000 (0:00:00.024) 0:03:33.537 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 11:16:13 +0000 (0:00:00.024) 0:03:33.561 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 11:16:13 +0000 (0:00:00.026) 0:03:33.587 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 11:16:13 +0000 (0:00:00.027) 0:03:33.615 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 11:16:13 +0000 (0:00:00.036) 0:03:33.651 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:71 Wednesday 06 July 2022 11:16:13 +0000 (0:00:00.037) 0:03:33.689 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 11:16:13 +0000 (0:00:00.040) 0:03:33.729 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 11:16:13 +0000 (0:00:00.050) 0:03:33.779 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 11:16:13 +0000 (0:00:00.042) 0:03:33.822 ******** included: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 11:16:13 +0000 (0:00:00.083) 0:03:33.906 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 11:16:13 +0000 (0:00:00.056) 0:03:33.963 ******** ok: [/cache/fedora-35.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": "584192b5-cba5-41ae-8801-7173b6fca2d4" } ], "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": "584192b5-cba5-41ae-8801-7173b6fca2d4" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 11:16:13 +0000 (0:00:00.048) 0:03:34.011 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 11:16:13 +0000 (0:00:00.040) 0:03:34.052 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 11:16:13 +0000 (0:00:00.039) 0:03:34.092 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 11:16:13 +0000 (0:00:00.044) 0:03:34.137 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 11:16:13 +0000 (0:00:00.025) 0:03:34.162 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 11:16:13 +0000 (0:00:00.026) 0:03:34.188 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 11:16:13 +0000 (0:00:00.025) 0:03:34.214 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 11:16:13 +0000 (0:00:00.039) 0:03:34.254 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/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/tmprua6lrek/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 11:16:14 +0000 (0:00:00.053) 0:03:34.308 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 11:16:14 +0000 (0:00:00.097) 0:03:34.405 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 11:16:14 +0000 (0:00:00.129) 0:03:34.535 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 11:16:14 +0000 (0:00:00.026) 0:03:34.562 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 11:16:14 +0000 (0:00:00.038) 0:03:34.600 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 11:16:14 +0000 (0:00:00.041) 0:03:34.641 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 11:16:14 +0000 (0:00:00.043) 0:03:34.685 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657106165.566129, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657106164.050129, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 523, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657106164.050129, "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/tmprua6lrek/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 11:16:14 +0000 (0:00:00.420) 0:03:35.105 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 11:16:14 +0000 (0:00:00.039) 0:03:35.145 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 11:16:14 +0000 (0:00:00.039) 0:03:35.185 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 11:16:14 +0000 (0:00:00.037) 0:03:35.223 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 11:16:14 +0000 (0:00:00.026) 0:03:35.250 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 11:16:14 +0000 (0:00:00.042) 0:03:35.292 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 11:16:15 +0000 (0:00:00.025) 0:03:35.318 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 11:16:17 +0000 (0:00:02.101) 0:03:37.419 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 11:16:17 +0000 (0:00:00.027) 0:03:37.447 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 11:16:17 +0000 (0:00:00.027) 0:03:37.474 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 11:16:17 +0000 (0:00:00.049) 0:03:37.523 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 11:16:17 +0000 (0:00:00.026) 0:03:37.550 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 11:16:17 +0000 (0:00:00.026) 0:03:37.576 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 11:16:17 +0000 (0:00:00.025) 0:03:37.601 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 11:16:17 +0000 (0:00:00.025) 0:03:37.627 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 11:16:17 +0000 (0:00:00.024) 0:03:37.651 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 11:16:17 +0000 (0:00:00.047) 0:03:37.699 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 11:16:17 +0000 (0:00:00.048) 0:03:37.748 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 11:16:17 +0000 (0:00:00.035) 0:03:37.783 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 11:16:17 +0000 (0:00:00.028) 0:03:37.812 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 11:16:17 +0000 (0:00:00.026) 0:03:37.838 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 11:16:17 +0000 (0:00:00.036) 0:03:37.875 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 11:16:17 +0000 (0:00:00.029) 0:03:37.905 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 11:16:17 +0000 (0:00:00.029) 0:03:37.934 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 11:16:17 +0000 (0:00:00.030) 0:03:37.965 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 11:16:17 +0000 (0:00:00.026) 0:03:37.992 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 11:16:17 +0000 (0:00:00.029) 0:03:38.021 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 11:16:17 +0000 (0:00:00.025) 0:03:38.047 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 11:16:17 +0000 (0:00:00.025) 0:03:38.073 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 11:16:18 +0000 (0:00:00.379) 0:03:38.452 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 11:16:18 +0000 (0:00:00.408) 0:03:38.861 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "9663676416" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 11:16:18 +0000 (0:00:00.084) 0:03:38.946 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "9663676416" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 11:16:18 +0000 (0:00:00.036) 0:03:38.982 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 11:16:18 +0000 (0:00:00.025) 0:03:39.008 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 11:16:18 +0000 (0:00:00.028) 0:03:39.036 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 11:16:18 +0000 (0:00:00.027) 0:03:39.064 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 11:16:18 +0000 (0:00:00.104) 0:03:39.169 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 11:16:18 +0000 (0:00:00.029) 0:03:39.198 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 9663676416, "changed": false, "failed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 11:16:18 +0000 (0:00:00.038) 0:03:39.237 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "9663676416" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 11:16:18 +0000 (0:00:00.038) 0:03:39.275 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 11:16:19 +0000 (0:00:00.040) 0:03:39.315 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.041762", "end": "2022-07-06 11:16:18.703289", "rc": 0, "start": "2022-07-06 11:16:18.661527" } 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/tmprua6lrek/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 11:16:19 +0000 (0:00:00.451) 0:03:39.767 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 11:16:19 +0000 (0:00:00.044) 0:03:39.811 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 11:16:19 +0000 (0:00:00.041) 0:03:39.852 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 11:16:19 +0000 (0:00:00.026) 0:03:39.879 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 11:16:19 +0000 (0:00:00.026) 0:03:39.906 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 11:16:19 +0000 (0:00:00.027) 0:03:39.933 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 11:16:19 +0000 (0:00:00.028) 0:03:39.961 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:40 Wednesday 06 July 2022 11:16:19 +0000 (0:00:00.039) 0:03:40.001 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:47 Wednesday 06 July 2022 11:16:19 +0000 (0:00:00.039) 0:03:40.040 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:57 Wednesday 06 July 2022 11:16:19 +0000 (0:00:00.023) 0:03:40.064 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Change volume size to "5g"] ********************************************** task path: /tmp/tmprua6lrek/tests/tests_resize.yml:316 Wednesday 06 July 2022 11:16:19 +0000 (0:00:00.034) 0:03:40.098 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 11:16:19 +0000 (0:00:00.080) 0:03:40.178 ******** included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 11:16:19 +0000 (0:00:00.038) 0:03:40.217 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 11:16:20 +0000 (0:00:00.546) 0:03:40.763 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 11:16:20 +0000 (0:00:00.069) 0:03:40.833 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 11:16:20 +0000 (0:00:00.035) 0:03:40.868 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 11:16:20 +0000 (0:00:00.035) 0:03:40.904 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 11:16:20 +0000 (0:00:00.049) 0:03:40.953 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 11:16:20 +0000 (0:00:00.020) 0:03:40.974 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 11:16:20 +0000 (0:00:00.068) 0:03:41.042 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme2n1" ], "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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 11:16:20 +0000 (0:00:00.040) 0:03:41.083 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 11:16:20 +0000 (0:00:00.043) 0:03:41.126 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 11:16:20 +0000 (0:00:00.032) 0:03:41.159 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 11:16:20 +0000 (0:00:00.033) 0:03:41.193 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 11:16:20 +0000 (0:00:00.031) 0:03:41.224 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 11:16:20 +0000 (0:00:00.028) 0:03:41.253 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 11:16:21 +0000 (0:00:00.052) 0:03:41.305 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 11:16:21 +0000 (0:00:00.024) 0:03:41.330 ******** changed: [/cache/fedora-35.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/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/mapper/foo-test1", "/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", "lvm2", "dosfstools" ], "pools": [ { "disks": [ "nvme2n1" ], "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": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 11:16:24 +0000 (0:00:03.189) 0:03:44.519 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 11:16:24 +0000 (0:00:00.028) 0:03:44.547 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 11:16:24 +0000 (0:00:00.021) 0:03:44.569 ******** ok: [/cache/fedora-35.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/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/mapper/foo-test1", "/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", "lvm2", "dosfstools" ], "pools": [ { "disks": [ "nvme2n1" ], "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": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 11:16:24 +0000 (0:00:00.042) 0:03:44.611 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme2n1" ], "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": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 11:16:24 +0000 (0:00:00.042) 0:03:44.653 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 11:16:24 +0000 (0:00:00.041) 0:03:44.695 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 11:16:24 +0000 (0:00:00.028) 0:03:44.724 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 11:16:25 +0000 (0:00:00.743) 0:03:45.467 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 11:16:25 +0000 (0:00:00.420) 0:03:45.888 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 11:16:26 +0000 (0:00:00.724) 0:03:46.613 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 11:16:26 +0000 (0:00:00.406) 0:03:47.019 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 11:16:26 +0000 (0:00:00.023) 0:03:47.043 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/tests_resize.yml:330 Wednesday 06 July 2022 11:16:27 +0000 (0:00:01.010) 0:03:48.053 ******** included: /tmp/tmprua6lrek/tests/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:1 Wednesday 06 July 2022 11:16:27 +0000 (0:00:00.102) 0:03:48.156 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme2n1" ], "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": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmprua6lrek/tests/verify-role-results.yml:6 Wednesday 06 July 2022 11:16:27 +0000 (0:00:00.041) 0:03:48.197 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:14 Wednesday 06 July 2022 11:16:27 +0000 (0:00:00.029) 0:03:48.227 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext2", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "584192b5-cba5-41ae-8801-7173b6fca2d4" }, "/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": "LVM2_member", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "nRMPiA-zflH-iAJt-dzwO-G0fK-QqAz-lkdgJd" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-11-12-27-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:19 Wednesday 06 July 2022 11:16:28 +0000 (0:00:00.417) 0:03:48.645 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002902", "end": "2022-07-06 11:16:27.978350", "rc": 0, "start": "2022-07-06 11:16:27.975448" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 ext2 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:24 Wednesday 06 July 2022 11:16:28 +0000 (0:00:00.389) 0:03:49.035 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002830", "end": "2022-07-06 11:16:28.352157", "failed_when_result": false, "rc": 0, "start": "2022-07-06 11:16:28.349327" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:33 Wednesday 06 July 2022 11:16:29 +0000 (0:00:00.374) 0:03:49.409 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['nvme2n1'], '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/test-verify-pool.yml:5 Wednesday 06 July 2022 11:16:29 +0000 (0:00:00.051) 0:03:49.461 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool.yml:18 Wednesday 06 July 2022 11:16:29 +0000 (0:00:00.038) 0:03:49.499 ******** included: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmprua6lrek/tests/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:1 Wednesday 06 July 2022 11:16:29 +0000 (0:00:00.049) 0:03:49.548 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme2n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:10 Wednesday 06 July 2022 11:16:29 +0000 (0:00:00.047) 0:03:49.596 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme2n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme2n1", "pv": "/dev/nvme2n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:19 Wednesday 06 July 2022 11:16:29 +0000 (0:00:00.389) 0:03:49.985 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:23 Wednesday 06 July 2022 11:16:29 +0000 (0:00:00.039) 0:03:50.025 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme2n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:27 Wednesday 06 July 2022 11:16:29 +0000 (0:00:00.040) 0:03:50.065 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:34 Wednesday 06 July 2022 11:16:29 +0000 (0:00:00.040) 0:03:50.106 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:38 Wednesday 06 July 2022 11:16:29 +0000 (0:00:00.040) 0:03:50.146 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:42 Wednesday 06 July 2022 11:16:29 +0000 (0:00:00.038) 0:03:50.185 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:46 Wednesday 06 July 2022 11:16:29 +0000 (0:00:00.022) 0:03:50.207 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme2n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme2n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:56 Wednesday 06 July 2022 11:16:29 +0000 (0:00:00.041) 0:03:50.249 ******** included: /tmp/tmprua6lrek/tests/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:6 Wednesday 06 July 2022 11:16:30 +0000 (0:00:00.045) 0:03:50.294 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:12 Wednesday 06 July 2022 11:16:30 +0000 (0:00:00.028) 0:03:50.322 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:16 Wednesday 06 July 2022 11:16:30 +0000 (0:00:00.025) 0:03:50.348 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:20 Wednesday 06 July 2022 11:16:30 +0000 (0:00:00.024) 0:03:50.372 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:24 Wednesday 06 July 2022 11:16:30 +0000 (0:00:00.026) 0:03:50.399 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:30 Wednesday 06 July 2022 11:16:30 +0000 (0:00:00.027) 0:03:50.426 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:36 Wednesday 06 July 2022 11:16:30 +0000 (0:00:00.027) 0:03:50.454 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:44 Wednesday 06 July 2022 11:16:30 +0000 (0:00:00.026) 0:03:50.480 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:59 Wednesday 06 July 2022 11:16:30 +0000 (0:00:00.084) 0:03:50.565 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 11:16:30 +0000 (0:00:00.052) 0:03:50.618 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 11:16:30 +0000 (0:00:00.048) 0:03:50.666 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 11:16:30 +0000 (0:00:00.032) 0:03:50.699 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 11:16:30 +0000 (0:00:00.085) 0:03:50.784 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:62 Wednesday 06 July 2022 11:16:30 +0000 (0:00:00.031) 0:03:50.815 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 11:16:30 +0000 (0:00:00.049) 0:03:50.864 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 11:16:30 +0000 (0:00:00.046) 0:03:50.911 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 11:16:30 +0000 (0:00:00.025) 0:03:50.936 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 11:16:30 +0000 (0:00:00.026) 0:03:50.963 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 11:16:30 +0000 (0:00:00.025) 0:03:50.988 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:65 Wednesday 06 July 2022 11:16:30 +0000 (0:00:00.025) 0:03:51.014 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 11:16:30 +0000 (0:00:00.049) 0:03:51.064 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 11:16:30 +0000 (0:00:00.041) 0:03:51.105 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme2n1) => { "_storage_test_pool_member_path": "/dev/nvme2n1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 11:16:30 +0000 (0:00:00.028) 0:03:51.134 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/nvme2n1) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 11:16:30 +0000 (0:00:00.048) 0:03:51.182 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:6 Wednesday 06 July 2022 11:16:30 +0000 (0:00:00.041) 0:03:51.224 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:11 Wednesday 06 July 2022 11:16:30 +0000 (0:00:00.043) 0:03:51.267 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:17 Wednesday 06 July 2022 11:16:31 +0000 (0:00:00.029) 0:03:51.297 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:23 Wednesday 06 July 2022 11:16:31 +0000 (0:00:00.029) 0:03:51.327 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-crypttab.yml:29 Wednesday 06 July 2022 11:16:31 +0000 (0:00:00.028) 0:03:51.355 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 11:16:31 +0000 (0:00:00.041) 0:03:51.396 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:68 Wednesday 06 July 2022 11:16:31 +0000 (0:00:00.037) 0:03:51.434 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 11:16:31 +0000 (0:00:00.050) 0:03:51.484 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 11:16:31 +0000 (0:00:00.046) 0:03:51.530 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 11:16:31 +0000 (0:00:00.025) 0:03:51.555 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 11:16:31 +0000 (0:00:00.024) 0:03:51.580 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 11:16:31 +0000 (0:00:00.023) 0:03:51.604 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 11:16:31 +0000 (0:00:00.023) 0:03:51.627 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 11:16:31 +0000 (0:00:00.024) 0:03:51.652 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 11:16:31 +0000 (0:00:00.022) 0:03:51.675 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 11:16:31 +0000 (0:00:00.022) 0:03:51.698 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:71 Wednesday 06 July 2022 11:16:31 +0000 (0:00:00.034) 0:03:51.732 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 11:16:31 +0000 (0:00:00.037) 0:03:51.770 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 11:16:31 +0000 (0:00:00.047) 0:03:51.818 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 11:16:31 +0000 (0:00:00.043) 0:03:51.861 ******** included: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 11:16:31 +0000 (0:00:00.084) 0:03:51.946 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 11:16:31 +0000 (0:00:00.079) 0:03:52.026 ******** ok: [/cache/fedora-35.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": "584192b5-cba5-41ae-8801-7173b6fca2d4" } ], "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": "584192b5-cba5-41ae-8801-7173b6fca2d4" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 11:16:31 +0000 (0:00:00.046) 0:03:52.072 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 11:16:31 +0000 (0:00:00.040) 0:03:52.112 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 11:16:31 +0000 (0:00:00.046) 0:03:52.158 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 11:16:31 +0000 (0:00:00.038) 0:03:52.197 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 11:16:31 +0000 (0:00:00.022) 0:03:52.220 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 11:16:31 +0000 (0:00:00.022) 0:03:52.242 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 11:16:31 +0000 (0:00:00.023) 0:03:52.266 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 11:16:32 +0000 (0:00:00.034) 0:03:52.301 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/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/tmprua6lrek/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 11:16:32 +0000 (0:00:00.059) 0:03:52.360 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 11:16:32 +0000 (0:00:00.048) 0:03:52.409 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 11:16:32 +0000 (0:00:00.044) 0:03:52.453 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 11:16:32 +0000 (0:00:00.027) 0:03:52.481 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 11:16:32 +0000 (0:00:00.037) 0:03:52.519 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 11:16:32 +0000 (0:00:00.046) 0:03:52.565 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 11:16:32 +0000 (0:00:00.039) 0:03:52.605 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657106184.829129, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657106183.3711288, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 523, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657106183.3711288, "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/tmprua6lrek/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 11:16:32 +0000 (0:00:00.402) 0:03:53.007 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 11:16:32 +0000 (0:00:00.044) 0:03:53.052 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 11:16:32 +0000 (0:00:00.044) 0:03:53.097 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 11:16:32 +0000 (0:00:00.041) 0:03:53.139 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 11:16:32 +0000 (0:00:00.025) 0:03:53.164 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 11:16:32 +0000 (0:00:00.040) 0:03:53.204 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 11:16:32 +0000 (0:00:00.027) 0:03:53.232 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 11:16:34 +0000 (0:00:02.050) 0:03:55.282 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 11:16:35 +0000 (0:00:00.024) 0:03:55.307 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 11:16:35 +0000 (0:00:00.023) 0:03:55.331 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 11:16:35 +0000 (0:00:00.055) 0:03:55.386 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 11:16:35 +0000 (0:00:00.027) 0:03:55.414 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 11:16:35 +0000 (0:00:00.027) 0:03:55.441 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 11:16:35 +0000 (0:00:00.026) 0:03:55.468 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 11:16:35 +0000 (0:00:00.026) 0:03:55.494 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 11:16:35 +0000 (0:00:00.029) 0:03:55.523 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 11:16:35 +0000 (0:00:00.041) 0:03:55.565 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 11:16:35 +0000 (0:00:00.098) 0:03:55.663 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 11:16:35 +0000 (0:00:00.027) 0:03:55.691 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 11:16:35 +0000 (0:00:00.027) 0:03:55.719 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 11:16:35 +0000 (0:00:00.026) 0:03:55.745 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 11:16:35 +0000 (0:00:00.084) 0:03:55.830 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 11:16:35 +0000 (0:00:00.091) 0:03:55.922 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 11:16:35 +0000 (0:00:00.029) 0:03:55.951 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 11:16:35 +0000 (0:00:00.030) 0:03:55.981 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 11:16:35 +0000 (0:00:00.030) 0:03:56.012 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 11:16:35 +0000 (0:00:00.029) 0:03:56.041 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 11:16:35 +0000 (0:00:00.028) 0:03:56.069 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 11:16:35 +0000 (0:00:00.030) 0:03:56.100 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 11:16:36 +0000 (0:00:00.416) 0:03:56.516 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 11:16:36 +0000 (0:00:00.401) 0:03:56.917 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 11:16:36 +0000 (0:00:00.053) 0:03:56.971 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 11:16:36 +0000 (0:00:00.043) 0:03:57.015 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 11:16:36 +0000 (0:00:00.030) 0:03:57.045 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 11:16:36 +0000 (0:00:00.030) 0:03:57.076 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 11:16:36 +0000 (0:00:00.032) 0:03:57.108 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 11:16:36 +0000 (0:00:00.035) 0:03:57.144 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 11:16:36 +0000 (0:00:00.031) 0:03:57.176 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 11:16:36 +0000 (0:00:00.041) 0:03:57.217 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 11:16:36 +0000 (0:00:00.041) 0:03:57.259 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 11:16:37 +0000 (0:00:00.045) 0:03:57.305 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.039476", "end": "2022-07-06 11:16:36.684085", "rc": 0, "start": "2022-07-06 11:16:36.644609" } 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/tmprua6lrek/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 11:16:37 +0000 (0:00:00.447) 0:03:57.752 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 11:16:37 +0000 (0:00:00.046) 0:03:57.799 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 11:16:37 +0000 (0:00:00.043) 0:03:57.843 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 11:16:37 +0000 (0:00:00.031) 0:03:57.874 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 11:16:37 +0000 (0:00:00.030) 0:03:57.905 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 11:16:37 +0000 (0:00:00.031) 0:03:57.936 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 11:16:37 +0000 (0:00:00.030) 0:03:57.966 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:40 Wednesday 06 July 2022 11:16:37 +0000 (0:00:00.038) 0:03:58.005 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:47 Wednesday 06 July 2022 11:16:37 +0000 (0:00:00.039) 0:03:58.044 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:57 Wednesday 06 July 2022 11:16:37 +0000 (0:00:00.026) 0:03:58.070 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmprua6lrek/tests/tests_resize.yml:332 Wednesday 06 July 2022 11:16:37 +0000 (0:00:00.036) 0:03:58.107 ******** TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Wednesday 06 July 2022 11:16:37 +0000 (0:00:00.087) 0:03:58.195 ******** included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 11:16:37 +0000 (0:00:00.087) 0:03:58.282 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Wednesday 06 July 2022 11:16:38 +0000 (0:00:00.527) 0:03:58.809 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Wednesday 06 July 2022 11:16:38 +0000 (0:00:00.066) 0:03:58.876 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Wednesday 06 July 2022 11:16:38 +0000 (0:00:00.034) 0:03:58.910 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Wednesday 06 July 2022 11:16:38 +0000 (0:00:00.038) 0:03:58.950 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 11:16:38 +0000 (0:00:00.053) 0:03:59.003 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 11:16:38 +0000 (0:00:00.022) 0:03:59.025 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Wednesday 06 July 2022 11:16:38 +0000 (0:00:00.029) 0:03:59.055 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme2n1" ], "name": "foo", "state": "absent", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "5g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Wednesday 06 July 2022 11:16:38 +0000 (0:00:00.040) 0:03:59.095 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Wednesday 06 July 2022 11:16:38 +0000 (0:00:00.037) 0:03:59.133 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Wednesday 06 July 2022 11:16:38 +0000 (0:00:00.031) 0:03:59.165 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Wednesday 06 July 2022 11:16:38 +0000 (0:00:00.031) 0:03:59.197 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Wednesday 06 July 2022 11:16:38 +0000 (0:00:00.036) 0:03:59.234 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 11:16:38 +0000 (0:00:00.029) 0:03:59.263 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Wednesday 06 July 2022 11:16:39 +0000 (0:00:00.048) 0:03:59.311 ******** TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Wednesday 06 July 2022 11:16:39 +0000 (0:00:00.022) 0:03:59.334 ******** changed: [/cache/fedora-35.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/nvme2n1", "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": [ "nvme2n1" ], "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": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Wednesday 06 July 2022 11:16:41 +0000 (0:00:02.793) 0:04:02.128 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Wednesday 06 July 2022 11:16:41 +0000 (0:00:00.030) 0:04:02.158 ******** TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Wednesday 06 July 2022 11:16:41 +0000 (0:00:00.023) 0:04:02.182 ******** ok: [/cache/fedora-35.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/nvme2n1", "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": [ "nvme2n1" ], "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": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Wednesday 06 July 2022 11:16:41 +0000 (0:00:00.041) 0:04:02.224 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme2n1" ], "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": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Wednesday 06 July 2022 11:16:41 +0000 (0:00:00.036) 0:04:02.261 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Wednesday 06 July 2022 11:16:42 +0000 (0:00:00.039) 0:04:02.300 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.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/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Wednesday 06 July 2022 11:16:42 +0000 (0:00:00.448) 0:04:02.748 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Wednesday 06 July 2022 11:16:43 +0000 (0:00:00.730) 0:04:03.479 ******** TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Wednesday 06 July 2022 11:16:43 +0000 (0:00:00.031) 0:04:03.511 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Wednesday 06 July 2022 11:16:43 +0000 (0:00:00.723) 0:04:04.234 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Wednesday 06 July 2022 11:16:44 +0000 (0:00:00.418) 0:04:04.653 ******** TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Wednesday 06 July 2022 11:16:44 +0000 (0:00:00.025) 0:04:04.678 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/tests_resize.yml:345 Wednesday 06 July 2022 11:16:45 +0000 (0:00:01.004) 0:04:05.682 ******** included: /tmp/tmprua6lrek/tests/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:1 Wednesday 06 July 2022 11:16:45 +0000 (0:00:00.065) 0:04:05.748 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme2n1" ], "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": [ "nvme2n1" ], "encryption": false, "encryption_cipher": null, "encryption_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/tmprua6lrek/tests/verify-role-results.yml:6 Wednesday 06 July 2022 11:16:45 +0000 (0:00:00.042) 0:04:05.790 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:14 Wednesday 06 July 2022 11:16:45 +0000 (0:00:00.027) 0:04:05.817 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-11-12-27-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:19 Wednesday 06 July 2022 11:16:45 +0000 (0:00:00.410) 0:04:06.227 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002946", "end": "2022-07-06 11:16:45.631167", "rc": 0, "start": "2022-07-06 11:16:45.628221" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:24 Wednesday 06 July 2022 11:16:46 +0000 (0:00:00.467) 0:04:06.695 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002860", "end": "2022-07-06 11:16:46.033175", "failed_when_result": false, "rc": 0, "start": "2022-07-06 11:16:46.030315" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:33 Wednesday 06 July 2022 11:16:46 +0000 (0:00:00.399) 0:04:07.094 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['nvme2n1'], '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/test-verify-pool.yml:5 Wednesday 06 July 2022 11:16:46 +0000 (0:00:00.054) 0:04:07.149 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool.yml:18 Wednesday 06 July 2022 11:16:46 +0000 (0:00:00.035) 0:04:07.184 ******** included: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmprua6lrek/tests/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:1 Wednesday 06 July 2022 11:16:46 +0000 (0:00:00.051) 0:04:07.235 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "0", "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:10 Wednesday 06 July 2022 11:16:46 +0000 (0:00:00.045) 0:04:07.280 ******** TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:19 Wednesday 06 July 2022 11:16:47 +0000 (0:00:00.025) 0:04:07.306 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:23 Wednesday 06 July 2022 11:16:47 +0000 (0:00:00.089) 0:04:07.396 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:27 Wednesday 06 July 2022 11:16:47 +0000 (0:00:00.043) 0:04:07.439 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:34 Wednesday 06 July 2022 11:16:47 +0000 (0:00:00.087) 0:04:07.526 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:38 Wednesday 06 July 2022 11:16:47 +0000 (0:00:00.085) 0:04:07.612 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:42 Wednesday 06 July 2022 11:16:47 +0000 (0:00:00.101) 0:04:07.714 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:46 Wednesday 06 July 2022 11:16:47 +0000 (0:00:00.031) 0:04:07.745 ******** TASK [Check MD RAID] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:56 Wednesday 06 July 2022 11:16:47 +0000 (0:00:00.025) 0:04:07.771 ******** included: /tmp/tmprua6lrek/tests/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:6 Wednesday 06 July 2022 11:16:47 +0000 (0:00:00.046) 0:04:07.817 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:12 Wednesday 06 July 2022 11:16:47 +0000 (0:00:00.027) 0:04:07.845 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:16 Wednesday 06 July 2022 11:16:47 +0000 (0:00:00.024) 0:04:07.869 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:20 Wednesday 06 July 2022 11:16:47 +0000 (0:00:00.027) 0:04:07.897 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:24 Wednesday 06 July 2022 11:16:47 +0000 (0:00:00.027) 0:04:07.924 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:30 Wednesday 06 July 2022 11:16:47 +0000 (0:00:00.024) 0:04:07.948 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:36 Wednesday 06 July 2022 11:16:47 +0000 (0:00:00.023) 0:04:07.972 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-md.yml:44 Wednesday 06 July 2022 11:16:47 +0000 (0:00:00.027) 0:04:07.999 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:59 Wednesday 06 July 2022 11:16:47 +0000 (0:00:00.036) 0:04:08.036 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 11:16:47 +0000 (0:00:00.046) 0:04:08.083 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 11:16:47 +0000 (0:00:00.043) 0:04:08.127 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 11:16:47 +0000 (0:00:00.031) 0:04:08.158 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 11:16:47 +0000 (0:00:00.030) 0:04:08.188 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:62 Wednesday 06 July 2022 11:16:47 +0000 (0:00:00.032) 0:04:08.220 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 11:16:47 +0000 (0:00:00.045) 0:04:08.266 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 11:16:48 +0000 (0:00:00.046) 0:04:08.312 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 11:16:48 +0000 (0:00:00.025) 0:04:08.338 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 11:16:48 +0000 (0:00:00.026) 0:04:08.364 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 11:16:48 +0000 (0:00:00.024) 0:04:08.388 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:65 Wednesday 06 July 2022 11:16:48 +0000 (0:00:00.024) 0:04:08.412 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 11:16:48 +0000 (0:00:00.045) 0:04:08.458 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 11:16:48 +0000 (0:00:00.044) 0:04:08.503 ******** TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 11:16:48 +0000 (0:00:00.023) 0:04:08.526 ******** TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 11:16:48 +0000 (0:00:00.021) 0:04:08.548 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:68 Wednesday 06 July 2022 11:16:48 +0000 (0:00:00.035) 0:04:08.583 ******** included: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 11:16:48 +0000 (0:00:00.048) 0:04:08.632 ******** included: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 11:16:48 +0000 (0:00:00.047) 0:04:08.680 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 11:16:48 +0000 (0:00:00.026) 0:04:08.707 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 11:16:48 +0000 (0:00:00.026) 0:04:08.733 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 11:16:48 +0000 (0:00:00.026) 0:04:08.760 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 11:16:48 +0000 (0:00:00.026) 0:04:08.786 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 11:16:48 +0000 (0:00:00.073) 0:04:08.860 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 11:16:48 +0000 (0:00:00.027) 0:04:08.887 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 11:16:48 +0000 (0:00:00.024) 0:04:08.911 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-members.yml:71 Wednesday 06 July 2022 11:16:48 +0000 (0:00:00.036) 0:04:08.947 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 11:16:48 +0000 (0:00:00.037) 0:04:08.985 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmprua6lrek/tests/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme2n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_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/tmprua6lrek/tests/test-verify-volume.yml:2 Wednesday 06 July 2022 11:16:48 +0000 (0:00:00.052) 0:04:09.038 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:10 Wednesday 06 July 2022 11:16:48 +0000 (0:00:00.049) 0:04:09.088 ******** included: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 11:16:48 +0000 (0:00:00.084) 0:04:09.173 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:14 Wednesday 06 July 2022 11:16:48 +0000 (0:00:00.042) 0:04:09.216 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:28 Wednesday 06 July 2022 11:16:48 +0000 (0:00:00.049) 0:04:09.265 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 11:16:48 +0000 (0:00:00.024) 0:04:09.289 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:45 Wednesday 06 July 2022 11:16:49 +0000 (0:00:00.040) 0:04:09.329 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:54 Wednesday 06 July 2022 11:16:49 +0000 (0:00:00.033) 0:04:09.363 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:58 Wednesday 06 July 2022 11:16:49 +0000 (0:00:00.026) 0:04:09.389 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:63 Wednesday 06 July 2022 11:16:49 +0000 (0:00:00.030) 0:04:09.419 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-mount.yml:75 Wednesday 06 July 2022 11:16:49 +0000 (0:00:00.025) 0:04:09.445 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 11:16:49 +0000 (0:00:00.038) 0:04:09.484 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 11:16:49 +0000 (0:00:00.052) 0:04:09.536 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:32 Wednesday 06 July 2022 11:16:49 +0000 (0:00:00.023) 0:04:09.560 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:39 Wednesday 06 July 2022 11:16:49 +0000 (0:00:00.041) 0:04:09.602 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fstab.yml:49 Wednesday 06 July 2022 11:16:49 +0000 (0:00:00.029) 0:04:09.632 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 11:16:49 +0000 (0:00:00.039) 0:04:09.672 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 11:16:49 +0000 (0:00:00.027) 0:04:09.699 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:4 Wednesday 06 July 2022 11:16:49 +0000 (0:00:00.029) 0:04:09.728 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:10 Wednesday 06 July 2022 11:16:49 +0000 (0:00:00.407) 0:04:10.136 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:18 Wednesday 06 July 2022 11:16:49 +0000 (0:00:00.040) 0:04:10.177 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:24 Wednesday 06 July 2022 11:16:49 +0000 (0:00:00.024) 0:04:10.202 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:28 Wednesday 06 July 2022 11:16:49 +0000 (0:00:00.036) 0:04:10.238 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-device.yml:33 Wednesday 06 July 2022 11:16:49 +0000 (0:00:00.026) 0:04:10.265 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 11:16:49 +0000 (0:00:00.026) 0:04:10.292 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 11:16:50 +0000 (0:00:00.027) 0:04:10.320 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 11:16:52 +0000 (0:00:02.067) 0:04:12.387 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 11:16:52 +0000 (0:00:00.135) 0:04:12.523 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:30 Wednesday 06 July 2022 11:16:52 +0000 (0:00:00.027) 0:04:12.551 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:38 Wednesday 06 July 2022 11:16:52 +0000 (0:00:00.027) 0:04:12.579 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 11:16:52 +0000 (0:00:00.025) 0:04:12.604 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:49 Wednesday 06 July 2022 11:16:52 +0000 (0:00:00.026) 0:04:12.631 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:55 Wednesday 06 July 2022 11:16:52 +0000 (0:00:00.026) 0:04:12.657 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:61 Wednesday 06 July 2022 11:16:52 +0000 (0:00:00.027) 0:04:12.685 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 11:16:52 +0000 (0:00:00.033) 0:04:12.718 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:74 Wednesday 06 July 2022 11:16:52 +0000 (0:00:00.055) 0:04:12.774 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:79 Wednesday 06 July 2022 11:16:52 +0000 (0:00:00.042) 0:04:12.817 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:85 Wednesday 06 July 2022 11:16:52 +0000 (0:00:00.029) 0:04:12.846 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:91 Wednesday 06 July 2022 11:16:52 +0000 (0:00:00.027) 0:04:12.874 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:97 Wednesday 06 July 2022 11:16:52 +0000 (0:00:00.028) 0:04:12.903 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:7 Wednesday 06 July 2022 11:16:52 +0000 (0:00:00.037) 0:04:12.941 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:13 Wednesday 06 July 2022 11:16:52 +0000 (0:00:00.028) 0:04:12.969 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:17 Wednesday 06 July 2022 11:16:52 +0000 (0:00:00.028) 0:04:12.998 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:21 Wednesday 06 July 2022 11:16:52 +0000 (0:00:00.029) 0:04:13.027 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:25 Wednesday 06 July 2022 11:16:52 +0000 (0:00:00.028) 0:04:13.055 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:31 Wednesday 06 July 2022 11:16:52 +0000 (0:00:00.028) 0:04:13.084 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-md.yml:37 Wednesday 06 July 2022 11:16:52 +0000 (0:00:00.028) 0:04:13.113 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:3 Wednesday 06 July 2022 11:16:52 +0000 (0:00:00.030) 0:04:13.143 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:9 Wednesday 06 July 2022 11:16:52 +0000 (0:00:00.025) 0:04:13.168 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:15 Wednesday 06 July 2022 11:16:52 +0000 (0:00:00.026) 0:04:13.195 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:20 Wednesday 06 July 2022 11:16:52 +0000 (0:00:00.028) 0:04:13.223 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:25 Wednesday 06 July 2022 11:16:52 +0000 (0:00:00.044) 0:04:13.267 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:28 Wednesday 06 July 2022 11:16:53 +0000 (0:00:00.028) 0:04:13.296 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:31 Wednesday 06 July 2022 11:16:53 +0000 (0:00:00.030) 0:04:13.326 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:36 Wednesday 06 July 2022 11:16:53 +0000 (0:00:00.028) 0:04:13.355 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:39 Wednesday 06 July 2022 11:16:53 +0000 (0:00:00.030) 0:04:13.386 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:44 Wednesday 06 July 2022 11:16:53 +0000 (0:00:00.026) 0:04:13.413 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:47 Wednesday 06 July 2022 11:16:53 +0000 (0:00:00.036) 0:04:13.449 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-size.yml:50 Wednesday 06 July 2022 11:16:53 +0000 (0:00:00.040) 0:04:13.490 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 11:16:53 +0000 (0:00:00.025) 0:04:13.516 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 11:16:53 +0000 (0:00:00.026) 0:04:13.542 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 11:16:53 +0000 (0:00:00.026) 0:04:13.569 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 11:16:53 +0000 (0:00:00.025) 0:04:13.594 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 11:16:53 +0000 (0:00:00.027) 0:04:13.621 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 11:16:53 +0000 (0:00:00.025) 0:04:13.647 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 11:16:53 +0000 (0:00:00.025) 0:04:13.672 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmprua6lrek/tests/test-verify-volume.yml:16 Wednesday 06 July 2022 11:16:53 +0000 (0:00:00.025) 0:04:13.697 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:40 Wednesday 06 July 2022 11:16:53 +0000 (0:00:00.044) 0:04:13.742 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:47 Wednesday 06 July 2022 11:16:53 +0000 (0:00:00.038) 0:04:13.780 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmprua6lrek/tests/verify-role-results.yml:57 Wednesday 06 July 2022 11:16:53 +0000 (0:00:00.024) 0:04:13.804 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=1259 changed=26 unreachable=0 failed=3 skipped=1005 rescued=3 ignored=0 Wednesday 06 July 2022 11:16:53 +0000 (0:00:00.105) 0:04:13.910 ******** =============================================================================== Find unused disks in the system ----------------------------------------- 3.54s /tmp/tmprua6lrek/tests/get_unused_disk.yml:2 ---------------------------------- linux-system-roles.storage : manage the pools and volumes to match the specified state --- 3.19s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 3.04s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 3.00s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.82s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.81s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.79s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.75s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.70s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.69s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.60s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : make sure blivet is available -------------- 2.58s /tmp/tmprua6lrek/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.47s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.46s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.36s /tmp/tmprua6lrek/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Ensure cryptsetup is present -------------------------------------------- 2.12s /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 2.10s /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 2.10s /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 2.09s /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 2.09s /tmp/tmprua6lrek/tests/test-verify-volume-encryption.yml:10 ------------------- ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpfdufgi2k executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_resize_nvme_generated.yml ************************************** 2 plays in /tmp/tmpus9dv81c/tests/storage/tests_resize_nvme_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/tests_resize_nvme_generated.yml:3 Wednesday 06 July 2022 15:04:49 +0000 (0:00:00.013) 0:00:00.013 ******** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/tests_resize_nvme_generated.yml:7 Wednesday 06 July 2022 15:04:50 +0000 (0:00:01.324) 0:00:01.338 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_use_interface": "nvme" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/tests_resize.yml:1 Wednesday 06 July 2022 15:04:50 +0000 (0:00:00.056) 0:00:01.395 ******** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [include_role : fedora.linux_system_roles.storage] ************************ task path: /tmp/tmpus9dv81c/tests/storage/tests_resize.yml:18 Wednesday 06 July 2022 15:04:51 +0000 (0:00:00.974) 0:00:02.370 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 15:04:51 +0000 (0:00:00.037) 0:00:02.407 ******** included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 15:04:51 +0000 (0:00:00.032) 0:00:02.440 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 15:04:52 +0000 (0:00:00.575) 0:00:03.015 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 15:04:52 +0000 (0:00:00.056) 0:00:03.072 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 15:04:52 +0000 (0:00:00.037) 0:00:03.110 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 15:04:52 +0000 (0:00:00.034) 0:00:03.145 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 15:04:52 +0000 (0:00:00.057) 0:00:03.202 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 15:04:52 +0000 (0:00:00.018) 0:00:03.221 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 15:04:55 +0000 (0:00:02.494) 0:00:05.716 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 15:04:55 +0000 (0:00:00.042) 0:00:05.759 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 15:04:55 +0000 (0:00:00.083) 0:00:05.842 ******** ok: [/cache/fedora-35.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 15:04:55 +0000 (0:00:00.750) 0:00:06.592 ******** included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:2 Wednesday 06 July 2022 15:04:55 +0000 (0:00:00.046) 0:00:06.638 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item={'repository': 'rhawalsh/dm-vdo', 'packages': ['vdo', 'kmod-vdo']}) => { "ansible_loop_var": "repo", "changed": false, "repo": { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:13 Wednesday 06 July 2022 15:04:56 +0000 (0:00:00.045) 0:00:06.683 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable COPRs] ************************ task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:18 Wednesday 06 July 2022 15:04:56 +0000 (0:00:00.037) 0:00:06.720 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item={'repository': 'rhawalsh/dm-vdo', 'packages': ['vdo', 'kmod-vdo']}) => { "ansible_loop_var": "repo", "changed": false, "repo": { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 15:04:56 +0000 (0:00:00.092) 0:00:06.813 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 15:04:57 +0000 (0:00:01.843) 0:00:08.657 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "arp-ethers.service": { "name": "arp-ethers.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "alias" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "bluetooth.service": { "name": "bluetooth.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "console-login-helper-messages-gensnippet-os-release.service": { "name": "console-login-helper-messages-gensnippet-os-release.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "console-login-helper-messages-gensnippet-ssh-keys.service": { "name": "console-login-helper-messages-gensnippet-ssh-keys.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "dbus-broker.service": { "name": "dbus-broker.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.bluez.service": { "name": "dbus-org.bluez.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.oom1.service": { "name": "dbus-org.freedesktop.oom1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.portable1.service": { "name": "dbus-org.freedesktop.portable1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus-org.freedesktop.resolve1.service": { "name": "dbus-org.freedesktop.resolve1.service", "source": "systemd", "state": "active", "status": "alias" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "alias" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "active", "status": "alias" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "display-manager.service": { "name": "display-manager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "dm-event.service": { "name": "dm-event.service", "source": "systemd", "state": "stopped", "status": "static" }, "dmraid-activation.service": { "name": "dmraid-activation.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "dnf-makecache.service": { "name": "dnf-makecache.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-cmdline.service": { "name": "dracut-cmdline.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-initqueue.service": { "name": "dracut-initqueue.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-mount.service": { "name": "dracut-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-mount.service": { "name": "dracut-pre-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-pivot.service": { "name": "dracut-pre-pivot.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-trigger.service": { "name": "dracut-pre-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-udev.service": { "name": "dracut-pre-udev.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown.service": { "name": "dracut-shutdown.service", "source": "systemd", "state": "stopped", "status": "static" }, "emergency.service": { "name": "emergency.service", "source": "systemd", "state": "stopped", "status": "static" }, "fcoe.service": { "name": "fcoe.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "stopped", "status": "static" }, "fwupd-offline-update.service": { "name": "fwupd-offline-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "fwupd-refresh.service": { "name": "fwupd-refresh.service", "source": "systemd", "state": "inactive", "status": "static" }, "fwupd.service": { "name": "fwupd.service", "source": "systemd", "state": "inactive", "status": "static" }, "getty@.service": { "name": "getty@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "getty@tty1.service": { "name": "getty@tty1.service", "source": "systemd", "state": "running", "status": "active" }, "grub-boot-indeterminate.service": { "name": "grub-boot-indeterminate.service", "source": "systemd", "state": "inactive", "status": "static" }, "grub2-systemd-integration.service": { "name": "grub2-systemd-integration.service", "source": "systemd", "state": "inactive", "status": "static" }, "hv_kvp_daemon.service": { "name": "hv_kvp_daemon.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "initrd-cleanup.service": { "name": "initrd-cleanup.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-parse-etc.service": { "name": "initrd-parse-etc.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-switch-root.service": { "name": "initrd-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-udevadm-cleanup-db.service": { "name": "initrd-udevadm-cleanup-db.service", "source": "systemd", "state": "stopped", "status": "static" }, "iscsi-shutdown.service": { "name": "iscsi-shutdown.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsi.service": { "name": "iscsi.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsid.service": { "name": "iscsid.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "ldconfig.service": { "name": "ldconfig.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-activation-early.service": { "name": "lvm2-activation-early.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-activation.service": { "name": "lvm2-activation.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-pvscan@.service": { "name": "lvm2-pvscan@.service", "source": "systemd", "state": "unknown", "status": "static" }, "man-db-cache-update.service": { "name": "man-db-cache-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "man-db-restart-cache-update.service": { "name": "man-db-restart-cache-update.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "mdadm-grow-continue@.service": { "name": "mdadm-grow-continue@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-last-resort@.service": { "name": "mdadm-last-resort@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdcheck_continue.service": { "name": "mdcheck_continue.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdcheck_start.service": { "name": "mdcheck_start.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmon@.service": { "name": "mdmon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdmonitor-oneshot.service": { "name": "mdmonitor-oneshot.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmonitor.service": { "name": "mdmonitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "modprobe@.service": { "name": "modprobe@.service", "source": "systemd", "state": "unknown", "status": "static" }, "modprobe@configfs.service": { "name": "modprobe@configfs.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@drm.service": { "name": "modprobe@drm.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "modprobe@fuse.service": { "name": "modprobe@fuse.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "multipathd.service": { "name": "multipathd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ndctl-monitor.service": { "name": "ndctl-monitor.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "pam_namespace.service": { "name": "pam_namespace.service", "source": "systemd", "state": "inactive", "status": "static" }, "pcscd.service": { "name": "pcscd.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "inactive", "status": "static" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "raid-check.service": { "name": "raid-check.service", "source": "systemd", "state": "stopped", "status": "static" }, "rbdmap.service": { "name": "rbdmap.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rdisc.service": { "name": "rdisc.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpmdb-rebuild.service": { "name": "rpmdb-rebuild.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel-mark.service": { "name": "selinux-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel.service": { "name": "selinux-autorelabel.service", "source": "systemd", "state": "inactive", "status": "static" }, "selinux-check-proper-disable.service": { "name": "selinux-check-proper-disable.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "indirect" }, "serial-getty@ttyS0.service": { "name": "serial-getty@ttyS0.service", "source": "systemd", "state": "running", "status": "active" }, "snapd.seeded.service": { "name": "snapd.seeded.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen@.service": { "name": "sshd-keygen@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sshd-keygen@ecdsa.service": { "name": "sshd-keygen@ecdsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@ed25519.service": { "name": "sshd-keygen@ed25519.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@rsa.service": { "name": "sshd-keygen@rsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "sssd-autofs.service": { "name": "sssd-autofs.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-kcm.service": { "name": "sssd-kcm.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "sssd-nss.service": { "name": "sssd-nss.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pac.service": { "name": "sssd-pac.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pam.service": { "name": "sssd-pam.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-ssh.service": { "name": "sssd-ssh.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-sudo.service": { "name": "sssd-sudo.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd.service": { "name": "sssd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "system-update-cleanup.service": { "name": "system-update-cleanup.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-ask-password-console.service": { "name": "systemd-ask-password-console.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-wall.service": { "name": "systemd-ask-password-wall.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-backlight@.service": { "name": "systemd-backlight@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-binfmt.service": { "name": "systemd-binfmt.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-bless-boot.service": { "name": "systemd-bless-boot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-boot-check-no-failures.service": { "name": "systemd-boot-check-no-failures.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-boot-system-token.service": { "name": "systemd-boot-system-token.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-coredump@.service": { "name": "systemd-coredump@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-exit.service": { "name": "systemd-exit.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-firstboot.service": { "name": "systemd-firstboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck-root.service": { "name": "systemd-fsck-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck@.service": { "name": "systemd-fsck@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-fsck@dev-disk-by\\x2duuid-5B84\\x2d6DD7.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-5B84\\x2d6DD7.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-disk-by\\x2duuid-5f2f82d0\\x2dae0a\\x2d4574\\x2d8811\\x2d62a31a51a870.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-5f2f82d0\\x2dae0a\\x2d4574\\x2d8811\\x2d62a31a51a870.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-vdb1.service": { "name": "systemd-fsck@dev-vdb1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-fsck@dev-vdc1.service": { "name": "systemd-fsck@dev-vdc1.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-halt.service": { "name": "systemd-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hibernate-resume@.service": { "name": "systemd-hibernate-resume@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-hibernate.service": { "name": "systemd-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-homed-activate.service": { "name": "systemd-homed-activate.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-homed.service": { "name": "systemd-homed.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-hostnamed.service": { "name": "systemd-hostnamed.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-journald@.service": { "name": "systemd-journald@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-network-generator.service": { "name": "systemd-network-generator.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-networkd-wait-online.service": { "name": "systemd-networkd-wait-online.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "systemd-networkd.service": { "name": "systemd-networkd.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "systemd-oomd.service": { "name": "systemd-oomd.service", "source": "systemd", "state": "running", "status": "enabled" }, "systemd-portabled.service": { "name": "systemd-portabled.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-pstore.service": { "name": "systemd-pstore.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "enabled-runtime" }, "systemd-repart.service": { "name": "systemd-repart.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-resolved.service": { "name": "systemd-resolved.service", "source": "systemd", "state": "running", "status": "enabled" }, "systemd-rfkill.service": { "name": "systemd-rfkill.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend-then-hibernate.service": { "name": "systemd-suspend-then-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysext.service": { "name": "systemd-sysext.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-time-wait-sync.service": { "name": "systemd-time-wait-sync.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-settle.service": { "name": "systemd-udev-settle.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-trigger.service": { "name": "systemd-udev-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udevd.service": { "name": "systemd-udevd.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-update-done.service": { "name": "systemd-update-done.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp-runlevel.service": { "name": "systemd-update-utmp-runlevel.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp.service": { "name": "systemd-update-utmp.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-user-sessions.service": { "name": "systemd-user-sessions.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-userdbd.service": { "name": "systemd-userdbd.service", "source": "systemd", "state": "running", "status": "indirect" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-volatile-root.service": { "name": "systemd-volatile-root.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-zram-setup@.service": { "name": "systemd-zram-setup@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-zram-setup@zram0.service": { "name": "systemd-zram-setup@zram0.service", "source": "systemd", "state": "stopped", "status": "active" }, "udisks2.service": { "name": "udisks2.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "unbound-anchor.service": { "name": "unbound-anchor.service", "source": "systemd", "state": "stopped", "status": "static" }, "user-runtime-dir@.service": { "name": "user-runtime-dir@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@0.service": { "name": "user-runtime-dir@0.service", "source": "systemd", "state": "stopped", "status": "active" }, "user@.service": { "name": "user@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user@0.service": { "name": "user@0.service", "source": "systemd", "state": "running", "status": "active" } } }, "changed": false } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 15:04:59 +0000 (0:00:01.983) 0:00:10.640 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 15:05:00 +0000 (0:00:00.057) 0:00:10.697 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 15:05:00 +0000 (0:00:00.022) 0:00:10.720 ******** ok: [/cache/fedora-35.qcow2.snap] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 15:05:00 +0000 (0:00:00.571) 0:00:11.291 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 15:05:00 +0000 (0:00:00.037) 0:00:11.328 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 15:05:00 +0000 (0:00:00.023) 0:00:11.352 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 15:05:00 +0000 (0:00:00.036) 0:00:11.389 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 15:05:00 +0000 (0:00:00.035) 0:00:11.424 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 15:05:00 +0000 (0:00:00.036) 0:00:11.460 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 15:05:00 +0000 (0:00:00.036) 0:00:11.497 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 15:05:00 +0000 (0:00:00.025) 0:00:11.522 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 15:05:00 +0000 (0:00:00.035) 0:00:11.557 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 15:05:00 +0000 (0:00:00.024) 0:00:11.582 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 15:05:01 +0000 (0:00:00.531) 0:00:12.113 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 15:05:01 +0000 (0:00:00.022) 0:00:12.136 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmpus9dv81c/tests/storage/tests_resize.yml:21 Wednesday 06 July 2022 15:05:02 +0000 (0:00:00.972) 0:00:13.109 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_resize.yml:28 Wednesday 06 July 2022 15:05:02 +0000 (0:00:00.087) 0:00:13.196 ******** included: /tmp/tmpus9dv81c/tests/storage/get_unused_disk.yml for /cache/fedora-35.qcow2.snap TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/get_unused_disk.yml:2 Wednesday 06 July 2022 15:05:02 +0000 (0:00:00.039) 0:00:13.236 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "disks": [ "nvme0n1" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/get_unused_disk.yml:9 Wednesday 06 July 2022 15:05:03 +0000 (0:00:00.540) 0:00:13.776 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "unused_disks": [ "nvme0n1" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmpus9dv81c/tests/storage/get_unused_disk.yml:14 Wednesday 06 July 2022 15:05:03 +0000 (0:00:00.037) 0:00:13.814 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/get_unused_disk.yml:19 Wednesday 06 July 2022 15:05:03 +0000 (0:00:00.040) 0:00:13.854 ******** ok: [/cache/fedora-35.qcow2.snap] => { "unused_disks": [ "nvme0n1" ] } TASK [Create one LVM logical volume with "5g" under one volume group] ********** task path: /tmp/tmpus9dv81c/tests/storage/tests_resize.yml:35 Wednesday 06 July 2022 15:05:03 +0000 (0:00:00.038) 0:00:13.893 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 15:05:03 +0000 (0:00:00.046) 0:00:13.940 ******** included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 15:05:03 +0000 (0:00:00.039) 0:00:13.979 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 15:05:03 +0000 (0:00:00.552) 0:00:14.532 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 15:05:03 +0000 (0:00:00.063) 0:00:14.596 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 15:05:03 +0000 (0:00:00.034) 0:00:14.630 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 15:05:04 +0000 (0:00:00.035) 0:00:14.666 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 15:05:04 +0000 (0:00:00.059) 0:00:14.725 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 15:05:04 +0000 (0:00:00.023) 0:00:14.749 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 15:05:04 +0000 (0:00:00.031) 0:00:14.780 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme0n1" ], "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 15:05:04 +0000 (0:00:00.041) 0:00:14.822 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 15:05:04 +0000 (0:00:00.038) 0:00:14.860 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 15:05:04 +0000 (0:00:00.028) 0:00:14.889 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 15:05:04 +0000 (0:00:00.026) 0:00:14.915 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 15:05:04 +0000 (0:00:00.030) 0:00:14.945 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 15:05:04 +0000 (0:00:00.029) 0:00:14.975 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 15:05:04 +0000 (0:00:00.057) 0:00:15.032 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 15:05:04 +0000 (0:00:00.020) 0:00:15.053 ******** changed: [/cache/fedora-35.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/nvme0n1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/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": [ "e2fsprogs", "dosfstools", "btrfs-progs", "lvm2" ], "pools": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 15:05:06 +0000 (0:00:02.580) 0:00:17.634 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 15:05:07 +0000 (0:00:00.038) 0:00:17.672 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 15:05:07 +0000 (0:00:00.023) 0:00:17.696 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/nvme0n1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" } ], "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/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": [ "e2fsprogs", "dosfstools", "btrfs-progs", "lvm2" ], "pools": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 15:05:07 +0000 (0:00:00.041) 0:00:17.737 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 15:05:07 +0000 (0:00:00.040) 0:00:17.778 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 15:05:07 +0000 (0:00:00.040) 0:00:17.819 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 15:05:07 +0000 (0:00:00.037) 0:00:17.857 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 15:05:08 +0000 (0:00:01.039) 0:00:18.897 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 15:05:08 +0000 (0:00:00.679) 0:00:19.576 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 15:05:09 +0000 (0:00:00.786) 0:00:20.362 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 15:05:10 +0000 (0:00:00.399) 0:00:20.761 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 15:05:10 +0000 (0:00:00.023) 0:00:20.785 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_resize.yml:50 Wednesday 06 July 2022 15:05:11 +0000 (0:00:00.967) 0:00:21.752 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:1 Wednesday 06 July 2022 15:05:11 +0000 (0:00:00.043) 0:00:21.796 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpus9dv81c/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 15:05:11 +0000 (0:00:00.053) 0:00:21.850 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 15:05:11 +0000 (0:00:00.036) 0:00:21.886 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "eafe2fa8-f374-4fc1-b59e-503fafd07df7" }, "/dev/nvme0n1": { "fstype": "LVM2_member", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "MhRKye-BQ7J-qILl-UhUO-uI15-e2Xq-LghWTK" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-15-04-36-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:19 Wednesday 06 July 2022 15:05:11 +0000 (0:00:00.538) 0:00:22.424 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.004295", "end": "2022-07-06 15:05:11.928963", "rc": 0, "start": "2022-07-06 15:05:10.924668" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:24 Wednesday 06 July 2022 15:05:13 +0000 (0:00:01.554) 0:00:23.978 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:01.004573", "end": "2022-07-06 15:05:13.348811", "failed_when_result": false, "rc": 0, "start": "2022-07-06 15:05:12.344238" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:33 Wednesday 06 July 2022 15:05:14 +0000 (0:00:01.414) 0:00:25.393 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['nvme0n1'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmpus9dv81c/tests/storage/test-verify-pool.yml:5 Wednesday 06 July 2022 15:05:14 +0000 (0:00:00.065) 0:00:25.458 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:18 Wednesday 06 July 2022 15:05:14 +0000 (0:00:00.036) 0:00:25.494 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:1 Wednesday 06 July 2022 15:05:14 +0000 (0:00:00.051) 0:00:25.545 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme0n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:6 Wednesday 06 July 2022 15:05:14 +0000 (0:00:00.057) 0:00:25.603 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme0n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme0n1", "pv": "/dev/nvme0n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:15 Wednesday 06 July 2022 15:05:15 +0000 (0:00:00.536) 0:00:26.140 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:19 Wednesday 06 July 2022 15:05:15 +0000 (0:00:00.051) 0:00:26.191 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme0n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:23 Wednesday 06 July 2022 15:05:15 +0000 (0:00:00.053) 0:00:26.244 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:29 Wednesday 06 July 2022 15:05:15 +0000 (0:00:00.051) 0:00:26.295 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:33 Wednesday 06 July 2022 15:05:15 +0000 (0:00:00.038) 0:00:26.334 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:37 Wednesday 06 July 2022 15:05:15 +0000 (0:00:00.046) 0:00:26.381 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:41 Wednesday 06 July 2022 15:05:15 +0000 (0:00:00.023) 0:00:26.405 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme0n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme0n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:50 Wednesday 06 July 2022 15:05:15 +0000 (0:00:00.042) 0:00:26.447 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:6 Wednesday 06 July 2022 15:05:15 +0000 (0:00:00.042) 0:00:26.490 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:12 Wednesday 06 July 2022 15:05:15 +0000 (0:00:00.022) 0:00:26.513 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:16 Wednesday 06 July 2022 15:05:15 +0000 (0:00:00.023) 0:00:26.536 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:20 Wednesday 06 July 2022 15:05:15 +0000 (0:00:00.021) 0:00:26.558 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:24 Wednesday 06 July 2022 15:05:15 +0000 (0:00:00.022) 0:00:26.581 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:30 Wednesday 06 July 2022 15:05:15 +0000 (0:00:00.023) 0:00:26.605 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:36 Wednesday 06 July 2022 15:05:15 +0000 (0:00:00.026) 0:00:26.631 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:44 Wednesday 06 July 2022 15:05:16 +0000 (0:00:00.057) 0:00:26.688 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:53 Wednesday 06 July 2022 15:05:16 +0000 (0:00:00.033) 0:00:26.722 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 15:05:16 +0000 (0:00:00.047) 0:00:26.770 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 15:05:16 +0000 (0:00:00.045) 0:00:26.815 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 15:05:16 +0000 (0:00:00.030) 0:00:26.845 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 15:05:16 +0000 (0:00:00.034) 0:00:26.880 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:56 Wednesday 06 July 2022 15:05:16 +0000 (0:00:00.031) 0:00:26.911 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 15:05:16 +0000 (0:00:00.049) 0:00:26.961 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 15:05:16 +0000 (0:00:00.049) 0:00:27.010 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 15:05:16 +0000 (0:00:00.026) 0:00:27.036 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 15:05:16 +0000 (0:00:00.023) 0:00:27.060 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 15:05:16 +0000 (0:00:00.024) 0:00:27.085 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:59 Wednesday 06 July 2022 15:05:16 +0000 (0:00:00.024) 0:00:27.110 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 15:05:16 +0000 (0:00:00.051) 0:00:27.161 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 15:05:16 +0000 (0:00:00.070) 0:00:27.231 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme0n1) => { "_storage_test_pool_member_path": "/dev/nvme0n1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 15:05:16 +0000 (0:00:00.028) 0:00:27.260 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/nvme0n1) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 15:05:16 +0000 (0:00:00.044) 0:00:27.305 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:4 Wednesday 06 July 2022 15:05:16 +0000 (0:00:00.055) 0:00:27.361 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:9 Wednesday 06 July 2022 15:05:16 +0000 (0:00:00.061) 0:00:27.423 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:15 Wednesday 06 July 2022 15:05:16 +0000 (0:00:00.038) 0:00:27.461 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:21 Wednesday 06 July 2022 15:05:16 +0000 (0:00:00.038) 0:00:27.499 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:27 Wednesday 06 July 2022 15:05:16 +0000 (0:00:00.037) 0:00:27.536 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 15:05:16 +0000 (0:00:00.037) 0:00:27.574 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:62 Wednesday 06 July 2022 15:05:16 +0000 (0:00:00.033) 0:00:27.608 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 15:05:16 +0000 (0:00:00.047) 0:00:27.656 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 15:05:17 +0000 (0:00:00.049) 0:00:27.705 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 15:05:17 +0000 (0:00:00.027) 0:00:27.732 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 15:05:17 +0000 (0:00:00.025) 0:00:27.758 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 15:05:17 +0000 (0:00:00.022) 0:00:27.780 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 15:05:17 +0000 (0:00:00.024) 0:00:27.805 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 15:05:17 +0000 (0:00:00.023) 0:00:27.828 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 15:05:17 +0000 (0:00:00.023) 0:00:27.852 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 15:05:17 +0000 (0:00:00.024) 0:00:27.876 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:65 Wednesday 06 July 2022 15:05:17 +0000 (0:00:00.104) 0:00:27.980 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 15:05:17 +0000 (0:00:00.036) 0:00:28.017 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmpus9dv81c/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 15:05:17 +0000 (0:00:00.044) 0:00:28.061 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 15:05:17 +0000 (0:00:00.058) 0:00:28.119 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 15:05:17 +0000 (0:00:00.100) 0:00:28.219 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 15:05:17 +0000 (0:00:00.043) 0:00:28.263 ******** ok: [/cache/fedora-35.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": "eafe2fa8-f374-4fc1-b59e-503fafd07df7" } ], "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": "eafe2fa8-f374-4fc1-b59e-503fafd07df7" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 15:05:17 +0000 (0:00:00.059) 0:00:28.323 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 15:05:17 +0000 (0:00:00.055) 0:00:28.378 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 15:05:17 +0000 (0:00:00.050) 0:00:28.429 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 15:05:17 +0000 (0:00:00.049) 0:00:28.479 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 15:05:17 +0000 (0:00:00.023) 0:00:28.503 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 15:05:17 +0000 (0:00:00.023) 0:00:28.526 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 15:05:17 +0000 (0:00:00.025) 0:00:28.551 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 15:05:17 +0000 (0:00:00.037) 0:00:28.588 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/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/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 15:05:17 +0000 (0:00:00.065) 0:00:28.653 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 15:05:18 +0000 (0:00:00.052) 0:00:28.706 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 15:05:18 +0000 (0:00:00.052) 0:00:28.758 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 15:05:18 +0000 (0:00:00.044) 0:00:28.802 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 15:05:18 +0000 (0:00:00.034) 0:00:28.837 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 15:05:18 +0000 (0:00:00.039) 0:00:28.876 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 15:05:18 +0000 (0:00:00.039) 0:00:28.915 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657119907.5285666, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657119905.5285666, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 505, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657119905.5285666, "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/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 15:05:18 +0000 (0:00:00.416) 0:00:29.332 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 15:05:18 +0000 (0:00:00.052) 0:00:29.384 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 15:05:18 +0000 (0:00:00.041) 0:00:29.425 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 15:05:18 +0000 (0:00:00.038) 0:00:29.464 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 15:05:18 +0000 (0:00:00.024) 0:00:29.488 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 15:05:18 +0000 (0:00:00.039) 0:00:29.528 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 15:05:18 +0000 (0:00:00.025) 0:00:29.554 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 15:05:20 +0000 (0:00:02.082) 0:00:31.636 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 15:05:20 +0000 (0:00:00.030) 0:00:31.667 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 15:05:21 +0000 (0:00:00.027) 0:00:31.694 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 15:05:21 +0000 (0:00:00.060) 0:00:31.754 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 15:05:21 +0000 (0:00:00.029) 0:00:31.784 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 15:05:21 +0000 (0:00:00.027) 0:00:31.811 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 15:05:21 +0000 (0:00:00.028) 0:00:31.839 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 15:05:21 +0000 (0:00:00.027) 0:00:31.866 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 15:05:21 +0000 (0:00:00.028) 0:00:31.895 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 15:05:21 +0000 (0:00:00.053) 0:00:31.948 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 15:05:21 +0000 (0:00:00.052) 0:00:32.000 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 15:05:21 +0000 (0:00:00.041) 0:00:32.041 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 15:05:21 +0000 (0:00:00.039) 0:00:32.081 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 15:05:21 +0000 (0:00:00.037) 0:00:32.119 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 15:05:21 +0000 (0:00:00.039) 0:00:32.158 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 15:05:21 +0000 (0:00:00.039) 0:00:32.197 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 15:05:21 +0000 (0:00:00.039) 0:00:32.237 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 15:05:21 +0000 (0:00:00.037) 0:00:32.275 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 15:05:21 +0000 (0:00:00.039) 0:00:32.315 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 15:05:21 +0000 (0:00:00.037) 0:00:32.352 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 15:05:21 +0000 (0:00:00.036) 0:00:32.389 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 15:05:21 +0000 (0:00:00.035) 0:00:32.424 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 15:05:22 +0000 (0:00:00.533) 0:00:32.958 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 15:05:22 +0000 (0:00:00.446) 0:00:33.405 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 15:05:22 +0000 (0:00:00.052) 0:00:33.457 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 15:05:22 +0000 (0:00:00.087) 0:00:33.545 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 15:05:22 +0000 (0:00:00.039) 0:00:33.584 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 15:05:23 +0000 (0:00:00.115) 0:00:33.699 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 15:05:23 +0000 (0:00:00.040) 0:00:33.739 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 15:05:23 +0000 (0:00:00.040) 0:00:33.780 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 15:05:23 +0000 (0:00:00.041) 0:00:33.821 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 15:05:23 +0000 (0:00:00.043) 0:00:33.865 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 15:05:23 +0000 (0:00:00.039) 0:00:33.904 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 15:05:23 +0000 (0:00:00.055) 0:00:33.959 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.048101", "end": "2022-07-06 15:05:22.394095", "rc": 0, "start": "2022-07-06 15:05:22.345994" } 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/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 15:05:23 +0000 (0:00:00.486) 0:00:34.445 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 15:05:23 +0000 (0:00:00.052) 0:00:34.498 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 15:05:23 +0000 (0:00:00.050) 0:00:34.549 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 15:05:23 +0000 (0:00:00.036) 0:00:34.585 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 15:05:23 +0000 (0:00:00.036) 0:00:34.621 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 15:05:23 +0000 (0:00:00.036) 0:00:34.658 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 15:05:24 +0000 (0:00:00.037) 0:00:34.695 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 15:05:24 +0000 (0:00:00.033) 0:00:34.728 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:47 Wednesday 06 July 2022 15:05:24 +0000 (0:00:00.037) 0:00:34.766 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 15:05:24 +0000 (0:00:00.024) 0:00:34.790 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Change volume_size to "9g"] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_resize.yml:52 Wednesday 06 July 2022 15:05:24 +0000 (0:00:00.036) 0:00:34.826 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 15:05:24 +0000 (0:00:00.052) 0:00:34.878 ******** included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 15:05:24 +0000 (0:00:00.036) 0:00:34.915 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 15:05:24 +0000 (0:00:00.558) 0:00:35.474 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 15:05:24 +0000 (0:00:00.077) 0:00:35.551 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 15:05:24 +0000 (0:00:00.037) 0:00:35.589 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 15:05:24 +0000 (0:00:00.038) 0:00:35.627 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 15:05:25 +0000 (0:00:00.100) 0:00:35.728 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 15:05:25 +0000 (0:00:00.031) 0:00:35.760 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 15:05:25 +0000 (0:00:00.033) 0:00:35.794 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme0n1" ], "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 15:05:25 +0000 (0:00:00.043) 0:00:35.838 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 15:05:25 +0000 (0:00:00.039) 0:00:35.877 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 15:05:25 +0000 (0:00:00.027) 0:00:35.905 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 15:05:25 +0000 (0:00:00.028) 0:00:35.933 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 15:05:25 +0000 (0:00:00.027) 0:00:35.961 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 15:05:25 +0000 (0:00:00.029) 0:00:35.990 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 15:05:25 +0000 (0:00:00.057) 0:00:36.047 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 15:05:25 +0000 (0:00:00.022) 0:00:36.070 ******** changed: [/cache/fedora-35.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/sda", "/dev/sdb", "/dev/sdc", "/dev/mapper/foo-test1", "/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", "btrfs-progs", "dosfstools" ], "pools": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 15:05:28 +0000 (0:00:02.625) 0:00:38.696 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 15:05:28 +0000 (0:00:00.038) 0:00:38.734 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 15:05:28 +0000 (0:00:00.022) 0:00:38.757 ******** ok: [/cache/fedora-35.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/sda", "/dev/sdb", "/dev/sdc", "/dev/mapper/foo-test1", "/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", "btrfs-progs", "dosfstools" ], "pools": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 15:05:28 +0000 (0:00:00.038) 0:00:38.796 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 15:05:28 +0000 (0:00:00.036) 0:00:38.832 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 15:05:28 +0000 (0:00:00.040) 0:00:38.872 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 15:05:28 +0000 (0:00:00.038) 0:00:38.911 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 15:05:28 +0000 (0:00:00.752) 0:00:39.664 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 15:05:29 +0000 (0:00:00.443) 0:00:40.107 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 15:05:30 +0000 (0:00:00.750) 0:00:40.858 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 15:05:30 +0000 (0:00:00.412) 0:00:41.270 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 15:05:30 +0000 (0:00:00.024) 0:00:41.295 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_resize.yml:66 Wednesday 06 July 2022 15:05:31 +0000 (0:00:01.002) 0:00:42.298 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:1 Wednesday 06 July 2022 15:05:31 +0000 (0:00:00.043) 0:00:42.341 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpus9dv81c/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 15:05:31 +0000 (0:00:00.120) 0:00:42.462 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 15:05:31 +0000 (0:00:00.038) 0:00:42.500 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "9G", "type": "lvm", "uuid": "eafe2fa8-f374-4fc1-b59e-503fafd07df7" }, "/dev/nvme0n1": { "fstype": "LVM2_member", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "MhRKye-BQ7J-qILl-UhUO-uI15-e2Xq-LghWTK" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-15-04-36-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:19 Wednesday 06 July 2022 15:05:32 +0000 (0:00:00.440) 0:00:42.941 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003308", "end": "2022-07-06 15:05:31.303020", "rc": 0, "start": "2022-07-06 15:05:31.299712" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:24 Wednesday 06 July 2022 15:05:32 +0000 (0:00:00.413) 0:00:43.354 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003059", "end": "2022-07-06 15:05:31.707573", "failed_when_result": false, "rc": 0, "start": "2022-07-06 15:05:31.704514" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:33 Wednesday 06 July 2022 15:05:33 +0000 (0:00:00.395) 0:00:43.750 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['nvme0n1'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:5 Wednesday 06 July 2022 15:05:33 +0000 (0:00:00.066) 0:00:43.817 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:18 Wednesday 06 July 2022 15:05:33 +0000 (0:00:00.037) 0:00:43.855 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:1 Wednesday 06 July 2022 15:05:33 +0000 (0:00:00.048) 0:00:43.903 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme0n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:6 Wednesday 06 July 2022 15:05:33 +0000 (0:00:00.058) 0:00:43.962 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme0n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme0n1", "pv": "/dev/nvme0n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:15 Wednesday 06 July 2022 15:05:33 +0000 (0:00:00.395) 0:00:44.358 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:19 Wednesday 06 July 2022 15:05:33 +0000 (0:00:00.051) 0:00:44.410 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme0n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:23 Wednesday 06 July 2022 15:05:33 +0000 (0:00:00.054) 0:00:44.464 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:29 Wednesday 06 July 2022 15:05:33 +0000 (0:00:00.053) 0:00:44.518 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:33 Wednesday 06 July 2022 15:05:33 +0000 (0:00:00.039) 0:00:44.558 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:37 Wednesday 06 July 2022 15:05:33 +0000 (0:00:00.049) 0:00:44.607 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:41 Wednesday 06 July 2022 15:05:33 +0000 (0:00:00.037) 0:00:44.644 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme0n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme0n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:50 Wednesday 06 July 2022 15:05:34 +0000 (0:00:00.056) 0:00:44.701 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:6 Wednesday 06 July 2022 15:05:34 +0000 (0:00:00.042) 0:00:44.744 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:12 Wednesday 06 July 2022 15:05:34 +0000 (0:00:00.027) 0:00:44.772 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:16 Wednesday 06 July 2022 15:05:34 +0000 (0:00:00.023) 0:00:44.796 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:20 Wednesday 06 July 2022 15:05:34 +0000 (0:00:00.023) 0:00:44.819 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:24 Wednesday 06 July 2022 15:05:34 +0000 (0:00:00.023) 0:00:44.843 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:30 Wednesday 06 July 2022 15:05:34 +0000 (0:00:00.068) 0:00:44.911 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:36 Wednesday 06 July 2022 15:05:34 +0000 (0:00:00.026) 0:00:44.938 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:44 Wednesday 06 July 2022 15:05:34 +0000 (0:00:00.026) 0:00:44.964 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:53 Wednesday 06 July 2022 15:05:34 +0000 (0:00:00.036) 0:00:45.001 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 15:05:34 +0000 (0:00:00.048) 0:00:45.050 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 15:05:34 +0000 (0:00:00.045) 0:00:45.095 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 15:05:34 +0000 (0:00:00.033) 0:00:45.128 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 15:05:34 +0000 (0:00:00.030) 0:00:45.158 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:56 Wednesday 06 July 2022 15:05:34 +0000 (0:00:00.030) 0:00:45.188 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 15:05:34 +0000 (0:00:00.048) 0:00:45.237 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 15:05:34 +0000 (0:00:00.045) 0:00:45.282 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 15:05:34 +0000 (0:00:00.024) 0:00:45.307 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 15:05:34 +0000 (0:00:00.023) 0:00:45.330 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 15:05:34 +0000 (0:00:00.024) 0:00:45.355 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:59 Wednesday 06 July 2022 15:05:34 +0000 (0:00:00.024) 0:00:45.380 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 15:05:34 +0000 (0:00:00.047) 0:00:45.428 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 15:05:34 +0000 (0:00:00.053) 0:00:45.482 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme0n1) => { "_storage_test_pool_member_path": "/dev/nvme0n1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 15:05:34 +0000 (0:00:00.030) 0:00:45.512 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/nvme0n1) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 15:05:34 +0000 (0:00:00.047) 0:00:45.560 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:4 Wednesday 06 July 2022 15:05:34 +0000 (0:00:00.050) 0:00:45.610 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:9 Wednesday 06 July 2022 15:05:34 +0000 (0:00:00.051) 0:00:45.661 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:15 Wednesday 06 July 2022 15:05:35 +0000 (0:00:00.037) 0:00:45.698 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:21 Wednesday 06 July 2022 15:05:35 +0000 (0:00:00.037) 0:00:45.735 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:27 Wednesday 06 July 2022 15:05:35 +0000 (0:00:00.036) 0:00:45.772 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 15:05:35 +0000 (0:00:00.039) 0:00:45.811 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:62 Wednesday 06 July 2022 15:05:35 +0000 (0:00:00.034) 0:00:45.846 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 15:05:35 +0000 (0:00:00.049) 0:00:45.895 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 15:05:35 +0000 (0:00:00.053) 0:00:45.948 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 15:05:35 +0000 (0:00:00.025) 0:00:45.974 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 15:05:35 +0000 (0:00:00.025) 0:00:46.000 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 15:05:35 +0000 (0:00:00.026) 0:00:46.027 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 15:05:35 +0000 (0:00:00.024) 0:00:46.051 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 15:05:35 +0000 (0:00:00.025) 0:00:46.077 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 15:05:35 +0000 (0:00:00.025) 0:00:46.103 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 15:05:35 +0000 (0:00:00.059) 0:00:46.162 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:65 Wednesday 06 July 2022 15:05:35 +0000 (0:00:00.036) 0:00:46.199 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 15:05:35 +0000 (0:00:00.036) 0:00:46.236 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 15:05:35 +0000 (0:00:00.046) 0:00:46.283 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 15:05:35 +0000 (0:00:00.052) 0:00:46.335 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 15:05:35 +0000 (0:00:00.095) 0:00:46.431 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 15:05:35 +0000 (0:00:00.056) 0:00:46.487 ******** ok: [/cache/fedora-35.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": "eafe2fa8-f374-4fc1-b59e-503fafd07df7" } ], "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": "eafe2fa8-f374-4fc1-b59e-503fafd07df7" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 15:05:35 +0000 (0:00:00.062) 0:00:46.549 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 15:05:35 +0000 (0:00:00.054) 0:00:46.604 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 15:05:35 +0000 (0:00:00.053) 0:00:46.658 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 15:05:36 +0000 (0:00:00.056) 0:00:46.714 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 15:05:36 +0000 (0:00:00.026) 0:00:46.741 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 15:05:36 +0000 (0:00:00.027) 0:00:46.769 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 15:05:36 +0000 (0:00:00.023) 0:00:46.793 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 15:05:36 +0000 (0:00:00.048) 0:00:46.841 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/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/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 15:05:36 +0000 (0:00:00.064) 0:00:46.905 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 15:05:36 +0000 (0:00:00.054) 0:00:46.960 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 15:05:36 +0000 (0:00:00.055) 0:00:47.015 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 15:05:36 +0000 (0:00:00.039) 0:00:47.054 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 15:05:36 +0000 (0:00:00.037) 0:00:47.092 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 15:05:36 +0000 (0:00:00.039) 0:00:47.132 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 15:05:36 +0000 (0:00:00.040) 0:00:47.173 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657119928.0605667, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657119926.6065667, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 505, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657119926.6065667, "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/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 15:05:36 +0000 (0:00:00.423) 0:00:47.596 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 15:05:36 +0000 (0:00:00.038) 0:00:47.635 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 15:05:37 +0000 (0:00:00.042) 0:00:47.678 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 15:05:37 +0000 (0:00:00.038) 0:00:47.716 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 15:05:37 +0000 (0:00:00.025) 0:00:47.742 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 15:05:37 +0000 (0:00:00.042) 0:00:47.785 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 15:05:37 +0000 (0:00:00.026) 0:00:47.811 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 15:05:39 +0000 (0:00:02.041) 0:00:49.853 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 15:05:39 +0000 (0:00:00.074) 0:00:49.927 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 15:05:39 +0000 (0:00:00.024) 0:00:49.952 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 15:05:39 +0000 (0:00:00.052) 0:00:50.004 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 15:05:39 +0000 (0:00:00.025) 0:00:50.030 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 15:05:39 +0000 (0:00:00.027) 0:00:50.057 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 15:05:39 +0000 (0:00:00.026) 0:00:50.083 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 15:05:39 +0000 (0:00:00.027) 0:00:50.110 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 15:05:39 +0000 (0:00:00.025) 0:00:50.136 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 15:05:39 +0000 (0:00:00.054) 0:00:50.190 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 15:05:39 +0000 (0:00:00.051) 0:00:50.242 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 15:05:39 +0000 (0:00:00.039) 0:00:50.281 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 15:05:39 +0000 (0:00:00.040) 0:00:50.322 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 15:05:39 +0000 (0:00:00.039) 0:00:50.362 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 15:05:39 +0000 (0:00:00.037) 0:00:50.399 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 15:05:39 +0000 (0:00:00.039) 0:00:50.439 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 15:05:39 +0000 (0:00:00.044) 0:00:50.483 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 15:05:39 +0000 (0:00:00.039) 0:00:50.523 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 15:05:39 +0000 (0:00:00.041) 0:00:50.564 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 15:05:39 +0000 (0:00:00.039) 0:00:50.603 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 15:05:39 +0000 (0:00:00.042) 0:00:50.646 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 15:05:40 +0000 (0:00:00.049) 0:00:50.696 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 15:05:40 +0000 (0:00:00.421) 0:00:51.117 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 15:05:40 +0000 (0:00:00.422) 0:00:51.539 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "9663676416" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 15:05:40 +0000 (0:00:00.059) 0:00:51.599 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "9663676416" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 15:05:40 +0000 (0:00:00.040) 0:00:51.639 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 15:05:41 +0000 (0:00:00.044) 0:00:51.683 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 15:05:41 +0000 (0:00:00.041) 0:00:51.725 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 15:05:41 +0000 (0:00:00.040) 0:00:51.766 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 15:05:41 +0000 (0:00:00.039) 0:00:51.806 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 15:05:41 +0000 (0:00:00.042) 0:00:51.848 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 9663676416, "changed": false, "failed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 15:05:41 +0000 (0:00:00.041) 0:00:51.889 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "9663676416" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 15:05:41 +0000 (0:00:00.088) 0:00:51.978 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 15:05:41 +0000 (0:00:00.057) 0:00:52.035 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.063271", "end": "2022-07-06 15:05:40.454950", "rc": 0, "start": "2022-07-06 15:05:40.391679" } 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/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 15:05:41 +0000 (0:00:00.469) 0:00:52.504 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 15:05:41 +0000 (0:00:00.050) 0:00:52.555 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 15:05:41 +0000 (0:00:00.086) 0:00:52.642 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 15:05:42 +0000 (0:00:00.037) 0:00:52.679 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 15:05:42 +0000 (0:00:00.042) 0:00:52.721 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 15:05:42 +0000 (0:00:00.044) 0:00:52.766 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 15:05:42 +0000 (0:00:00.041) 0:00:52.807 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 15:05:42 +0000 (0:00:00.091) 0:00:52.899 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:47 Wednesday 06 July 2022 15:05:42 +0000 (0:00:00.079) 0:00:52.978 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 15:05:42 +0000 (0:00:00.022) 0:00:53.000 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Change volume size to "5g"] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_resize.yml:68 Wednesday 06 July 2022 15:05:42 +0000 (0:00:00.038) 0:00:53.039 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 15:05:42 +0000 (0:00:00.057) 0:00:53.096 ******** included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 15:05:42 +0000 (0:00:00.044) 0:00:53.141 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 15:05:43 +0000 (0:00:00.579) 0:00:53.720 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 15:05:43 +0000 (0:00:00.065) 0:00:53.785 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 15:05:43 +0000 (0:00:00.038) 0:00:53.824 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 15:05:43 +0000 (0:00:00.038) 0:00:53.863 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 15:05:43 +0000 (0:00:00.061) 0:00:53.924 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 15:05:43 +0000 (0:00:00.023) 0:00:53.948 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 15:05:43 +0000 (0:00:00.032) 0:00:53.980 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme0n1" ], "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 15:05:43 +0000 (0:00:00.041) 0:00:54.022 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 15:05:43 +0000 (0:00:00.042) 0:00:54.064 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 15:05:43 +0000 (0:00:00.031) 0:00:54.096 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 15:05:43 +0000 (0:00:00.031) 0:00:54.127 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 15:05:43 +0000 (0:00:00.029) 0:00:54.157 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 15:05:43 +0000 (0:00:00.028) 0:00:54.186 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 15:05:43 +0000 (0:00:00.061) 0:00:54.248 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 15:05:43 +0000 (0:00:00.024) 0:00:54.272 ******** changed: [/cache/fedora-35.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/sda", "/dev/sdb", "/dev/sdc", "/dev/mapper/foo-test1", "/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": [ "btrfs-progs", "e2fsprogs", "lvm2", "dosfstools" ], "pools": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 15:05:46 +0000 (0:00:02.663) 0:00:56.936 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 15:05:46 +0000 (0:00:00.039) 0:00:56.975 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 15:05:46 +0000 (0:00:00.023) 0:00:56.999 ******** ok: [/cache/fedora-35.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/sda", "/dev/sdb", "/dev/sdc", "/dev/mapper/foo-test1", "/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": [ "btrfs-progs", "e2fsprogs", "lvm2", "dosfstools" ], "pools": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 15:05:46 +0000 (0:00:00.038) 0:00:57.037 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 15:05:46 +0000 (0:00:00.038) 0:00:57.076 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 15:05:46 +0000 (0:00:00.036) 0:00:57.112 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 15:05:46 +0000 (0:00:00.040) 0:00:57.153 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 15:05:47 +0000 (0:00:00.723) 0:00:57.876 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 15:05:47 +0000 (0:00:00.435) 0:00:58.311 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 15:05:48 +0000 (0:00:00.712) 0:00:59.023 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 15:05:48 +0000 (0:00:00.421) 0:00:59.445 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 15:05:48 +0000 (0:00:00.022) 0:00:59.468 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_resize.yml:82 Wednesday 06 July 2022 15:05:49 +0000 (0:00:00.956) 0:01:00.424 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:1 Wednesday 06 July 2022 15:05:49 +0000 (0:00:00.046) 0:01:00.471 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpus9dv81c/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 15:05:49 +0000 (0:00:00.089) 0:01:00.560 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 15:05:49 +0000 (0:00:00.038) 0:01:00.599 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "eafe2fa8-f374-4fc1-b59e-503fafd07df7" }, "/dev/nvme0n1": { "fstype": "LVM2_member", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "MhRKye-BQ7J-qILl-UhUO-uI15-e2Xq-LghWTK" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-15-04-36-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:19 Wednesday 06 July 2022 15:05:50 +0000 (0:00:00.439) 0:01:01.038 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002960", "end": "2022-07-06 15:05:49.377894", "rc": 0, "start": "2022-07-06 15:05:49.374934" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:24 Wednesday 06 July 2022 15:05:50 +0000 (0:00:00.382) 0:01:01.421 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002921", "end": "2022-07-06 15:05:49.768734", "failed_when_result": false, "rc": 0, "start": "2022-07-06 15:05:49.765813" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:33 Wednesday 06 July 2022 15:05:51 +0000 (0:00:00.388) 0:01:01.810 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['nvme0n1'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:5 Wednesday 06 July 2022 15:05:51 +0000 (0:00:00.062) 0:01:01.872 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:18 Wednesday 06 July 2022 15:05:51 +0000 (0:00:00.036) 0:01:01.909 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:1 Wednesday 06 July 2022 15:05:51 +0000 (0:00:00.048) 0:01:01.957 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme0n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:6 Wednesday 06 July 2022 15:05:51 +0000 (0:00:00.058) 0:01:02.016 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme0n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme0n1", "pv": "/dev/nvme0n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:15 Wednesday 06 July 2022 15:05:51 +0000 (0:00:00.414) 0:01:02.430 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:19 Wednesday 06 July 2022 15:05:51 +0000 (0:00:00.051) 0:01:02.482 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme0n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:23 Wednesday 06 July 2022 15:05:51 +0000 (0:00:00.052) 0:01:02.534 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:29 Wednesday 06 July 2022 15:05:51 +0000 (0:00:00.055) 0:01:02.590 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:33 Wednesday 06 July 2022 15:05:51 +0000 (0:00:00.037) 0:01:02.628 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:37 Wednesday 06 July 2022 15:05:52 +0000 (0:00:00.049) 0:01:02.677 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:41 Wednesday 06 July 2022 15:05:52 +0000 (0:00:00.023) 0:01:02.701 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme0n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme0n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:50 Wednesday 06 July 2022 15:05:52 +0000 (0:00:00.049) 0:01:02.751 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:6 Wednesday 06 July 2022 15:05:52 +0000 (0:00:00.044) 0:01:02.795 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:12 Wednesday 06 July 2022 15:05:52 +0000 (0:00:00.027) 0:01:02.822 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:16 Wednesday 06 July 2022 15:05:52 +0000 (0:00:00.028) 0:01:02.851 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:20 Wednesday 06 July 2022 15:05:52 +0000 (0:00:00.027) 0:01:02.879 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:24 Wednesday 06 July 2022 15:05:52 +0000 (0:00:00.027) 0:01:02.906 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:30 Wednesday 06 July 2022 15:05:52 +0000 (0:00:00.028) 0:01:02.935 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:36 Wednesday 06 July 2022 15:05:52 +0000 (0:00:00.071) 0:01:03.006 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:44 Wednesday 06 July 2022 15:05:52 +0000 (0:00:00.026) 0:01:03.033 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:53 Wednesday 06 July 2022 15:05:52 +0000 (0:00:00.038) 0:01:03.071 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 15:05:52 +0000 (0:00:00.053) 0:01:03.125 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 15:05:52 +0000 (0:00:00.048) 0:01:03.173 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 15:05:52 +0000 (0:00:00.031) 0:01:03.205 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 15:05:52 +0000 (0:00:00.032) 0:01:03.238 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:56 Wednesday 06 July 2022 15:05:52 +0000 (0:00:00.029) 0:01:03.267 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 15:05:52 +0000 (0:00:00.047) 0:01:03.314 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 15:05:52 +0000 (0:00:00.043) 0:01:03.358 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 15:05:52 +0000 (0:00:00.023) 0:01:03.381 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 15:05:52 +0000 (0:00:00.025) 0:01:03.406 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 15:05:52 +0000 (0:00:00.023) 0:01:03.429 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:59 Wednesday 06 July 2022 15:05:52 +0000 (0:00:00.023) 0:01:03.453 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 15:05:52 +0000 (0:00:00.046) 0:01:03.499 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 15:05:52 +0000 (0:00:00.051) 0:01:03.551 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme0n1) => { "_storage_test_pool_member_path": "/dev/nvme0n1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 15:05:52 +0000 (0:00:00.029) 0:01:03.580 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/nvme0n1) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 15:05:52 +0000 (0:00:00.045) 0:01:03.626 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:4 Wednesday 06 July 2022 15:05:53 +0000 (0:00:00.052) 0:01:03.678 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:9 Wednesday 06 July 2022 15:05:53 +0000 (0:00:00.051) 0:01:03.730 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:15 Wednesday 06 July 2022 15:05:53 +0000 (0:00:00.039) 0:01:03.770 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:21 Wednesday 06 July 2022 15:05:53 +0000 (0:00:00.037) 0:01:03.807 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:27 Wednesday 06 July 2022 15:05:53 +0000 (0:00:00.035) 0:01:03.843 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 15:05:53 +0000 (0:00:00.037) 0:01:03.881 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:62 Wednesday 06 July 2022 15:05:53 +0000 (0:00:00.039) 0:01:03.920 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 15:05:53 +0000 (0:00:00.049) 0:01:03.970 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 15:05:53 +0000 (0:00:00.046) 0:01:04.017 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 15:05:53 +0000 (0:00:00.023) 0:01:04.041 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 15:05:53 +0000 (0:00:00.022) 0:01:04.063 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 15:05:53 +0000 (0:00:00.023) 0:01:04.087 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 15:05:53 +0000 (0:00:00.025) 0:01:04.112 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 15:05:53 +0000 (0:00:00.024) 0:01:04.137 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 15:05:53 +0000 (0:00:00.023) 0:01:04.161 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 15:05:53 +0000 (0:00:00.027) 0:01:04.188 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:65 Wednesday 06 July 2022 15:05:53 +0000 (0:00:00.067) 0:01:04.255 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 15:05:53 +0000 (0:00:00.036) 0:01:04.292 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 15:05:53 +0000 (0:00:00.046) 0:01:04.339 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 15:05:53 +0000 (0:00:00.050) 0:01:04.390 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 15:05:53 +0000 (0:00:00.084) 0:01:04.474 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 15:05:53 +0000 (0:00:00.045) 0:01:04.520 ******** ok: [/cache/fedora-35.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": "eafe2fa8-f374-4fc1-b59e-503fafd07df7" } ], "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": "eafe2fa8-f374-4fc1-b59e-503fafd07df7" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 15:05:53 +0000 (0:00:00.072) 0:01:04.592 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 15:05:53 +0000 (0:00:00.050) 0:01:04.642 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 15:05:54 +0000 (0:00:00.051) 0:01:04.694 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 15:05:54 +0000 (0:00:00.057) 0:01:04.751 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 15:05:54 +0000 (0:00:00.026) 0:01:04.778 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 15:05:54 +0000 (0:00:00.025) 0:01:04.804 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 15:05:54 +0000 (0:00:00.025) 0:01:04.829 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 15:05:54 +0000 (0:00:00.041) 0:01:04.871 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/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/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 15:05:54 +0000 (0:00:00.066) 0:01:04.938 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 15:05:54 +0000 (0:00:00.053) 0:01:04.991 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 15:05:54 +0000 (0:00:00.055) 0:01:05.047 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 15:05:54 +0000 (0:00:00.036) 0:01:05.083 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 15:05:54 +0000 (0:00:00.038) 0:01:05.122 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 15:05:54 +0000 (0:00:00.040) 0:01:05.162 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 15:05:54 +0000 (0:00:00.041) 0:01:05.203 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657119946.2695665, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657119944.7935665, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 505, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657119944.7935665, "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/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 15:05:54 +0000 (0:00:00.423) 0:01:05.627 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 15:05:55 +0000 (0:00:00.040) 0:01:05.668 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 15:05:55 +0000 (0:00:00.042) 0:01:05.711 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 15:05:55 +0000 (0:00:00.037) 0:01:05.748 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 15:05:55 +0000 (0:00:00.026) 0:01:05.775 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 15:05:55 +0000 (0:00:00.043) 0:01:05.819 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 15:05:55 +0000 (0:00:00.027) 0:01:05.846 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 15:05:57 +0000 (0:00:02.043) 0:01:07.889 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 15:05:57 +0000 (0:00:00.024) 0:01:07.914 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 15:05:57 +0000 (0:00:00.024) 0:01:07.938 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 15:05:57 +0000 (0:00:00.051) 0:01:07.990 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 15:05:57 +0000 (0:00:00.023) 0:01:08.013 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 15:05:57 +0000 (0:00:00.025) 0:01:08.038 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 15:05:57 +0000 (0:00:00.025) 0:01:08.064 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 15:05:57 +0000 (0:00:00.027) 0:01:08.091 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 15:05:57 +0000 (0:00:00.029) 0:01:08.120 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 15:05:57 +0000 (0:00:00.059) 0:01:08.180 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 15:05:57 +0000 (0:00:00.049) 0:01:08.230 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 15:05:57 +0000 (0:00:00.037) 0:01:08.268 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 15:05:57 +0000 (0:00:00.039) 0:01:08.308 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 15:05:57 +0000 (0:00:00.052) 0:01:08.360 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 15:05:57 +0000 (0:00:00.036) 0:01:08.397 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 15:05:57 +0000 (0:00:00.037) 0:01:08.434 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 15:05:57 +0000 (0:00:00.036) 0:01:08.471 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 15:05:57 +0000 (0:00:00.040) 0:01:08.511 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 15:05:57 +0000 (0:00:00.035) 0:01:08.547 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 15:05:57 +0000 (0:00:00.035) 0:01:08.582 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 15:05:57 +0000 (0:00:00.036) 0:01:08.619 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 15:05:57 +0000 (0:00:00.040) 0:01:08.659 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 15:05:58 +0000 (0:00:00.390) 0:01:09.050 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 15:05:58 +0000 (0:00:00.450) 0:01:09.500 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 15:05:58 +0000 (0:00:00.053) 0:01:09.553 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 15:05:58 +0000 (0:00:00.042) 0:01:09.596 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 15:05:58 +0000 (0:00:00.037) 0:01:09.633 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 15:05:59 +0000 (0:00:00.036) 0:01:09.670 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 15:05:59 +0000 (0:00:00.034) 0:01:09.704 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 15:05:59 +0000 (0:00:00.036) 0:01:09.741 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 15:05:59 +0000 (0:00:00.035) 0:01:09.777 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 15:05:59 +0000 (0:00:00.033) 0:01:09.811 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 15:05:59 +0000 (0:00:00.092) 0:01:09.904 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 15:05:59 +0000 (0:00:00.139) 0:01:10.043 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.058430", "end": "2022-07-06 15:05:58.443911", "rc": 0, "start": "2022-07-06 15:05:58.385481" } 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/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 15:05:59 +0000 (0:00:00.452) 0:01:10.496 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 15:05:59 +0000 (0:00:00.054) 0:01:10.550 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 15:05:59 +0000 (0:00:00.057) 0:01:10.607 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 15:05:59 +0000 (0:00:00.039) 0:01:10.646 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 15:06:00 +0000 (0:00:00.040) 0:01:10.687 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 15:06:00 +0000 (0:00:00.042) 0:01:10.729 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 15:06:00 +0000 (0:00:00.041) 0:01:10.770 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 15:06:00 +0000 (0:00:00.037) 0:01:10.807 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:47 Wednesday 06 July 2022 15:06:00 +0000 (0:00:00.033) 0:01:10.841 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 15:06:00 +0000 (0:00:00.021) 0:01:10.863 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Try to create LVM with a too-large volume size, resize to "12884901888.0"] *** task path: /tmp/tmpus9dv81c/tests/storage/tests_resize.yml:86 Wednesday 06 July 2022 15:06:00 +0000 (0:00:00.045) 0:01:10.909 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 15:06:00 +0000 (0:00:00.038) 0:01:10.947 ******** included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 15:06:00 +0000 (0:00:00.034) 0:01:10.982 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 15:06:00 +0000 (0:00:00.578) 0:01:11.560 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 15:06:00 +0000 (0:00:00.067) 0:01:11.628 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 15:06:00 +0000 (0:00:00.036) 0:01:11.665 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 15:06:01 +0000 (0:00:00.040) 0:01:11.706 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 15:06:01 +0000 (0:00:00.060) 0:01:11.766 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 15:06:01 +0000 (0:00:00.022) 0:01:11.789 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 15:06:01 +0000 (0:00:00.029) 0:01:11.818 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme0n1" ], "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 15:06:01 +0000 (0:00:00.045) 0:01:11.864 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 15:06:01 +0000 (0:00:00.038) 0:01:11.902 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 15:06:01 +0000 (0:00:00.028) 0:01:11.931 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 15:06:01 +0000 (0:00:00.027) 0:01:11.958 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 15:06:01 +0000 (0:00:00.028) 0:01:11.987 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 15:06:01 +0000 (0:00:00.027) 0:01:12.015 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 15:06:01 +0000 (0:00:00.082) 0:01:12.097 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 15:06:01 +0000 (0:00:00.022) 0:01:12.119 ******** fatal: [/cache/fedora-35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:86 Wednesday 06 July 2022 15:06:03 +0000 (0:00:02.029) 0:01:14.149 ******** fatal: [/cache/fedora-35.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': ['nvme0n1'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}], '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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 15:06:03 +0000 (0:00:00.044) 0:01:14.193 ******** TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_resize.yml:104 Wednesday 06 July 2022 15:06:03 +0000 (0:00:00.023) 0:01:14.216 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output] ******************************************************* task path: /tmp/tmpus9dv81c/tests/storage/tests_resize.yml:110 Wednesday 06 July 2022 15:06:03 +0000 (0:00:00.035) 0:01:14.252 ******** ok: [/cache/fedora-35.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/tmpus9dv81c/tests/storage/tests_resize.yml:117 Wednesday 06 July 2022 15:06:03 +0000 (0:00:00.043) 0:01:14.295 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 15:06:03 +0000 (0:00:00.042) 0:01:14.338 ******** included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 15:06:03 +0000 (0:00:00.036) 0:01:14.375 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 15:06:04 +0000 (0:00:00.534) 0:01:14.909 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 15:06:04 +0000 (0:00:00.066) 0:01:14.975 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 15:06:04 +0000 (0:00:00.038) 0:01:15.014 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 15:06:04 +0000 (0:00:00.035) 0:01:15.050 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 15:06:04 +0000 (0:00:00.057) 0:01:15.107 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 15:06:04 +0000 (0:00:00.022) 0:01:15.130 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 15:06:04 +0000 (0:00:00.034) 0:01:15.164 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme0n1" ], "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 15:06:04 +0000 (0:00:00.088) 0:01:15.253 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 15:06:04 +0000 (0:00:00.040) 0:01:15.293 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 15:06:04 +0000 (0:00:00.030) 0:01:15.323 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 15:06:04 +0000 (0:00:00.030) 0:01:15.353 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 15:06:04 +0000 (0:00:00.028) 0:01:15.382 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 15:06:04 +0000 (0:00:00.030) 0:01:15.413 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 15:06:04 +0000 (0:00:00.095) 0:01:15.508 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 15:06:04 +0000 (0:00:00.024) 0:01:15.533 ******** changed: [/cache/fedora-35.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/sda", "/dev/sdb", "/dev/sdc", "/dev/mapper/foo-test1", "/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": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 15:06:07 +0000 (0:00:02.626) 0:01:18.160 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 15:06:07 +0000 (0:00:00.028) 0:01:18.189 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 15:06:07 +0000 (0:00:00.028) 0:01:18.217 ******** ok: [/cache/fedora-35.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/sda", "/dev/sdb", "/dev/sdc", "/dev/mapper/foo-test1", "/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": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 15:06:07 +0000 (0:00:00.090) 0:01:18.307 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 15:06:07 +0000 (0:00:00.040) 0:01:18.348 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 15:06:07 +0000 (0:00:00.042) 0:01:18.391 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 15:06:07 +0000 (0:00:00.032) 0:01:18.423 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 15:06:08 +0000 (0:00:00.738) 0:01:19.162 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 15:06:08 +0000 (0:00:00.426) 0:01:19.588 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 15:06:09 +0000 (0:00:00.710) 0:01:20.298 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 15:06:10 +0000 (0:00:00.407) 0:01:20.706 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 15:06:10 +0000 (0:00:00.023) 0:01:20.729 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_resize.yml:130 Wednesday 06 July 2022 15:06:11 +0000 (0:00:01.001) 0:01:21.731 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:1 Wednesday 06 July 2022 15:06:11 +0000 (0:00:00.052) 0:01:21.784 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpus9dv81c/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 15:06:11 +0000 (0:00:00.073) 0:01:21.857 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 15:06:11 +0000 (0:00:00.028) 0:01:21.886 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "10G", "type": "lvm", "uuid": "eafe2fa8-f374-4fc1-b59e-503fafd07df7" }, "/dev/nvme0n1": { "fstype": "LVM2_member", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "MhRKye-BQ7J-qILl-UhUO-uI15-e2Xq-LghWTK" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-15-04-36-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:19 Wednesday 06 July 2022 15:06:11 +0000 (0:00:00.412) 0:01:22.299 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002857", "end": "2022-07-06 15:06:10.678298", "rc": 0, "start": "2022-07-06 15:06:10.675441" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:24 Wednesday 06 July 2022 15:06:12 +0000 (0:00:00.420) 0:01:22.719 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002959", "end": "2022-07-06 15:06:11.087105", "failed_when_result": false, "rc": 0, "start": "2022-07-06 15:06:11.084146" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:33 Wednesday 06 July 2022 15:06:12 +0000 (0:00:00.418) 0:01:23.138 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['nvme0n1'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:5 Wednesday 06 July 2022 15:06:12 +0000 (0:00:00.050) 0:01:23.189 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:18 Wednesday 06 July 2022 15:06:12 +0000 (0:00:00.035) 0:01:23.224 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:1 Wednesday 06 July 2022 15:06:12 +0000 (0:00:00.048) 0:01:23.273 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme0n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:6 Wednesday 06 July 2022 15:06:12 +0000 (0:00:00.047) 0:01:23.320 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme0n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme0n1", "pv": "/dev/nvme0n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:15 Wednesday 06 July 2022 15:06:13 +0000 (0:00:00.403) 0:01:23.724 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:19 Wednesday 06 July 2022 15:06:13 +0000 (0:00:00.040) 0:01:23.764 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme0n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:23 Wednesday 06 July 2022 15:06:13 +0000 (0:00:00.040) 0:01:23.804 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:29 Wednesday 06 July 2022 15:06:13 +0000 (0:00:00.043) 0:01:23.848 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:33 Wednesday 06 July 2022 15:06:13 +0000 (0:00:00.042) 0:01:23.890 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:37 Wednesday 06 July 2022 15:06:13 +0000 (0:00:00.047) 0:01:23.937 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:41 Wednesday 06 July 2022 15:06:13 +0000 (0:00:00.024) 0:01:23.962 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme0n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme0n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:50 Wednesday 06 July 2022 15:06:13 +0000 (0:00:00.047) 0:01:24.010 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:6 Wednesday 06 July 2022 15:06:13 +0000 (0:00:00.044) 0:01:24.055 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:12 Wednesday 06 July 2022 15:06:13 +0000 (0:00:00.025) 0:01:24.080 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:16 Wednesday 06 July 2022 15:06:13 +0000 (0:00:00.027) 0:01:24.108 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:20 Wednesday 06 July 2022 15:06:13 +0000 (0:00:00.027) 0:01:24.135 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:24 Wednesday 06 July 2022 15:06:13 +0000 (0:00:00.027) 0:01:24.163 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:30 Wednesday 06 July 2022 15:06:13 +0000 (0:00:00.026) 0:01:24.189 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:36 Wednesday 06 July 2022 15:06:13 +0000 (0:00:00.027) 0:01:24.217 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:44 Wednesday 06 July 2022 15:06:13 +0000 (0:00:00.024) 0:01:24.241 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:53 Wednesday 06 July 2022 15:06:13 +0000 (0:00:00.040) 0:01:24.282 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 15:06:13 +0000 (0:00:00.044) 0:01:24.326 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 15:06:13 +0000 (0:00:00.073) 0:01:24.400 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 15:06:13 +0000 (0:00:00.029) 0:01:24.430 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 15:06:13 +0000 (0:00:00.028) 0:01:24.458 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:56 Wednesday 06 July 2022 15:06:13 +0000 (0:00:00.028) 0:01:24.487 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 15:06:13 +0000 (0:00:00.048) 0:01:24.536 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 15:06:13 +0000 (0:00:00.071) 0:01:24.607 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 15:06:13 +0000 (0:00:00.024) 0:01:24.631 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 15:06:13 +0000 (0:00:00.023) 0:01:24.655 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 15:06:14 +0000 (0:00:00.023) 0:01:24.679 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:59 Wednesday 06 July 2022 15:06:14 +0000 (0:00:00.028) 0:01:24.708 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 15:06:14 +0000 (0:00:00.047) 0:01:24.755 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 15:06:14 +0000 (0:00:00.038) 0:01:24.793 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme0n1) => { "_storage_test_pool_member_path": "/dev/nvme0n1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 15:06:14 +0000 (0:00:00.039) 0:01:24.833 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/nvme0n1) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 15:06:14 +0000 (0:00:00.044) 0:01:24.878 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:4 Wednesday 06 July 2022 15:06:14 +0000 (0:00:00.044) 0:01:24.922 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:9 Wednesday 06 July 2022 15:06:14 +0000 (0:00:00.043) 0:01:24.965 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:15 Wednesday 06 July 2022 15:06:14 +0000 (0:00:00.028) 0:01:24.994 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:21 Wednesday 06 July 2022 15:06:14 +0000 (0:00:00.025) 0:01:25.020 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:27 Wednesday 06 July 2022 15:06:14 +0000 (0:00:00.025) 0:01:25.046 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 15:06:14 +0000 (0:00:00.037) 0:01:25.083 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:62 Wednesday 06 July 2022 15:06:14 +0000 (0:00:00.032) 0:01:25.116 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 15:06:14 +0000 (0:00:00.049) 0:01:25.165 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 15:06:14 +0000 (0:00:00.046) 0:01:25.212 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 15:06:14 +0000 (0:00:00.025) 0:01:25.238 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 15:06:14 +0000 (0:00:00.025) 0:01:25.263 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 15:06:14 +0000 (0:00:00.025) 0:01:25.289 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 15:06:14 +0000 (0:00:00.024) 0:01:25.314 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 15:06:14 +0000 (0:00:00.025) 0:01:25.339 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 15:06:14 +0000 (0:00:00.026) 0:01:25.366 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 15:06:14 +0000 (0:00:00.026) 0:01:25.393 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:65 Wednesday 06 July 2022 15:06:14 +0000 (0:00:00.034) 0:01:25.428 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 15:06:14 +0000 (0:00:00.050) 0:01:25.478 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 15:06:14 +0000 (0:00:00.047) 0:01:25.526 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 15:06:14 +0000 (0:00:00.088) 0:01:25.615 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 15:06:15 +0000 (0:00:00.126) 0:01:25.741 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 15:06:15 +0000 (0:00:00.046) 0:01:25.788 ******** ok: [/cache/fedora-35.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": "eafe2fa8-f374-4fc1-b59e-503fafd07df7" } ], "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": "eafe2fa8-f374-4fc1-b59e-503fafd07df7" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 15:06:15 +0000 (0:00:00.049) 0:01:25.837 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 15:06:15 +0000 (0:00:00.042) 0:01:25.880 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 15:06:15 +0000 (0:00:00.040) 0:01:25.921 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 15:06:15 +0000 (0:00:00.041) 0:01:25.962 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 15:06:15 +0000 (0:00:00.024) 0:01:25.987 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 15:06:15 +0000 (0:00:00.023) 0:01:26.010 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 15:06:15 +0000 (0:00:00.023) 0:01:26.034 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 15:06:15 +0000 (0:00:00.042) 0:01:26.076 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/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/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 15:06:15 +0000 (0:00:00.053) 0:01:26.130 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 15:06:15 +0000 (0:00:00.039) 0:01:26.170 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 15:06:15 +0000 (0:00:00.042) 0:01:26.213 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 15:06:15 +0000 (0:00:00.028) 0:01:26.242 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 15:06:15 +0000 (0:00:00.036) 0:01:26.278 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 15:06:15 +0000 (0:00:00.039) 0:01:26.318 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 15:06:15 +0000 (0:00:00.043) 0:01:26.361 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657119967.5415666, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657119966.0545666, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 505, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657119966.0545666, "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/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 15:06:16 +0000 (0:00:00.432) 0:01:26.793 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 15:06:16 +0000 (0:00:00.039) 0:01:26.833 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 15:06:16 +0000 (0:00:00.061) 0:01:26.895 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 15:06:16 +0000 (0:00:00.042) 0:01:26.937 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 15:06:16 +0000 (0:00:00.026) 0:01:26.963 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 15:06:16 +0000 (0:00:00.041) 0:01:27.004 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 15:06:16 +0000 (0:00:00.025) 0:01:27.030 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 15:06:18 +0000 (0:00:02.144) 0:01:29.175 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 15:06:18 +0000 (0:00:00.028) 0:01:29.203 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 15:06:18 +0000 (0:00:00.032) 0:01:29.235 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 15:06:18 +0000 (0:00:00.096) 0:01:29.332 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 15:06:18 +0000 (0:00:00.024) 0:01:29.356 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 15:06:18 +0000 (0:00:00.024) 0:01:29.381 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 15:06:18 +0000 (0:00:00.026) 0:01:29.407 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 15:06:18 +0000 (0:00:00.030) 0:01:29.438 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 15:06:18 +0000 (0:00:00.062) 0:01:29.500 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 15:06:18 +0000 (0:00:00.042) 0:01:29.543 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 15:06:18 +0000 (0:00:00.042) 0:01:29.585 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 15:06:18 +0000 (0:00:00.026) 0:01:29.612 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 15:06:18 +0000 (0:00:00.029) 0:01:29.642 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 15:06:19 +0000 (0:00:00.027) 0:01:29.669 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 15:06:19 +0000 (0:00:00.037) 0:01:29.706 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 15:06:19 +0000 (0:00:00.029) 0:01:29.735 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 15:06:19 +0000 (0:00:00.030) 0:01:29.766 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 15:06:19 +0000 (0:00:00.027) 0:01:29.794 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 15:06:19 +0000 (0:00:00.028) 0:01:29.822 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 15:06:19 +0000 (0:00:00.026) 0:01:29.849 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 15:06:19 +0000 (0:00:00.030) 0:01:29.879 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 15:06:19 +0000 (0:00:00.026) 0:01:29.906 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 10737418240, "changed": false, "lvm": "10g", "parted": "10GiB", "size": "10 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 15:06:19 +0000 (0:00:00.407) 0:01:30.314 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 10737418240, "changed": false, "lvm": "10g", "parted": "10GiB", "size": "10 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 15:06:20 +0000 (0:00:00.410) 0:01:30.724 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "10737418240" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 15:06:20 +0000 (0:00:00.042) 0:01:30.766 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "10737418240" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 15:06:20 +0000 (0:00:00.039) 0:01:30.806 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 15:06:20 +0000 (0:00:00.030) 0:01:30.837 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 15:06:20 +0000 (0:00:00.025) 0:01:30.863 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 15:06:20 +0000 (0:00:00.024) 0:01:30.888 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 15:06:20 +0000 (0:00:00.028) 0:01:30.916 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 15:06:20 +0000 (0:00:00.030) 0:01:30.947 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 10737418240, "changed": false, "failed": false, "lvm": "10g", "parted": "10GiB", "size": "10 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 15:06:20 +0000 (0:00:00.038) 0:01:30.986 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "10737418240" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 15:06:20 +0000 (0:00:00.038) 0:01:31.024 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 15:06:20 +0000 (0:00:00.047) 0:01:31.072 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.045129", "end": "2022-07-06 15:06:19.473112", "rc": 0, "start": "2022-07-06 15:06:19.427983" } 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/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 15:06:20 +0000 (0:00:00.446) 0:01:31.518 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 15:06:20 +0000 (0:00:00.044) 0:01:31.563 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 15:06:20 +0000 (0:00:00.044) 0:01:31.607 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 15:06:20 +0000 (0:00:00.028) 0:01:31.636 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 15:06:20 +0000 (0:00:00.026) 0:01:31.662 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 15:06:21 +0000 (0:00:00.027) 0:01:31.690 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 15:06:21 +0000 (0:00:00.030) 0:01:31.721 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 15:06:21 +0000 (0:00:00.034) 0:01:31.755 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:47 Wednesday 06 July 2022 15:06:21 +0000 (0:00:00.035) 0:01:31.791 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 15:06:21 +0000 (0:00:00.023) 0:01:31.814 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Try to create LVM with an invalid size specification, resize to "xyz GiB"] *** task path: /tmp/tmpus9dv81c/tests/storage/tests_resize.yml:134 Wednesday 06 July 2022 15:06:21 +0000 (0:00:00.042) 0:01:31.856 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 15:06:21 +0000 (0:00:00.044) 0:01:31.900 ******** included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 15:06:21 +0000 (0:00:00.071) 0:01:31.972 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 15:06:21 +0000 (0:00:00.533) 0:01:32.505 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 15:06:21 +0000 (0:00:00.074) 0:01:32.580 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 15:06:21 +0000 (0:00:00.049) 0:01:32.629 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 15:06:22 +0000 (0:00:00.050) 0:01:32.680 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 15:06:22 +0000 (0:00:00.065) 0:01:32.746 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 15:06:22 +0000 (0:00:00.024) 0:01:32.770 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 15:06:22 +0000 (0:00:00.035) 0:01:32.806 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme0n1" ], "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 15:06:22 +0000 (0:00:00.046) 0:01:32.853 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 15:06:22 +0000 (0:00:00.043) 0:01:32.896 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 15:06:22 +0000 (0:00:00.029) 0:01:32.925 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 15:06:22 +0000 (0:00:00.030) 0:01:32.956 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 15:06:22 +0000 (0:00:00.031) 0:01:32.988 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 15:06:22 +0000 (0:00:00.031) 0:01:33.019 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 15:06:22 +0000 (0:00:00.052) 0:01:33.071 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 15:06:22 +0000 (0:00:00.032) 0:01:33.104 ******** fatal: [/cache/fedora-35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:86 Wednesday 06 July 2022 15:06:24 +0000 (0:00:01.942) 0:01:35.046 ******** fatal: [/cache/fedora-35.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': ['nvme0n1'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': 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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 15:06:24 +0000 (0:00:00.041) 0:01:35.088 ******** TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_resize.yml:152 Wednesday 06 July 2022 15:06:24 +0000 (0:00:00.022) 0:01:35.111 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output] ******************************************************* task path: /tmp/tmpus9dv81c/tests/storage/tests_resize.yml:158 Wednesday 06 July 2022 15:06:24 +0000 (0:00:00.035) 0:01:35.146 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Try to create LVM with an invalid size specification, resize to "none"] *** task path: /tmp/tmpus9dv81c/tests/storage/tests_resize.yml:165 Wednesday 06 July 2022 15:06:24 +0000 (0:00:00.039) 0:01:35.186 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 15:06:24 +0000 (0:00:00.039) 0:01:35.225 ******** included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 15:06:24 +0000 (0:00:00.035) 0:01:35.261 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 15:06:25 +0000 (0:00:00.597) 0:01:35.858 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 15:06:25 +0000 (0:00:00.076) 0:01:35.934 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 15:06:25 +0000 (0:00:00.036) 0:01:35.971 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 15:06:25 +0000 (0:00:00.036) 0:01:36.007 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 15:06:25 +0000 (0:00:00.060) 0:01:36.067 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 15:06:25 +0000 (0:00:00.023) 0:01:36.091 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 15:06:25 +0000 (0:00:00.032) 0:01:36.123 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme0n1" ], "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 15:06:25 +0000 (0:00:00.042) 0:01:36.165 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 15:06:25 +0000 (0:00:00.042) 0:01:36.207 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 15:06:25 +0000 (0:00:00.032) 0:01:36.240 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 15:06:25 +0000 (0:00:00.031) 0:01:36.272 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 15:06:25 +0000 (0:00:00.030) 0:01:36.303 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 15:06:25 +0000 (0:00:00.035) 0:01:36.339 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 15:06:25 +0000 (0:00:00.050) 0:01:36.389 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 15:06:25 +0000 (0:00:00.025) 0:01:36.414 ******** fatal: [/cache/fedora-35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:86 Wednesday 06 July 2022 15:06:27 +0000 (0:00:01.902) 0:01:38.317 ******** fatal: [/cache/fedora-35.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': ['nvme0n1'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': 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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 15:06:27 +0000 (0:00:00.041) 0:01:38.359 ******** TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_resize.yml:183 Wednesday 06 July 2022 15:06:27 +0000 (0:00:00.023) 0:01:38.382 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the output] ******************************************************* task path: /tmp/tmpus9dv81c/tests/storage/tests_resize.yml:189 Wednesday 06 July 2022 15:06:27 +0000 (0:00:00.039) 0:01:38.422 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Clean up] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_resize.yml:194 Wednesday 06 July 2022 15:06:27 +0000 (0:00:00.045) 0:01:38.467 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 15:06:27 +0000 (0:00:00.043) 0:01:38.511 ******** included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 15:06:27 +0000 (0:00:00.036) 0:01:38.547 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 15:06:28 +0000 (0:00:00.603) 0:01:39.151 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 15:06:28 +0000 (0:00:00.103) 0:01:39.255 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 15:06:28 +0000 (0:00:00.078) 0:01:39.333 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 15:06:28 +0000 (0:00:00.084) 0:01:39.418 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 15:06:28 +0000 (0:00:00.093) 0:01:39.511 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 15:06:28 +0000 (0:00:00.021) 0:01:39.533 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 15:06:28 +0000 (0:00:00.028) 0:01:39.562 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme0n1" ], "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 15:06:28 +0000 (0:00:00.040) 0:01:39.602 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 15:06:28 +0000 (0:00:00.039) 0:01:39.642 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 15:06:29 +0000 (0:00:00.028) 0:01:39.670 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 15:06:29 +0000 (0:00:00.027) 0:01:39.698 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 15:06:29 +0000 (0:00:00.035) 0:01:39.734 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 15:06:29 +0000 (0:00:00.029) 0:01:39.763 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 15:06:29 +0000 (0:00:00.052) 0:01:39.816 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 15:06:29 +0000 (0:00:00.025) 0:01:39.841 ******** changed: [/cache/fedora-35.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/nvme0n1", "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": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 15:06:31 +0000 (0:00:02.718) 0:01:42.560 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 15:06:31 +0000 (0:00:00.033) 0:01:42.594 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 15:06:31 +0000 (0:00:00.023) 0:01:42.617 ******** ok: [/cache/fedora-35.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/nvme0n1", "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": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 15:06:32 +0000 (0:00:00.052) 0:01:42.670 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 15:06:32 +0000 (0:00:00.047) 0:01:42.718 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 15:06:32 +0000 (0:00:00.041) 0:01:42.759 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 15:06:32 +0000 (0:00:00.441) 0:01:43.200 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 15:06:33 +0000 (0:00:00.716) 0:01:43.917 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 15:06:33 +0000 (0:00:00.029) 0:01:43.946 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 15:06:34 +0000 (0:00:00.727) 0:01:44.673 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 15:06:34 +0000 (0:00:00.393) 0:01:45.067 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 15:06:34 +0000 (0:00:00.025) 0:01:45.092 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_resize.yml:207 Wednesday 06 July 2022 15:06:35 +0000 (0:00:00.928) 0:01:46.021 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:1 Wednesday 06 July 2022 15:06:35 +0000 (0:00:00.042) 0:01:46.063 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpus9dv81c/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 15:06:35 +0000 (0:00:00.150) 0:01:46.213 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 15:06:35 +0000 (0:00:00.037) 0:01:46.250 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-15-04-36-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:19 Wednesday 06 July 2022 15:06:35 +0000 (0:00:00.406) 0:01:46.657 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003426", "end": "2022-07-06 15:06:35.008556", "rc": 0, "start": "2022-07-06 15:06:35.005130" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:24 Wednesday 06 July 2022 15:06:36 +0000 (0:00:00.399) 0:01:47.056 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003093", "end": "2022-07-06 15:06:35.399651", "failed_when_result": false, "rc": 0, "start": "2022-07-06 15:06:35.396558" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:33 Wednesday 06 July 2022 15:06:36 +0000 (0:00:00.388) 0:01:47.445 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['nvme0n1'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'absent', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:5 Wednesday 06 July 2022 15:06:36 +0000 (0:00:00.052) 0:01:47.498 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:18 Wednesday 06 July 2022 15:06:36 +0000 (0:00:00.035) 0:01:47.533 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:1 Wednesday 06 July 2022 15:06:36 +0000 (0:00:00.046) 0:01:47.580 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "0", "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:6 Wednesday 06 July 2022 15:06:36 +0000 (0:00:00.039) 0:01:47.619 ******** TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:15 Wednesday 06 July 2022 15:06:36 +0000 (0:00:00.020) 0:01:47.640 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:19 Wednesday 06 July 2022 15:06:37 +0000 (0:00:00.042) 0:01:47.683 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:23 Wednesday 06 July 2022 15:06:37 +0000 (0:00:00.041) 0:01:47.725 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:29 Wednesday 06 July 2022 15:06:37 +0000 (0:00:00.046) 0:01:47.771 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:33 Wednesday 06 July 2022 15:06:37 +0000 (0:00:00.041) 0:01:47.813 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:37 Wednesday 06 July 2022 15:06:37 +0000 (0:00:00.043) 0:01:47.856 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:41 Wednesday 06 July 2022 15:06:37 +0000 (0:00:00.025) 0:01:47.882 ******** TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:50 Wednesday 06 July 2022 15:06:37 +0000 (0:00:00.021) 0:01:47.903 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:6 Wednesday 06 July 2022 15:06:37 +0000 (0:00:00.043) 0:01:47.947 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:12 Wednesday 06 July 2022 15:06:37 +0000 (0:00:00.025) 0:01:47.973 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:16 Wednesday 06 July 2022 15:06:37 +0000 (0:00:00.023) 0:01:47.996 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:20 Wednesday 06 July 2022 15:06:37 +0000 (0:00:00.030) 0:01:48.026 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:24 Wednesday 06 July 2022 15:06:37 +0000 (0:00:00.026) 0:01:48.052 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:30 Wednesday 06 July 2022 15:06:37 +0000 (0:00:00.028) 0:01:48.081 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:36 Wednesday 06 July 2022 15:06:37 +0000 (0:00:00.031) 0:01:48.112 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:44 Wednesday 06 July 2022 15:06:37 +0000 (0:00:00.031) 0:01:48.143 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:53 Wednesday 06 July 2022 15:06:37 +0000 (0:00:00.043) 0:01:48.187 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 15:06:37 +0000 (0:00:00.048) 0:01:48.235 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 15:06:37 +0000 (0:00:00.086) 0:01:48.322 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 15:06:37 +0000 (0:00:00.031) 0:01:48.353 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 15:06:37 +0000 (0:00:00.028) 0:01:48.381 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:56 Wednesday 06 July 2022 15:06:37 +0000 (0:00:00.028) 0:01:48.410 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 15:06:37 +0000 (0:00:00.049) 0:01:48.459 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 15:06:37 +0000 (0:00:00.046) 0:01:48.505 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 15:06:37 +0000 (0:00:00.024) 0:01:48.530 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 15:06:37 +0000 (0:00:00.023) 0:01:48.554 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 15:06:37 +0000 (0:00:00.025) 0:01:48.580 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:59 Wednesday 06 July 2022 15:06:37 +0000 (0:00:00.027) 0:01:48.607 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 15:06:37 +0000 (0:00:00.047) 0:01:48.655 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 15:06:38 +0000 (0:00:00.039) 0:01:48.695 ******** TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 15:06:38 +0000 (0:00:00.021) 0:01:48.717 ******** TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 15:06:38 +0000 (0:00:00.020) 0:01:48.738 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:62 Wednesday 06 July 2022 15:06:38 +0000 (0:00:00.035) 0:01:48.773 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 15:06:38 +0000 (0:00:00.048) 0:01:48.822 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 15:06:38 +0000 (0:00:00.043) 0:01:48.865 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 15:06:38 +0000 (0:00:00.023) 0:01:48.889 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 15:06:38 +0000 (0:00:00.023) 0:01:48.912 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 15:06:38 +0000 (0:00:00.023) 0:01:48.936 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 15:06:38 +0000 (0:00:00.025) 0:01:48.962 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 15:06:38 +0000 (0:00:00.024) 0:01:48.986 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 15:06:38 +0000 (0:00:00.025) 0:01:49.011 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 15:06:38 +0000 (0:00:00.023) 0:01:49.035 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:65 Wednesday 06 July 2022 15:06:38 +0000 (0:00:00.036) 0:01:49.072 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 15:06:38 +0000 (0:00:00.038) 0:01:49.110 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 15:06:38 +0000 (0:00:00.047) 0:01:49.158 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 15:06:38 +0000 (0:00:00.042) 0:01:49.200 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 15:06:38 +0000 (0:00:00.084) 0:01:49.284 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 15:06:38 +0000 (0:00:00.044) 0:01:49.328 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 15:06:38 +0000 (0:00:00.043) 0:01:49.372 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 15:06:38 +0000 (0:00:00.025) 0:01:49.397 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 15:06:38 +0000 (0:00:00.079) 0:01:49.477 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 15:06:38 +0000 (0:00:00.063) 0:01:49.541 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 15:06:38 +0000 (0:00:00.025) 0:01:49.566 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 15:06:38 +0000 (0:00:00.025) 0:01:49.592 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 15:06:38 +0000 (0:00:00.025) 0:01:49.618 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 15:06:38 +0000 (0:00:00.042) 0:01:49.660 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 15:06:39 +0000 (0:00:00.050) 0:01:49.710 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 15:06:39 +0000 (0:00:00.022) 0:01:49.733 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 15:06:39 +0000 (0:00:00.038) 0:01:49.771 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 15:06:39 +0000 (0:00:00.027) 0:01:49.798 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 15:06:39 +0000 (0:00:00.031) 0:01:49.830 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 15:06:39 +0000 (0:00:00.022) 0:01:49.852 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 15:06:39 +0000 (0:00:00.025) 0:01:49.878 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 15:06:39 +0000 (0:00:00.402) 0:01:50.281 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 15:06:39 +0000 (0:00:00.038) 0:01:50.319 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 15:06:39 +0000 (0:00:00.022) 0:01:50.341 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 15:06:39 +0000 (0:00:00.035) 0:01:50.377 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 15:06:39 +0000 (0:00:00.031) 0:01:50.409 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 15:06:39 +0000 (0:00:00.028) 0:01:50.437 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 15:06:39 +0000 (0:00:00.024) 0:01:50.461 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 15:06:41 +0000 (0:00:01.978) 0:01:52.440 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 15:06:41 +0000 (0:00:00.024) 0:01:52.465 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 15:06:41 +0000 (0:00:00.023) 0:01:52.488 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 15:06:41 +0000 (0:00:00.024) 0:01:52.513 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 15:06:41 +0000 (0:00:00.026) 0:01:52.540 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 15:06:41 +0000 (0:00:00.025) 0:01:52.565 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 15:06:41 +0000 (0:00:00.023) 0:01:52.588 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 15:06:41 +0000 (0:00:00.026) 0:01:52.615 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 15:06:41 +0000 (0:00:00.023) 0:01:52.639 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 15:06:42 +0000 (0:00:00.039) 0:01:52.678 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 15:06:42 +0000 (0:00:00.039) 0:01:52.717 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 15:06:42 +0000 (0:00:00.038) 0:01:52.756 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 15:06:42 +0000 (0:00:00.027) 0:01:52.784 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 15:06:42 +0000 (0:00:00.026) 0:01:52.811 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 15:06:42 +0000 (0:00:00.041) 0:01:52.852 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 15:06:42 +0000 (0:00:00.036) 0:01:52.889 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 15:06:42 +0000 (0:00:00.029) 0:01:52.918 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 15:06:42 +0000 (0:00:00.027) 0:01:52.946 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 15:06:42 +0000 (0:00:00.027) 0:01:52.974 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 15:06:42 +0000 (0:00:00.032) 0:01:53.007 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 15:06:42 +0000 (0:00:00.029) 0:01:53.036 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 15:06:42 +0000 (0:00:00.027) 0:01:53.064 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 15:06:42 +0000 (0:00:00.028) 0:01:53.092 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 15:06:42 +0000 (0:00:00.033) 0:01:53.126 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 15:06:42 +0000 (0:00:00.027) 0:01:53.153 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "10737418240" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 15:06:42 +0000 (0:00:00.100) 0:01:53.254 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 15:06:42 +0000 (0:00:00.030) 0:01:53.285 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 15:06:42 +0000 (0:00:00.025) 0:01:53.310 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 15:06:42 +0000 (0:00:00.024) 0:01:53.335 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 15:06:42 +0000 (0:00:00.024) 0:01:53.359 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 15:06:42 +0000 (0:00:00.027) 0:01:53.387 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 15:06:42 +0000 (0:00:00.034) 0:01:53.421 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "10737418240" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 15:06:42 +0000 (0:00:00.077) 0:01:53.499 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 15:06:42 +0000 (0:00:00.059) 0:01:53.558 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 15:06:42 +0000 (0:00:00.024) 0:01:53.583 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 15:06:42 +0000 (0:00:00.023) 0:01:53.606 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 15:06:42 +0000 (0:00:00.023) 0:01:53.630 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 15:06:42 +0000 (0:00:00.024) 0:01:53.654 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 15:06:43 +0000 (0:00:00.022) 0:01:53.677 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 15:06:43 +0000 (0:00:00.022) 0:01:53.700 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 15:06:43 +0000 (0:00:00.022) 0:01:53.723 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 15:06:43 +0000 (0:00:00.035) 0:01:53.759 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:47 Wednesday 06 July 2022 15:06:43 +0000 (0:00:00.032) 0:01:53.791 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 15:06:43 +0000 (0:00:00.022) 0:01:53.813 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Create a LVM logical volume with "5g" for ext3 FS] *********************** task path: /tmp/tmpus9dv81c/tests/storage/tests_resize.yml:211 Wednesday 06 July 2022 15:06:43 +0000 (0:00:00.038) 0:01:53.852 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 15:06:43 +0000 (0:00:00.049) 0:01:53.902 ******** included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 15:06:43 +0000 (0:00:00.038) 0:01:53.941 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 15:06:43 +0000 (0:00:00.555) 0:01:54.496 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 15:06:43 +0000 (0:00:00.069) 0:01:54.566 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 15:06:43 +0000 (0:00:00.039) 0:01:54.605 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 15:06:43 +0000 (0:00:00.037) 0:01:54.642 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 15:06:44 +0000 (0:00:00.068) 0:01:54.710 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 15:06:44 +0000 (0:00:00.025) 0:01:54.736 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 15:06:44 +0000 (0:00:00.032) 0:01:54.769 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme0n1" ], "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 15:06:44 +0000 (0:00:00.041) 0:01:54.810 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 15:06:44 +0000 (0:00:00.041) 0:01:54.852 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 15:06:44 +0000 (0:00:00.031) 0:01:54.883 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 15:06:44 +0000 (0:00:00.033) 0:01:54.917 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 15:06:44 +0000 (0:00:00.031) 0:01:54.948 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 15:06:44 +0000 (0:00:00.031) 0:01:54.979 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 15:06:44 +0000 (0:00:00.049) 0:01:55.028 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 15:06:44 +0000 (0:00:00.025) 0:01:55.054 ******** changed: [/cache/fedora-35.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/nvme0n1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/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": [ "dosfstools", "e2fsprogs", "lvm2", "btrfs-progs" ], "pools": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 15:06:46 +0000 (0:00:02.382) 0:01:57.436 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 15:06:46 +0000 (0:00:00.029) 0:01:57.466 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 15:06:46 +0000 (0:00:00.025) 0:01:57.492 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/nvme0n1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext3" } ], "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/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": [ "dosfstools", "e2fsprogs", "lvm2", "btrfs-progs" ], "pools": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 15:06:46 +0000 (0:00:00.043) 0:01:57.535 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 15:06:46 +0000 (0:00:00.042) 0:01:57.578 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 15:06:46 +0000 (0:00:00.042) 0:01:57.620 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 15:06:46 +0000 (0:00:00.036) 0:01:57.657 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 15:06:47 +0000 (0:00:00.757) 0:01:58.414 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 15:06:48 +0000 (0:00:00.443) 0:01:58.858 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 15:06:48 +0000 (0:00:00.752) 0:01:59.610 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 15:06:49 +0000 (0:00:00.390) 0:02:00.000 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 15:06:49 +0000 (0:00:00.023) 0:02:00.023 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_resize.yml:225 Wednesday 06 July 2022 15:06:50 +0000 (0:00:00.914) 0:02:00.938 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:1 Wednesday 06 July 2022 15:06:50 +0000 (0:00:00.044) 0:02:00.983 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpus9dv81c/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 15:06:50 +0000 (0:00:00.046) 0:02:01.029 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 15:06:50 +0000 (0:00:00.027) 0:02:01.057 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext3", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "68a39681-a289-4151-9c64-242487506eed" }, "/dev/nvme0n1": { "fstype": "LVM2_member", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "rCaWgH-WwSr-xpCf-HUsV-S58S-uuTX-G5vyz2" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-15-04-36-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:19 Wednesday 06 July 2022 15:06:50 +0000 (0:00:00.426) 0:02:01.483 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002737", "end": "2022-07-06 15:06:49.858611", "rc": 0, "start": "2022-07-06 15:06:49.855874" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 ext3 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:24 Wednesday 06 July 2022 15:06:51 +0000 (0:00:00.423) 0:02:01.907 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003420", "end": "2022-07-06 15:06:50.329061", "failed_when_result": false, "rc": 0, "start": "2022-07-06 15:06:50.325641" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:33 Wednesday 06 July 2022 15:06:51 +0000 (0:00:00.466) 0:02:02.374 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['nvme0n1'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmpus9dv81c/tests/storage/test-verify-pool.yml:5 Wednesday 06 July 2022 15:06:51 +0000 (0:00:00.055) 0:02:02.429 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:18 Wednesday 06 July 2022 15:06:51 +0000 (0:00:00.037) 0:02:02.467 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:1 Wednesday 06 July 2022 15:06:51 +0000 (0:00:00.051) 0:02:02.519 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme0n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:6 Wednesday 06 July 2022 15:06:51 +0000 (0:00:00.049) 0:02:02.568 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme0n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme0n1", "pv": "/dev/nvme0n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:15 Wednesday 06 July 2022 15:06:52 +0000 (0:00:00.401) 0:02:02.970 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:19 Wednesday 06 July 2022 15:06:52 +0000 (0:00:00.040) 0:02:03.011 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme0n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:23 Wednesday 06 July 2022 15:06:52 +0000 (0:00:00.044) 0:02:03.055 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:29 Wednesday 06 July 2022 15:06:52 +0000 (0:00:00.047) 0:02:03.102 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:33 Wednesday 06 July 2022 15:06:52 +0000 (0:00:00.043) 0:02:03.146 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:37 Wednesday 06 July 2022 15:06:52 +0000 (0:00:00.043) 0:02:03.190 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:41 Wednesday 06 July 2022 15:06:52 +0000 (0:00:00.026) 0:02:03.217 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme0n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme0n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:50 Wednesday 06 July 2022 15:06:52 +0000 (0:00:00.051) 0:02:03.268 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:6 Wednesday 06 July 2022 15:06:52 +0000 (0:00:00.047) 0:02:03.316 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:12 Wednesday 06 July 2022 15:06:52 +0000 (0:00:00.025) 0:02:03.342 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:16 Wednesday 06 July 2022 15:06:52 +0000 (0:00:00.026) 0:02:03.368 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:20 Wednesday 06 July 2022 15:06:52 +0000 (0:00:00.026) 0:02:03.394 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:24 Wednesday 06 July 2022 15:06:52 +0000 (0:00:00.025) 0:02:03.420 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:30 Wednesday 06 July 2022 15:06:52 +0000 (0:00:00.026) 0:02:03.447 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:36 Wednesday 06 July 2022 15:06:52 +0000 (0:00:00.027) 0:02:03.474 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:44 Wednesday 06 July 2022 15:06:52 +0000 (0:00:00.024) 0:02:03.498 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:53 Wednesday 06 July 2022 15:06:52 +0000 (0:00:00.037) 0:02:03.535 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 15:06:52 +0000 (0:00:00.046) 0:02:03.582 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 15:06:52 +0000 (0:00:00.044) 0:02:03.627 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 15:06:52 +0000 (0:00:00.029) 0:02:03.656 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 15:06:53 +0000 (0:00:00.030) 0:02:03.687 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:56 Wednesday 06 July 2022 15:06:53 +0000 (0:00:00.030) 0:02:03.718 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 15:06:53 +0000 (0:00:00.046) 0:02:03.764 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 15:06:53 +0000 (0:00:00.079) 0:02:03.844 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 15:06:53 +0000 (0:00:00.024) 0:02:03.869 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 15:06:53 +0000 (0:00:00.025) 0:02:03.894 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 15:06:53 +0000 (0:00:00.026) 0:02:03.920 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:59 Wednesday 06 July 2022 15:06:53 +0000 (0:00:00.028) 0:02:03.949 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 15:06:53 +0000 (0:00:00.050) 0:02:03.999 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 15:06:53 +0000 (0:00:00.040) 0:02:04.039 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme0n1) => { "_storage_test_pool_member_path": "/dev/nvme0n1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 15:06:53 +0000 (0:00:00.030) 0:02:04.070 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/nvme0n1) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 15:06:53 +0000 (0:00:00.045) 0:02:04.116 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:4 Wednesday 06 July 2022 15:06:53 +0000 (0:00:00.046) 0:02:04.163 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:9 Wednesday 06 July 2022 15:06:53 +0000 (0:00:00.044) 0:02:04.207 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:15 Wednesday 06 July 2022 15:06:53 +0000 (0:00:00.027) 0:02:04.235 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:21 Wednesday 06 July 2022 15:06:53 +0000 (0:00:00.030) 0:02:04.265 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:27 Wednesday 06 July 2022 15:06:53 +0000 (0:00:00.025) 0:02:04.290 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 15:06:53 +0000 (0:00:00.035) 0:02:04.326 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:62 Wednesday 06 July 2022 15:06:53 +0000 (0:00:00.036) 0:02:04.362 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 15:06:53 +0000 (0:00:00.050) 0:02:04.413 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 15:06:53 +0000 (0:00:00.048) 0:02:04.462 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 15:06:53 +0000 (0:00:00.028) 0:02:04.490 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 15:06:53 +0000 (0:00:00.025) 0:02:04.516 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 15:06:53 +0000 (0:00:00.029) 0:02:04.545 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 15:06:53 +0000 (0:00:00.026) 0:02:04.572 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 15:06:53 +0000 (0:00:00.025) 0:02:04.597 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 15:06:53 +0000 (0:00:00.031) 0:02:04.629 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 15:06:53 +0000 (0:00:00.027) 0:02:04.656 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:65 Wednesday 06 July 2022 15:06:54 +0000 (0:00:00.039) 0:02:04.696 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 15:06:54 +0000 (0:00:00.041) 0:02:04.738 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmpus9dv81c/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 15:06:54 +0000 (0:00:00.046) 0:02:04.784 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 15:06:54 +0000 (0:00:00.049) 0:02:04.834 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 15:06:54 +0000 (0:00:00.099) 0:02:04.933 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 15:06:54 +0000 (0:00:00.044) 0:02:04.978 ******** ok: [/cache/fedora-35.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": "68a39681-a289-4151-9c64-242487506eed" } ], "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": "68a39681-a289-4151-9c64-242487506eed" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 15:06:54 +0000 (0:00:00.100) 0:02:05.079 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 15:06:54 +0000 (0:00:00.131) 0:02:05.211 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 15:06:54 +0000 (0:00:00.041) 0:02:05.252 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 15:06:54 +0000 (0:00:00.044) 0:02:05.296 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 15:06:54 +0000 (0:00:00.026) 0:02:05.323 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 15:06:54 +0000 (0:00:00.028) 0:02:05.352 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 15:06:54 +0000 (0:00:00.025) 0:02:05.377 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 15:06:54 +0000 (0:00:00.038) 0:02:05.416 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/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/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 15:06:54 +0000 (0:00:00.063) 0:02:05.480 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 15:06:54 +0000 (0:00:00.041) 0:02:05.521 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 15:06:54 +0000 (0:00:00.037) 0:02:05.559 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 15:06:54 +0000 (0:00:00.027) 0:02:05.586 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 15:06:54 +0000 (0:00:00.038) 0:02:05.625 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 15:06:55 +0000 (0:00:00.043) 0:02:05.668 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 15:06:55 +0000 (0:00:00.044) 0:02:05.712 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657120006.8145666, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657120005.3325665, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 514, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657120005.3325665, "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/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 15:06:55 +0000 (0:00:00.419) 0:02:06.132 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 15:06:55 +0000 (0:00:00.039) 0:02:06.172 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 15:06:55 +0000 (0:00:00.041) 0:02:06.213 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 15:06:55 +0000 (0:00:00.041) 0:02:06.255 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 15:06:55 +0000 (0:00:00.026) 0:02:06.282 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 15:06:55 +0000 (0:00:00.043) 0:02:06.325 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 15:06:55 +0000 (0:00:00.032) 0:02:06.357 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 15:06:57 +0000 (0:00:01.935) 0:02:08.293 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 15:06:57 +0000 (0:00:00.029) 0:02:08.323 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 15:06:57 +0000 (0:00:00.025) 0:02:08.349 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 15:06:57 +0000 (0:00:00.047) 0:02:08.396 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 15:06:57 +0000 (0:00:00.024) 0:02:08.421 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 15:06:57 +0000 (0:00:00.028) 0:02:08.449 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 15:06:57 +0000 (0:00:00.027) 0:02:08.476 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 15:06:57 +0000 (0:00:00.025) 0:02:08.501 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 15:06:57 +0000 (0:00:00.026) 0:02:08.527 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 15:06:57 +0000 (0:00:00.045) 0:02:08.573 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 15:06:57 +0000 (0:00:00.041) 0:02:08.614 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 15:06:57 +0000 (0:00:00.028) 0:02:08.643 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 15:06:58 +0000 (0:00:00.027) 0:02:08.670 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 15:06:58 +0000 (0:00:00.035) 0:02:08.706 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 15:06:58 +0000 (0:00:00.035) 0:02:08.741 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 15:06:58 +0000 (0:00:00.027) 0:02:08.769 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 15:06:58 +0000 (0:00:00.025) 0:02:08.795 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 15:06:58 +0000 (0:00:00.028) 0:02:08.824 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 15:06:58 +0000 (0:00:00.030) 0:02:08.854 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 15:06:58 +0000 (0:00:00.028) 0:02:08.883 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 15:06:58 +0000 (0:00:00.027) 0:02:08.910 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 15:06:58 +0000 (0:00:00.029) 0:02:08.940 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 15:06:58 +0000 (0:00:00.389) 0:02:09.330 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 15:06:59 +0000 (0:00:00.458) 0:02:09.789 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 15:06:59 +0000 (0:00:00.092) 0:02:09.881 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 15:06:59 +0000 (0:00:00.128) 0:02:10.010 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 15:06:59 +0000 (0:00:00.027) 0:02:10.038 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 15:06:59 +0000 (0:00:00.027) 0:02:10.065 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 15:06:59 +0000 (0:00:00.028) 0:02:10.094 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 15:06:59 +0000 (0:00:00.027) 0:02:10.122 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 15:06:59 +0000 (0:00:00.025) 0:02:10.148 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 15:06:59 +0000 (0:00:00.036) 0:02:10.184 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 15:06:59 +0000 (0:00:00.035) 0:02:10.220 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 15:06:59 +0000 (0:00:00.047) 0:02:10.268 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.036278", "end": "2022-07-06 15:06:58.658929", "rc": 0, "start": "2022-07-06 15:06:58.622651" } 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/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 15:07:00 +0000 (0:00:00.436) 0:02:10.705 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 15:07:00 +0000 (0:00:00.043) 0:02:10.748 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 15:07:00 +0000 (0:00:00.042) 0:02:10.791 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 15:07:00 +0000 (0:00:00.029) 0:02:10.820 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 15:07:00 +0000 (0:00:00.030) 0:02:10.851 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 15:07:00 +0000 (0:00:00.030) 0:02:10.881 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 15:07:00 +0000 (0:00:00.033) 0:02:10.915 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 15:07:00 +0000 (0:00:00.035) 0:02:10.950 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:47 Wednesday 06 July 2022 15:07:00 +0000 (0:00:00.043) 0:02:10.994 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 15:07:00 +0000 (0:00:00.023) 0:02:11.017 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Change volume size to "9g"] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_resize.yml:227 Wednesday 06 July 2022 15:07:00 +0000 (0:00:00.053) 0:02:11.071 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 15:07:00 +0000 (0:00:00.059) 0:02:11.130 ******** included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 15:07:00 +0000 (0:00:00.040) 0:02:11.170 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 15:07:01 +0000 (0:00:00.527) 0:02:11.698 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 15:07:01 +0000 (0:00:00.067) 0:02:11.766 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 15:07:01 +0000 (0:00:00.041) 0:02:11.808 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 15:07:01 +0000 (0:00:00.039) 0:02:11.847 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 15:07:01 +0000 (0:00:00.061) 0:02:11.908 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 15:07:01 +0000 (0:00:00.024) 0:02:11.933 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 15:07:01 +0000 (0:00:00.031) 0:02:11.965 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme0n1" ], "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 15:07:01 +0000 (0:00:00.099) 0:02:12.065 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 15:07:01 +0000 (0:00:00.110) 0:02:12.175 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 15:07:01 +0000 (0:00:00.030) 0:02:12.206 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 15:07:01 +0000 (0:00:00.029) 0:02:12.236 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 15:07:01 +0000 (0:00:00.041) 0:02:12.277 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 15:07:01 +0000 (0:00:00.032) 0:02:12.310 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 15:07:01 +0000 (0:00:00.050) 0:02:12.360 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 15:07:01 +0000 (0:00:00.022) 0:02:12.382 ******** changed: [/cache/fedora-35.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/sda", "/dev/sdb", "/dev/sdc", "/dev/mapper/foo-test1", "/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": [ "lvm2", "e2fsprogs", "btrfs-progs", "dosfstools" ], "pools": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 15:07:04 +0000 (0:00:02.712) 0:02:15.095 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 15:07:04 +0000 (0:00:00.030) 0:02:15.125 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 15:07:04 +0000 (0:00:00.026) 0:02:15.152 ******** ok: [/cache/fedora-35.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/sda", "/dev/sdb", "/dev/sdc", "/dev/mapper/foo-test1", "/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": [ "lvm2", "e2fsprogs", "btrfs-progs", "dosfstools" ], "pools": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 15:07:04 +0000 (0:00:00.041) 0:02:15.194 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 15:07:04 +0000 (0:00:00.045) 0:02:15.240 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 15:07:04 +0000 (0:00:00.043) 0:02:15.283 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 15:07:04 +0000 (0:00:00.032) 0:02:15.316 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 15:07:05 +0000 (0:00:00.720) 0:02:16.036 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 15:07:05 +0000 (0:00:00.430) 0:02:16.467 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 15:07:06 +0000 (0:00:00.724) 0:02:17.191 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 15:07:06 +0000 (0:00:00.387) 0:02:17.578 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 15:07:06 +0000 (0:00:00.026) 0:02:17.604 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_resize.yml:241 Wednesday 06 July 2022 15:07:07 +0000 (0:00:00.935) 0:02:18.540 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:1 Wednesday 06 July 2022 15:07:07 +0000 (0:00:00.045) 0:02:18.586 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpus9dv81c/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 15:07:08 +0000 (0:00:00.140) 0:02:18.727 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 15:07:08 +0000 (0:00:00.029) 0:02:18.756 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext3", "label": "", "name": "/dev/mapper/foo-test1", "size": "9G", "type": "lvm", "uuid": "68a39681-a289-4151-9c64-242487506eed" }, "/dev/nvme0n1": { "fstype": "LVM2_member", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "rCaWgH-WwSr-xpCf-HUsV-S58S-uuTX-G5vyz2" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-15-04-36-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:19 Wednesday 06 July 2022 15:07:08 +0000 (0:00:00.405) 0:02:19.162 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002723", "end": "2022-07-06 15:07:07.511834", "rc": 0, "start": "2022-07-06 15:07:07.509111" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 ext3 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:24 Wednesday 06 July 2022 15:07:08 +0000 (0:00:00.395) 0:02:19.557 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003334", "end": "2022-07-06 15:07:07.909375", "failed_when_result": false, "rc": 0, "start": "2022-07-06 15:07:07.906041" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:33 Wednesday 06 July 2022 15:07:09 +0000 (0:00:00.400) 0:02:19.958 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['nvme0n1'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:5 Wednesday 06 July 2022 15:07:09 +0000 (0:00:00.055) 0:02:20.013 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:18 Wednesday 06 July 2022 15:07:09 +0000 (0:00:00.042) 0:02:20.056 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:1 Wednesday 06 July 2022 15:07:09 +0000 (0:00:00.056) 0:02:20.113 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme0n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:6 Wednesday 06 July 2022 15:07:09 +0000 (0:00:00.085) 0:02:20.199 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme0n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme0n1", "pv": "/dev/nvme0n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:15 Wednesday 06 July 2022 15:07:10 +0000 (0:00:00.532) 0:02:20.732 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:19 Wednesday 06 July 2022 15:07:10 +0000 (0:00:00.039) 0:02:20.772 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme0n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:23 Wednesday 06 July 2022 15:07:10 +0000 (0:00:00.045) 0:02:20.817 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:29 Wednesday 06 July 2022 15:07:10 +0000 (0:00:00.057) 0:02:20.875 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:33 Wednesday 06 July 2022 15:07:10 +0000 (0:00:00.041) 0:02:20.916 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:37 Wednesday 06 July 2022 15:07:10 +0000 (0:00:00.042) 0:02:20.959 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:41 Wednesday 06 July 2022 15:07:10 +0000 (0:00:00.027) 0:02:20.986 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme0n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme0n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:50 Wednesday 06 July 2022 15:07:10 +0000 (0:00:00.048) 0:02:21.034 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:6 Wednesday 06 July 2022 15:07:10 +0000 (0:00:00.051) 0:02:21.086 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:12 Wednesday 06 July 2022 15:07:10 +0000 (0:00:00.028) 0:02:21.114 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:16 Wednesday 06 July 2022 15:07:10 +0000 (0:00:00.027) 0:02:21.142 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:20 Wednesday 06 July 2022 15:07:10 +0000 (0:00:00.029) 0:02:21.172 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:24 Wednesday 06 July 2022 15:07:10 +0000 (0:00:00.028) 0:02:21.200 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:30 Wednesday 06 July 2022 15:07:10 +0000 (0:00:00.025) 0:02:21.226 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:36 Wednesday 06 July 2022 15:07:10 +0000 (0:00:00.025) 0:02:21.252 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:44 Wednesday 06 July 2022 15:07:10 +0000 (0:00:00.026) 0:02:21.278 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:53 Wednesday 06 July 2022 15:07:10 +0000 (0:00:00.081) 0:02:21.360 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 15:07:10 +0000 (0:00:00.082) 0:02:21.442 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 15:07:10 +0000 (0:00:00.043) 0:02:21.486 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 15:07:10 +0000 (0:00:00.028) 0:02:21.515 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 15:07:10 +0000 (0:00:00.027) 0:02:21.542 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:56 Wednesday 06 July 2022 15:07:10 +0000 (0:00:00.027) 0:02:21.569 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 15:07:10 +0000 (0:00:00.044) 0:02:21.614 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 15:07:10 +0000 (0:00:00.042) 0:02:21.656 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 15:07:11 +0000 (0:00:00.023) 0:02:21.680 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 15:07:11 +0000 (0:00:00.025) 0:02:21.705 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 15:07:11 +0000 (0:00:00.026) 0:02:21.732 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:59 Wednesday 06 July 2022 15:07:11 +0000 (0:00:00.023) 0:02:21.756 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 15:07:11 +0000 (0:00:00.047) 0:02:21.803 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 15:07:11 +0000 (0:00:00.038) 0:02:21.841 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme0n1) => { "_storage_test_pool_member_path": "/dev/nvme0n1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 15:07:11 +0000 (0:00:00.028) 0:02:21.869 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/nvme0n1) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 15:07:11 +0000 (0:00:00.045) 0:02:21.915 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:4 Wednesday 06 July 2022 15:07:11 +0000 (0:00:00.042) 0:02:21.958 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:9 Wednesday 06 July 2022 15:07:11 +0000 (0:00:00.040) 0:02:21.998 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:15 Wednesday 06 July 2022 15:07:11 +0000 (0:00:00.025) 0:02:22.024 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:21 Wednesday 06 July 2022 15:07:11 +0000 (0:00:00.033) 0:02:22.057 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:27 Wednesday 06 July 2022 15:07:11 +0000 (0:00:00.026) 0:02:22.084 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 15:07:11 +0000 (0:00:00.034) 0:02:22.119 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:62 Wednesday 06 July 2022 15:07:11 +0000 (0:00:00.037) 0:02:22.156 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 15:07:11 +0000 (0:00:00.054) 0:02:22.210 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 15:07:11 +0000 (0:00:00.049) 0:02:22.260 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 15:07:11 +0000 (0:00:00.027) 0:02:22.288 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 15:07:11 +0000 (0:00:00.025) 0:02:22.313 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 15:07:11 +0000 (0:00:00.023) 0:02:22.337 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 15:07:11 +0000 (0:00:00.025) 0:02:22.362 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 15:07:11 +0000 (0:00:00.024) 0:02:22.387 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 15:07:11 +0000 (0:00:00.031) 0:02:22.418 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 15:07:11 +0000 (0:00:00.027) 0:02:22.446 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:65 Wednesday 06 July 2022 15:07:11 +0000 (0:00:00.037) 0:02:22.484 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 15:07:11 +0000 (0:00:00.033) 0:02:22.517 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 15:07:11 +0000 (0:00:00.045) 0:02:22.563 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 15:07:12 +0000 (0:00:00.166) 0:02:22.729 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 15:07:12 +0000 (0:00:00.092) 0:02:22.822 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 15:07:12 +0000 (0:00:00.043) 0:02:22.865 ******** ok: [/cache/fedora-35.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": "68a39681-a289-4151-9c64-242487506eed" } ], "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": "68a39681-a289-4151-9c64-242487506eed" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 15:07:12 +0000 (0:00:00.052) 0:02:22.917 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 15:07:12 +0000 (0:00:00.044) 0:02:22.962 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 15:07:12 +0000 (0:00:00.041) 0:02:23.004 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 15:07:12 +0000 (0:00:00.043) 0:02:23.047 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 15:07:12 +0000 (0:00:00.028) 0:02:23.075 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 15:07:12 +0000 (0:00:00.030) 0:02:23.106 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 15:07:12 +0000 (0:00:00.026) 0:02:23.133 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 15:07:12 +0000 (0:00:00.037) 0:02:23.171 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/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/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 15:07:12 +0000 (0:00:00.054) 0:02:23.225 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 15:07:12 +0000 (0:00:00.041) 0:02:23.266 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 15:07:12 +0000 (0:00:00.043) 0:02:23.309 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 15:07:12 +0000 (0:00:00.026) 0:02:23.336 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 15:07:12 +0000 (0:00:00.042) 0:02:23.378 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 15:07:12 +0000 (0:00:00.041) 0:02:23.419 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 15:07:12 +0000 (0:00:00.042) 0:02:23.462 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657120024.4165666, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657120022.9935665, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 514, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657120022.9935665, "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/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 15:07:13 +0000 (0:00:00.400) 0:02:23.862 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 15:07:13 +0000 (0:00:00.040) 0:02:23.902 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 15:07:13 +0000 (0:00:00.041) 0:02:23.944 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 15:07:13 +0000 (0:00:00.039) 0:02:23.983 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 15:07:13 +0000 (0:00:00.024) 0:02:24.007 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 15:07:13 +0000 (0:00:00.040) 0:02:24.047 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 15:07:13 +0000 (0:00:00.022) 0:02:24.070 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 15:07:15 +0000 (0:00:01.958) 0:02:26.028 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 15:07:15 +0000 (0:00:00.028) 0:02:26.057 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 15:07:15 +0000 (0:00:00.026) 0:02:26.083 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 15:07:15 +0000 (0:00:00.096) 0:02:26.179 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 15:07:15 +0000 (0:00:00.028) 0:02:26.207 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 15:07:15 +0000 (0:00:00.026) 0:02:26.234 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 15:07:15 +0000 (0:00:00.026) 0:02:26.260 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 15:07:15 +0000 (0:00:00.026) 0:02:26.287 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 15:07:15 +0000 (0:00:00.069) 0:02:26.357 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 15:07:15 +0000 (0:00:00.042) 0:02:26.399 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 15:07:15 +0000 (0:00:00.042) 0:02:26.442 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 15:07:15 +0000 (0:00:00.030) 0:02:26.472 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 15:07:15 +0000 (0:00:00.028) 0:02:26.500 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 15:07:15 +0000 (0:00:00.028) 0:02:26.529 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 15:07:15 +0000 (0:00:00.039) 0:02:26.568 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 15:07:15 +0000 (0:00:00.029) 0:02:26.598 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 15:07:15 +0000 (0:00:00.028) 0:02:26.626 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 15:07:15 +0000 (0:00:00.026) 0:02:26.652 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 15:07:16 +0000 (0:00:00.026) 0:02:26.678 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 15:07:16 +0000 (0:00:00.026) 0:02:26.705 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 15:07:16 +0000 (0:00:00.028) 0:02:26.734 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 15:07:16 +0000 (0:00:00.029) 0:02:26.763 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 15:07:16 +0000 (0:00:00.393) 0:02:27.157 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 15:07:16 +0000 (0:00:00.392) 0:02:27.549 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "9663676416" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 15:07:16 +0000 (0:00:00.042) 0:02:27.591 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "9663676416" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 15:07:16 +0000 (0:00:00.039) 0:02:27.631 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 15:07:16 +0000 (0:00:00.029) 0:02:27.660 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 15:07:17 +0000 (0:00:00.030) 0:02:27.690 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 15:07:17 +0000 (0:00:00.028) 0:02:27.719 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 15:07:17 +0000 (0:00:00.028) 0:02:27.748 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 15:07:17 +0000 (0:00:00.028) 0:02:27.776 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 9663676416, "changed": false, "failed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 15:07:17 +0000 (0:00:00.041) 0:02:27.818 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "9663676416" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 15:07:17 +0000 (0:00:00.038) 0:02:27.857 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 15:07:17 +0000 (0:00:00.050) 0:02:27.907 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.041699", "end": "2022-07-06 15:07:16.310162", "rc": 0, "start": "2022-07-06 15:07:16.268463" } 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/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 15:07:17 +0000 (0:00:00.452) 0:02:28.359 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 15:07:17 +0000 (0:00:00.043) 0:02:28.402 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 15:07:17 +0000 (0:00:00.097) 0:02:28.500 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 15:07:17 +0000 (0:00:00.032) 0:02:28.532 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 15:07:17 +0000 (0:00:00.029) 0:02:28.561 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 15:07:17 +0000 (0:00:00.029) 0:02:28.591 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 15:07:17 +0000 (0:00:00.029) 0:02:28.620 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 15:07:17 +0000 (0:00:00.040) 0:02:28.661 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:47 Wednesday 06 July 2022 15:07:18 +0000 (0:00:00.036) 0:02:28.697 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 15:07:18 +0000 (0:00:00.023) 0:02:28.721 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Change volume size to "5g"] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_resize.yml:243 Wednesday 06 July 2022 15:07:18 +0000 (0:00:00.097) 0:02:28.819 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 15:07:18 +0000 (0:00:00.056) 0:02:28.875 ******** included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 15:07:18 +0000 (0:00:00.081) 0:02:28.956 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 15:07:18 +0000 (0:00:00.569) 0:02:29.525 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 15:07:18 +0000 (0:00:00.068) 0:02:29.594 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 15:07:18 +0000 (0:00:00.040) 0:02:29.634 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 15:07:19 +0000 (0:00:00.037) 0:02:29.672 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 15:07:19 +0000 (0:00:00.066) 0:02:29.738 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 15:07:19 +0000 (0:00:00.022) 0:02:29.760 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 15:07:19 +0000 (0:00:00.028) 0:02:29.789 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme0n1" ], "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 15:07:19 +0000 (0:00:00.047) 0:02:29.836 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 15:07:19 +0000 (0:00:00.038) 0:02:29.874 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 15:07:19 +0000 (0:00:00.032) 0:02:29.907 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 15:07:19 +0000 (0:00:00.028) 0:02:29.936 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 15:07:19 +0000 (0:00:00.028) 0:02:29.964 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 15:07:19 +0000 (0:00:00.028) 0:02:29.992 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 15:07:19 +0000 (0:00:00.049) 0:02:30.042 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 15:07:19 +0000 (0:00:00.023) 0:02:30.065 ******** changed: [/cache/fedora-35.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/sda", "/dev/sdb", "/dev/sdc", "/dev/mapper/foo-test1", "/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": [ "lvm2", "e2fsprogs", "btrfs-progs", "dosfstools" ], "pools": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 15:07:22 +0000 (0:00:02.923) 0:02:32.989 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 15:07:22 +0000 (0:00:00.029) 0:02:33.018 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 15:07:22 +0000 (0:00:00.022) 0:02:33.041 ******** ok: [/cache/fedora-35.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/sda", "/dev/sdb", "/dev/sdc", "/dev/mapper/foo-test1", "/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": [ "lvm2", "e2fsprogs", "btrfs-progs", "dosfstools" ], "pools": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 15:07:22 +0000 (0:00:00.045) 0:02:33.087 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 15:07:22 +0000 (0:00:00.046) 0:02:33.133 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 15:07:22 +0000 (0:00:00.042) 0:02:33.176 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 15:07:22 +0000 (0:00:00.031) 0:02:33.207 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 15:07:23 +0000 (0:00:00.738) 0:02:33.945 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 15:07:23 +0000 (0:00:00.493) 0:02:34.439 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 15:07:24 +0000 (0:00:00.727) 0:02:35.166 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 15:07:24 +0000 (0:00:00.469) 0:02:35.636 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 15:07:24 +0000 (0:00:00.024) 0:02:35.660 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_resize.yml:257 Wednesday 06 July 2022 15:07:25 +0000 (0:00:01.002) 0:02:36.663 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:1 Wednesday 06 July 2022 15:07:26 +0000 (0:00:00.049) 0:02:36.712 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpus9dv81c/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 15:07:26 +0000 (0:00:00.042) 0:02:36.755 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 15:07:26 +0000 (0:00:00.028) 0:02:36.783 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext3", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "68a39681-a289-4151-9c64-242487506eed" }, "/dev/nvme0n1": { "fstype": "LVM2_member", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "rCaWgH-WwSr-xpCf-HUsV-S58S-uuTX-G5vyz2" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-15-04-36-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:19 Wednesday 06 July 2022 15:07:26 +0000 (0:00:00.417) 0:02:37.201 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002917", "end": "2022-07-06 15:07:25.553059", "rc": 0, "start": "2022-07-06 15:07:25.550142" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 ext3 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:24 Wednesday 06 July 2022 15:07:26 +0000 (0:00:00.398) 0:02:37.599 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002865", "end": "2022-07-06 15:07:25.947433", "failed_when_result": false, "rc": 0, "start": "2022-07-06 15:07:25.944568" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:33 Wednesday 06 July 2022 15:07:27 +0000 (0:00:00.394) 0:02:37.994 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['nvme0n1'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:5 Wednesday 06 July 2022 15:07:27 +0000 (0:00:00.053) 0:02:38.047 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:18 Wednesday 06 July 2022 15:07:27 +0000 (0:00:00.036) 0:02:38.084 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:1 Wednesday 06 July 2022 15:07:27 +0000 (0:00:00.054) 0:02:38.138 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme0n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:6 Wednesday 06 July 2022 15:07:27 +0000 (0:00:00.048) 0:02:38.186 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme0n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme0n1", "pv": "/dev/nvme0n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:15 Wednesday 06 July 2022 15:07:27 +0000 (0:00:00.439) 0:02:38.625 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:19 Wednesday 06 July 2022 15:07:28 +0000 (0:00:00.083) 0:02:38.709 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme0n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:23 Wednesday 06 July 2022 15:07:28 +0000 (0:00:00.041) 0:02:38.751 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:29 Wednesday 06 July 2022 15:07:28 +0000 (0:00:00.044) 0:02:38.795 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:33 Wednesday 06 July 2022 15:07:28 +0000 (0:00:00.043) 0:02:38.839 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:37 Wednesday 06 July 2022 15:07:28 +0000 (0:00:00.040) 0:02:38.879 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:41 Wednesday 06 July 2022 15:07:28 +0000 (0:00:00.026) 0:02:38.906 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme0n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme0n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:50 Wednesday 06 July 2022 15:07:28 +0000 (0:00:00.047) 0:02:38.953 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:6 Wednesday 06 July 2022 15:07:28 +0000 (0:00:00.044) 0:02:38.998 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:12 Wednesday 06 July 2022 15:07:28 +0000 (0:00:00.023) 0:02:39.022 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:16 Wednesday 06 July 2022 15:07:28 +0000 (0:00:00.023) 0:02:39.045 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:20 Wednesday 06 July 2022 15:07:28 +0000 (0:00:00.024) 0:02:39.070 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:24 Wednesday 06 July 2022 15:07:28 +0000 (0:00:00.023) 0:02:39.093 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:30 Wednesday 06 July 2022 15:07:28 +0000 (0:00:00.022) 0:02:39.116 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:36 Wednesday 06 July 2022 15:07:28 +0000 (0:00:00.023) 0:02:39.139 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:44 Wednesday 06 July 2022 15:07:28 +0000 (0:00:00.024) 0:02:39.164 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:53 Wednesday 06 July 2022 15:07:28 +0000 (0:00:00.033) 0:02:39.198 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 15:07:28 +0000 (0:00:00.045) 0:02:39.244 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 15:07:28 +0000 (0:00:00.042) 0:02:39.286 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 15:07:28 +0000 (0:00:00.038) 0:02:39.325 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 15:07:28 +0000 (0:00:00.043) 0:02:39.368 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:56 Wednesday 06 July 2022 15:07:28 +0000 (0:00:00.031) 0:02:39.400 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 15:07:28 +0000 (0:00:00.046) 0:02:39.446 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 15:07:28 +0000 (0:00:00.043) 0:02:39.490 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 15:07:28 +0000 (0:00:00.022) 0:02:39.512 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 15:07:28 +0000 (0:00:00.022) 0:02:39.534 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 15:07:28 +0000 (0:00:00.022) 0:02:39.557 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:59 Wednesday 06 July 2022 15:07:28 +0000 (0:00:00.022) 0:02:39.579 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 15:07:28 +0000 (0:00:00.045) 0:02:39.624 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 15:07:28 +0000 (0:00:00.039) 0:02:39.663 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme0n1) => { "_storage_test_pool_member_path": "/dev/nvme0n1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 15:07:29 +0000 (0:00:00.028) 0:02:39.692 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/nvme0n1) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 15:07:29 +0000 (0:00:00.042) 0:02:39.735 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:4 Wednesday 06 July 2022 15:07:29 +0000 (0:00:00.042) 0:02:39.777 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:9 Wednesday 06 July 2022 15:07:29 +0000 (0:00:00.104) 0:02:39.881 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:15 Wednesday 06 July 2022 15:07:29 +0000 (0:00:00.025) 0:02:39.907 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:21 Wednesday 06 July 2022 15:07:29 +0000 (0:00:00.074) 0:02:39.981 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:27 Wednesday 06 July 2022 15:07:29 +0000 (0:00:00.028) 0:02:40.010 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 15:07:29 +0000 (0:00:00.038) 0:02:40.049 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:62 Wednesday 06 July 2022 15:07:29 +0000 (0:00:00.040) 0:02:40.089 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 15:07:29 +0000 (0:00:00.051) 0:02:40.140 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 15:07:29 +0000 (0:00:00.044) 0:02:40.184 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 15:07:29 +0000 (0:00:00.025) 0:02:40.210 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 15:07:29 +0000 (0:00:00.027) 0:02:40.237 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 15:07:29 +0000 (0:00:00.026) 0:02:40.264 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 15:07:29 +0000 (0:00:00.026) 0:02:40.291 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 15:07:29 +0000 (0:00:00.027) 0:02:40.319 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 15:07:29 +0000 (0:00:00.026) 0:02:40.346 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 15:07:29 +0000 (0:00:00.026) 0:02:40.372 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:65 Wednesday 06 July 2022 15:07:29 +0000 (0:00:00.039) 0:02:40.411 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 15:07:29 +0000 (0:00:00.040) 0:02:40.451 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 15:07:29 +0000 (0:00:00.044) 0:02:40.496 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 15:07:29 +0000 (0:00:00.039) 0:02:40.536 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 15:07:29 +0000 (0:00:00.086) 0:02:40.622 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 15:07:29 +0000 (0:00:00.042) 0:02:40.665 ******** ok: [/cache/fedora-35.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": "68a39681-a289-4151-9c64-242487506eed" } ], "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": "68a39681-a289-4151-9c64-242487506eed" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 15:07:30 +0000 (0:00:00.054) 0:02:40.720 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 15:07:30 +0000 (0:00:00.045) 0:02:40.765 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 15:07:30 +0000 (0:00:00.042) 0:02:40.808 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 15:07:30 +0000 (0:00:00.044) 0:02:40.852 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 15:07:30 +0000 (0:00:00.026) 0:02:40.879 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 15:07:30 +0000 (0:00:00.024) 0:02:40.904 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 15:07:30 +0000 (0:00:00.024) 0:02:40.929 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 15:07:30 +0000 (0:00:00.042) 0:02:40.971 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/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/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 15:07:30 +0000 (0:00:00.064) 0:02:41.036 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 15:07:30 +0000 (0:00:00.044) 0:02:41.080 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 15:07:30 +0000 (0:00:00.043) 0:02:41.124 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 15:07:30 +0000 (0:00:00.028) 0:02:41.153 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 15:07:30 +0000 (0:00:00.039) 0:02:41.192 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 15:07:30 +0000 (0:00:00.043) 0:02:41.235 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 15:07:30 +0000 (0:00:00.043) 0:02:41.279 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657120042.3785665, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657120040.8605666, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 514, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657120040.8605666, "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/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 15:07:31 +0000 (0:00:00.406) 0:02:41.685 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 15:07:31 +0000 (0:00:00.143) 0:02:41.829 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 15:07:31 +0000 (0:00:00.041) 0:02:41.871 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 15:07:31 +0000 (0:00:00.041) 0:02:41.912 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 15:07:31 +0000 (0:00:00.027) 0:02:41.940 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 15:07:31 +0000 (0:00:00.043) 0:02:41.983 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 15:07:31 +0000 (0:00:00.023) 0:02:42.007 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 15:07:33 +0000 (0:00:01.924) 0:02:43.931 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 15:07:33 +0000 (0:00:00.027) 0:02:43.958 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 15:07:33 +0000 (0:00:00.026) 0:02:43.985 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 15:07:33 +0000 (0:00:00.042) 0:02:44.028 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 15:07:33 +0000 (0:00:00.025) 0:02:44.054 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 15:07:33 +0000 (0:00:00.025) 0:02:44.079 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 15:07:33 +0000 (0:00:00.026) 0:02:44.106 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 15:07:33 +0000 (0:00:00.024) 0:02:44.131 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 15:07:33 +0000 (0:00:00.024) 0:02:44.155 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 15:07:33 +0000 (0:00:00.041) 0:02:44.196 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 15:07:33 +0000 (0:00:00.041) 0:02:44.237 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 15:07:33 +0000 (0:00:00.025) 0:02:44.263 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 15:07:33 +0000 (0:00:00.027) 0:02:44.290 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 15:07:33 +0000 (0:00:00.027) 0:02:44.318 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 15:07:33 +0000 (0:00:00.040) 0:02:44.358 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 15:07:33 +0000 (0:00:00.028) 0:02:44.386 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 15:07:33 +0000 (0:00:00.028) 0:02:44.414 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 15:07:33 +0000 (0:00:00.027) 0:02:44.442 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 15:07:33 +0000 (0:00:00.032) 0:02:44.475 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 15:07:33 +0000 (0:00:00.028) 0:02:44.503 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 15:07:33 +0000 (0:00:00.028) 0:02:44.532 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 15:07:33 +0000 (0:00:00.027) 0:02:44.559 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 15:07:34 +0000 (0:00:00.391) 0:02:44.951 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 15:07:34 +0000 (0:00:00.401) 0:02:45.353 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 15:07:34 +0000 (0:00:00.044) 0:02:45.398 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 15:07:34 +0000 (0:00:00.038) 0:02:45.436 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 15:07:34 +0000 (0:00:00.032) 0:02:45.469 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 15:07:34 +0000 (0:00:00.029) 0:02:45.498 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 15:07:34 +0000 (0:00:00.030) 0:02:45.529 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 15:07:34 +0000 (0:00:00.034) 0:02:45.564 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 15:07:34 +0000 (0:00:00.033) 0:02:45.597 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 15:07:35 +0000 (0:00:00.114) 0:02:45.711 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 15:07:35 +0000 (0:00:00.036) 0:02:45.747 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 15:07:35 +0000 (0:00:00.087) 0:02:45.835 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.039188", "end": "2022-07-06 15:07:34.261077", "rc": 0, "start": "2022-07-06 15:07:34.221889" } 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/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 15:07:35 +0000 (0:00:00.473) 0:02:46.309 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 15:07:35 +0000 (0:00:00.044) 0:02:46.353 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 15:07:35 +0000 (0:00:00.046) 0:02:46.400 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 15:07:35 +0000 (0:00:00.031) 0:02:46.431 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 15:07:35 +0000 (0:00:00.028) 0:02:46.460 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 15:07:35 +0000 (0:00:00.027) 0:02:46.487 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 15:07:35 +0000 (0:00:00.026) 0:02:46.513 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 15:07:35 +0000 (0:00:00.037) 0:02:46.550 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:47 Wednesday 06 July 2022 15:07:35 +0000 (0:00:00.033) 0:02:46.584 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 15:07:35 +0000 (0:00:00.025) 0:02:46.610 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_resize.yml:259 Wednesday 06 July 2022 15:07:35 +0000 (0:00:00.039) 0:02:46.650 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 15:07:36 +0000 (0:00:00.065) 0:02:46.715 ******** included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 15:07:36 +0000 (0:00:00.040) 0:02:46.756 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 15:07:36 +0000 (0:00:00.558) 0:02:47.314 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 15:07:36 +0000 (0:00:00.066) 0:02:47.381 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 15:07:36 +0000 (0:00:00.039) 0:02:47.420 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 15:07:36 +0000 (0:00:00.040) 0:02:47.460 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 15:07:36 +0000 (0:00:00.057) 0:02:47.518 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 15:07:36 +0000 (0:00:00.023) 0:02:47.542 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 15:07:36 +0000 (0:00:00.028) 0:02:47.570 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme0n1" ], "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 15:07:36 +0000 (0:00:00.038) 0:02:47.608 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 15:07:36 +0000 (0:00:00.036) 0:02:47.645 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 15:07:37 +0000 (0:00:00.029) 0:02:47.675 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 15:07:37 +0000 (0:00:00.029) 0:02:47.704 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 15:07:37 +0000 (0:00:00.032) 0:02:47.736 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 15:07:37 +0000 (0:00:00.031) 0:02:47.768 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 15:07:37 +0000 (0:00:00.145) 0:02:47.913 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 15:07:37 +0000 (0:00:00.024) 0:02:47.938 ******** changed: [/cache/fedora-35.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/nvme0n1", "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", "btrfs-progs", "e2fsprogs" ], "pools": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 15:07:39 +0000 (0:00:02.717) 0:02:50.655 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 15:07:40 +0000 (0:00:00.029) 0:02:50.684 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 15:07:40 +0000 (0:00:00.024) 0:02:50.709 ******** ok: [/cache/fedora-35.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/nvme0n1", "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", "btrfs-progs", "e2fsprogs" ], "pools": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 15:07:40 +0000 (0:00:00.042) 0:02:50.751 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 15:07:40 +0000 (0:00:00.054) 0:02:50.806 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 15:07:40 +0000 (0:00:00.053) 0:02:50.859 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 15:07:40 +0000 (0:00:00.436) 0:02:51.296 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 15:07:41 +0000 (0:00:00.745) 0:02:52.042 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 15:07:41 +0000 (0:00:00.029) 0:02:52.071 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 15:07:42 +0000 (0:00:00.722) 0:02:52.793 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 15:07:42 +0000 (0:00:00.405) 0:02:53.199 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 15:07:42 +0000 (0:00:00.023) 0:02:53.223 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_resize.yml:272 Wednesday 06 July 2022 15:07:43 +0000 (0:00:00.929) 0:02:54.152 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:1 Wednesday 06 July 2022 15:07:43 +0000 (0:00:00.055) 0:02:54.208 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpus9dv81c/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 15:07:43 +0000 (0:00:00.099) 0:02:54.307 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 15:07:43 +0000 (0:00:00.025) 0:02:54.333 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-15-04-36-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:19 Wednesday 06 July 2022 15:07:44 +0000 (0:00:00.453) 0:02:54.787 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:01.004318", "end": "2022-07-06 15:07:44.138707", "rc": 0, "start": "2022-07-06 15:07:43.134389" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:24 Wednesday 06 July 2022 15:07:45 +0000 (0:00:01.402) 0:02:56.189 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002697", "end": "2022-07-06 15:07:44.534181", "failed_when_result": false, "rc": 0, "start": "2022-07-06 15:07:44.531484" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:33 Wednesday 06 July 2022 15:07:45 +0000 (0:00:00.390) 0:02:56.580 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['nvme0n1'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'absent', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:5 Wednesday 06 July 2022 15:07:45 +0000 (0:00:00.052) 0:02:56.632 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:18 Wednesday 06 July 2022 15:07:46 +0000 (0:00:00.035) 0:02:56.667 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:1 Wednesday 06 July 2022 15:07:46 +0000 (0:00:00.048) 0:02:56.716 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "0", "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:6 Wednesday 06 July 2022 15:07:46 +0000 (0:00:00.041) 0:02:56.758 ******** TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:15 Wednesday 06 July 2022 15:07:46 +0000 (0:00:00.023) 0:02:56.781 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:19 Wednesday 06 July 2022 15:07:46 +0000 (0:00:00.038) 0:02:56.819 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:23 Wednesday 06 July 2022 15:07:46 +0000 (0:00:00.044) 0:02:56.864 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:29 Wednesday 06 July 2022 15:07:46 +0000 (0:00:00.045) 0:02:56.910 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:33 Wednesday 06 July 2022 15:07:46 +0000 (0:00:00.045) 0:02:56.955 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:37 Wednesday 06 July 2022 15:07:46 +0000 (0:00:00.041) 0:02:56.997 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:41 Wednesday 06 July 2022 15:07:46 +0000 (0:00:00.027) 0:02:57.024 ******** TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:50 Wednesday 06 July 2022 15:07:46 +0000 (0:00:00.023) 0:02:57.048 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:6 Wednesday 06 July 2022 15:07:46 +0000 (0:00:00.045) 0:02:57.094 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:12 Wednesday 06 July 2022 15:07:46 +0000 (0:00:00.024) 0:02:57.118 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:16 Wednesday 06 July 2022 15:07:46 +0000 (0:00:00.024) 0:02:57.142 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:20 Wednesday 06 July 2022 15:07:46 +0000 (0:00:00.025) 0:02:57.167 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:24 Wednesday 06 July 2022 15:07:46 +0000 (0:00:00.023) 0:02:57.191 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:30 Wednesday 06 July 2022 15:07:46 +0000 (0:00:00.025) 0:02:57.217 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:36 Wednesday 06 July 2022 15:07:46 +0000 (0:00:00.025) 0:02:57.242 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:44 Wednesday 06 July 2022 15:07:46 +0000 (0:00:00.026) 0:02:57.268 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:53 Wednesday 06 July 2022 15:07:46 +0000 (0:00:00.037) 0:02:57.306 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 15:07:46 +0000 (0:00:00.054) 0:02:57.360 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 15:07:46 +0000 (0:00:00.098) 0:02:57.458 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 15:07:46 +0000 (0:00:00.031) 0:02:57.490 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 15:07:46 +0000 (0:00:00.030) 0:02:57.520 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:56 Wednesday 06 July 2022 15:07:46 +0000 (0:00:00.032) 0:02:57.552 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 15:07:46 +0000 (0:00:00.045) 0:02:57.598 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 15:07:46 +0000 (0:00:00.045) 0:02:57.644 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 15:07:47 +0000 (0:00:00.025) 0:02:57.669 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 15:07:47 +0000 (0:00:00.024) 0:02:57.694 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 15:07:47 +0000 (0:00:00.025) 0:02:57.720 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:59 Wednesday 06 July 2022 15:07:47 +0000 (0:00:00.026) 0:02:57.747 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 15:07:47 +0000 (0:00:00.047) 0:02:57.795 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 15:07:47 +0000 (0:00:00.042) 0:02:57.837 ******** TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 15:07:47 +0000 (0:00:00.025) 0:02:57.863 ******** TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 15:07:47 +0000 (0:00:00.023) 0:02:57.886 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:62 Wednesday 06 July 2022 15:07:47 +0000 (0:00:00.037) 0:02:57.924 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 15:07:47 +0000 (0:00:00.050) 0:02:57.975 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 15:07:47 +0000 (0:00:00.046) 0:02:58.021 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 15:07:47 +0000 (0:00:00.027) 0:02:58.049 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 15:07:47 +0000 (0:00:00.028) 0:02:58.077 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 15:07:47 +0000 (0:00:00.029) 0:02:58.107 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 15:07:47 +0000 (0:00:00.030) 0:02:58.138 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 15:07:47 +0000 (0:00:00.029) 0:02:58.168 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 15:07:47 +0000 (0:00:00.025) 0:02:58.194 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 15:07:47 +0000 (0:00:00.026) 0:02:58.220 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:65 Wednesday 06 July 2022 15:07:47 +0000 (0:00:00.037) 0:02:58.257 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 15:07:47 +0000 (0:00:00.041) 0:02:58.299 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 15:07:47 +0000 (0:00:00.044) 0:02:58.343 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 15:07:47 +0000 (0:00:00.041) 0:02:58.384 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 15:07:47 +0000 (0:00:00.085) 0:02:58.469 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 15:07:47 +0000 (0:00:00.046) 0:02:58.516 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 15:07:47 +0000 (0:00:00.047) 0:02:58.563 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 15:07:47 +0000 (0:00:00.026) 0:02:58.590 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 15:07:48 +0000 (0:00:00.090) 0:02:58.681 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 15:07:48 +0000 (0:00:00.089) 0:02:58.770 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 15:07:48 +0000 (0:00:00.026) 0:02:58.797 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 15:07:48 +0000 (0:00:00.026) 0:02:58.823 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 15:07:48 +0000 (0:00:00.028) 0:02:58.851 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 15:07:48 +0000 (0:00:00.038) 0:02:58.889 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 15:07:48 +0000 (0:00:00.057) 0:02:58.947 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 15:07:48 +0000 (0:00:00.026) 0:02:58.973 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 15:07:48 +0000 (0:00:00.046) 0:02:59.019 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 15:07:48 +0000 (0:00:00.039) 0:02:59.059 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 15:07:48 +0000 (0:00:00.035) 0:02:59.095 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 15:07:48 +0000 (0:00:00.023) 0:02:59.118 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 15:07:48 +0000 (0:00:00.024) 0:02:59.143 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 15:07:48 +0000 (0:00:00.391) 0:02:59.535 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 15:07:48 +0000 (0:00:00.039) 0:02:59.574 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 15:07:48 +0000 (0:00:00.024) 0:02:59.599 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 15:07:48 +0000 (0:00:00.040) 0:02:59.639 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 15:07:48 +0000 (0:00:00.024) 0:02:59.664 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 15:07:49 +0000 (0:00:00.025) 0:02:59.689 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 15:07:49 +0000 (0:00:00.026) 0:02:59.716 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 15:07:51 +0000 (0:00:01.954) 0:03:01.671 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 15:07:51 +0000 (0:00:00.025) 0:03:01.696 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 15:07:51 +0000 (0:00:00.027) 0:03:01.723 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 15:07:51 +0000 (0:00:00.025) 0:03:01.748 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 15:07:51 +0000 (0:00:00.025) 0:03:01.774 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 15:07:51 +0000 (0:00:00.026) 0:03:01.800 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 15:07:51 +0000 (0:00:00.028) 0:03:01.829 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 15:07:51 +0000 (0:00:00.026) 0:03:01.856 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 15:07:51 +0000 (0:00:00.027) 0:03:01.883 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 15:07:51 +0000 (0:00:00.090) 0:03:01.974 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 15:07:51 +0000 (0:00:00.040) 0:03:02.014 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 15:07:51 +0000 (0:00:00.025) 0:03:02.040 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 15:07:51 +0000 (0:00:00.028) 0:03:02.068 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 15:07:51 +0000 (0:00:00.027) 0:03:02.096 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 15:07:51 +0000 (0:00:00.042) 0:03:02.138 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 15:07:51 +0000 (0:00:00.029) 0:03:02.167 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 15:07:51 +0000 (0:00:00.028) 0:03:02.196 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 15:07:51 +0000 (0:00:00.028) 0:03:02.224 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 15:07:51 +0000 (0:00:00.071) 0:03:02.296 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 15:07:51 +0000 (0:00:00.026) 0:03:02.322 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 15:07:51 +0000 (0:00:00.025) 0:03:02.348 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 15:07:51 +0000 (0:00:00.028) 0:03:02.377 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 15:07:51 +0000 (0:00:00.026) 0:03:02.404 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 15:07:51 +0000 (0:00:00.027) 0:03:02.431 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 15:07:51 +0000 (0:00:00.028) 0:03:02.460 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 15:07:51 +0000 (0:00:00.039) 0:03:02.499 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 15:07:51 +0000 (0:00:00.028) 0:03:02.528 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 15:07:51 +0000 (0:00:00.026) 0:03:02.554 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 15:07:51 +0000 (0:00:00.025) 0:03:02.580 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 15:07:51 +0000 (0:00:00.026) 0:03:02.606 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 15:07:51 +0000 (0:00:00.030) 0:03:02.637 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 15:07:52 +0000 (0:00:00.038) 0:03:02.675 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 15:07:52 +0000 (0:00:00.040) 0:03:02.716 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 15:07:52 +0000 (0:00:00.030) 0:03:02.746 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 15:07:52 +0000 (0:00:00.031) 0:03:02.777 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 15:07:52 +0000 (0:00:00.026) 0:03:02.804 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 15:07:52 +0000 (0:00:00.027) 0:03:02.831 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 15:07:52 +0000 (0:00:00.027) 0:03:02.858 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 15:07:52 +0000 (0:00:00.028) 0:03:02.887 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 15:07:52 +0000 (0:00:00.026) 0:03:02.914 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 15:07:52 +0000 (0:00:00.027) 0:03:02.941 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 15:07:52 +0000 (0:00:00.049) 0:03:02.991 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:47 Wednesday 06 July 2022 15:07:52 +0000 (0:00:00.041) 0:03:03.033 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 15:07:52 +0000 (0:00:00.025) 0:03:03.059 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Create a LVM logical volume with "5g" for ext2 FS] *********************** task path: /tmp/tmpus9dv81c/tests/storage/tests_resize.yml:276 Wednesday 06 July 2022 15:07:52 +0000 (0:00:00.047) 0:03:03.106 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 15:07:52 +0000 (0:00:00.075) 0:03:03.182 ******** included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 15:07:52 +0000 (0:00:00.040) 0:03:03.223 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 15:07:53 +0000 (0:00:00.540) 0:03:03.763 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 15:07:53 +0000 (0:00:00.115) 0:03:03.879 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 15:07:53 +0000 (0:00:00.131) 0:03:04.011 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 15:07:53 +0000 (0:00:00.040) 0:03:04.052 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 15:07:53 +0000 (0:00:00.058) 0:03:04.111 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 15:07:53 +0000 (0:00:00.024) 0:03:04.135 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 15:07:53 +0000 (0:00:00.035) 0:03:04.170 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme0n1" ], "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 15:07:53 +0000 (0:00:00.043) 0:03:04.213 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 15:07:53 +0000 (0:00:00.044) 0:03:04.258 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 15:07:53 +0000 (0:00:00.036) 0:03:04.294 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 15:07:53 +0000 (0:00:00.031) 0:03:04.325 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 15:07:53 +0000 (0:00:00.031) 0:03:04.356 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 15:07:53 +0000 (0:00:00.030) 0:03:04.387 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 15:07:53 +0000 (0:00:00.050) 0:03:04.437 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 15:07:53 +0000 (0:00:00.023) 0:03:04.461 ******** changed: [/cache/fedora-35.qcow2.snap] => { "actions": [ { "action": "create format", "device": "/dev/nvme0n1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/vda4", "/dev/vda5", "/dev/sda", "/dev/sdb", "/dev/sdc", "/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", "btrfs-progs", "lvm2", "e2fsprogs" ], "pools": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 15:07:56 +0000 (0:00:02.318) 0:03:06.779 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 15:07:56 +0000 (0:00:00.029) 0:03:06.808 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 15:07:56 +0000 (0:00:00.028) 0:03:06.837 ******** ok: [/cache/fedora-35.qcow2.snap] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/nvme0n1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "ext2" } ], "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/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", "btrfs-progs", "lvm2", "e2fsprogs" ], "pools": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 15:07:56 +0000 (0:00:00.047) 0:03:06.884 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 15:07:56 +0000 (0:00:00.038) 0:03:06.922 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 15:07:56 +0000 (0:00:00.037) 0:03:06.960 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 15:07:56 +0000 (0:00:00.028) 0:03:06.989 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 15:07:57 +0000 (0:00:00.714) 0:03:07.703 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 15:07:57 +0000 (0:00:00.445) 0:03:08.149 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 15:07:58 +0000 (0:00:00.721) 0:03:08.871 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 15:07:58 +0000 (0:00:00.405) 0:03:09.277 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 15:07:58 +0000 (0:00:00.025) 0:03:09.302 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_resize.yml:290 Wednesday 06 July 2022 15:07:59 +0000 (0:00:00.930) 0:03:10.233 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:1 Wednesday 06 July 2022 15:07:59 +0000 (0:00:00.087) 0:03:10.321 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpus9dv81c/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 15:07:59 +0000 (0:00:00.043) 0:03:10.364 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 15:07:59 +0000 (0:00:00.026) 0:03:10.390 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext2", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "27759b42-aaaf-40ec-a8e7-850c4d9ce0f1" }, "/dev/nvme0n1": { "fstype": "LVM2_member", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "50Hqu5-4AKY-BXdr-nRAc-2nju-iBtu-H9GYmt" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-15-04-36-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:19 Wednesday 06 July 2022 15:08:00 +0000 (0:00:00.419) 0:03:10.810 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003914", "end": "2022-07-06 15:07:59.163761", "rc": 0, "start": "2022-07-06 15:07:59.159847" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 ext2 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:24 Wednesday 06 July 2022 15:08:00 +0000 (0:00:00.412) 0:03:11.222 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003481", "end": "2022-07-06 15:07:59.581165", "failed_when_result": false, "rc": 0, "start": "2022-07-06 15:07:59.577684" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:33 Wednesday 06 July 2022 15:08:00 +0000 (0:00:00.409) 0:03:11.632 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['nvme0n1'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmpus9dv81c/tests/storage/test-verify-pool.yml:5 Wednesday 06 July 2022 15:08:01 +0000 (0:00:00.050) 0:03:11.683 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:18 Wednesday 06 July 2022 15:08:01 +0000 (0:00:00.034) 0:03:11.718 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:1 Wednesday 06 July 2022 15:08:01 +0000 (0:00:00.047) 0:03:11.765 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme0n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:6 Wednesday 06 July 2022 15:08:01 +0000 (0:00:00.049) 0:03:11.815 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme0n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme0n1", "pv": "/dev/nvme0n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:15 Wednesday 06 July 2022 15:08:01 +0000 (0:00:00.412) 0:03:12.228 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:19 Wednesday 06 July 2022 15:08:01 +0000 (0:00:00.047) 0:03:12.275 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme0n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:23 Wednesday 06 July 2022 15:08:01 +0000 (0:00:00.045) 0:03:12.321 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:29 Wednesday 06 July 2022 15:08:01 +0000 (0:00:00.043) 0:03:12.364 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:33 Wednesday 06 July 2022 15:08:01 +0000 (0:00:00.043) 0:03:12.408 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:37 Wednesday 06 July 2022 15:08:01 +0000 (0:00:00.043) 0:03:12.451 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:41 Wednesday 06 July 2022 15:08:01 +0000 (0:00:00.026) 0:03:12.477 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme0n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme0n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:50 Wednesday 06 July 2022 15:08:01 +0000 (0:00:00.048) 0:03:12.525 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:6 Wednesday 06 July 2022 15:08:01 +0000 (0:00:00.047) 0:03:12.573 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:12 Wednesday 06 July 2022 15:08:01 +0000 (0:00:00.025) 0:03:12.598 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:16 Wednesday 06 July 2022 15:08:01 +0000 (0:00:00.024) 0:03:12.623 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:20 Wednesday 06 July 2022 15:08:01 +0000 (0:00:00.023) 0:03:12.647 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:24 Wednesday 06 July 2022 15:08:02 +0000 (0:00:00.024) 0:03:12.671 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:30 Wednesday 06 July 2022 15:08:02 +0000 (0:00:00.023) 0:03:12.695 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:36 Wednesday 06 July 2022 15:08:02 +0000 (0:00:00.024) 0:03:12.719 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:44 Wednesday 06 July 2022 15:08:02 +0000 (0:00:00.028) 0:03:12.747 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:53 Wednesday 06 July 2022 15:08:02 +0000 (0:00:00.131) 0:03:12.879 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 15:08:02 +0000 (0:00:00.047) 0:03:12.926 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 15:08:02 +0000 (0:00:00.047) 0:03:12.974 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 15:08:02 +0000 (0:00:00.031) 0:03:13.005 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 15:08:02 +0000 (0:00:00.030) 0:03:13.036 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:56 Wednesday 06 July 2022 15:08:02 +0000 (0:00:00.033) 0:03:13.069 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 15:08:02 +0000 (0:00:00.053) 0:03:13.122 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 15:08:02 +0000 (0:00:00.051) 0:03:13.174 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 15:08:02 +0000 (0:00:00.026) 0:03:13.200 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 15:08:02 +0000 (0:00:00.025) 0:03:13.226 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 15:08:02 +0000 (0:00:00.025) 0:03:13.251 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:59 Wednesday 06 July 2022 15:08:02 +0000 (0:00:00.028) 0:03:13.279 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 15:08:02 +0000 (0:00:00.046) 0:03:13.326 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 15:08:02 +0000 (0:00:00.042) 0:03:13.368 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme0n1) => { "_storage_test_pool_member_path": "/dev/nvme0n1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 15:08:02 +0000 (0:00:00.030) 0:03:13.399 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/nvme0n1) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 15:08:02 +0000 (0:00:00.044) 0:03:13.443 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:4 Wednesday 06 July 2022 15:08:02 +0000 (0:00:00.039) 0:03:13.483 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:9 Wednesday 06 July 2022 15:08:02 +0000 (0:00:00.037) 0:03:13.521 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:15 Wednesday 06 July 2022 15:08:02 +0000 (0:00:00.024) 0:03:13.545 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:21 Wednesday 06 July 2022 15:08:02 +0000 (0:00:00.024) 0:03:13.570 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:27 Wednesday 06 July 2022 15:08:02 +0000 (0:00:00.026) 0:03:13.596 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 15:08:02 +0000 (0:00:00.033) 0:03:13.629 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:62 Wednesday 06 July 2022 15:08:02 +0000 (0:00:00.034) 0:03:13.664 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 15:08:03 +0000 (0:00:00.048) 0:03:13.712 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 15:08:03 +0000 (0:00:00.044) 0:03:13.756 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 15:08:03 +0000 (0:00:00.023) 0:03:13.779 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 15:08:03 +0000 (0:00:00.024) 0:03:13.804 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 15:08:03 +0000 (0:00:00.025) 0:03:13.830 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 15:08:03 +0000 (0:00:00.023) 0:03:13.853 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 15:08:03 +0000 (0:00:00.023) 0:03:13.877 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 15:08:03 +0000 (0:00:00.024) 0:03:13.902 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 15:08:03 +0000 (0:00:00.023) 0:03:13.925 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:65 Wednesday 06 July 2022 15:08:03 +0000 (0:00:00.073) 0:03:13.998 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 15:08:03 +0000 (0:00:00.128) 0:03:14.127 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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/tmpus9dv81c/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 15:08:03 +0000 (0:00:00.047) 0:03:14.175 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 15:08:03 +0000 (0:00:00.043) 0:03:14.218 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 15:08:03 +0000 (0:00:00.085) 0:03:14.304 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 15:08:03 +0000 (0:00:00.044) 0:03:14.348 ******** ok: [/cache/fedora-35.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": "27759b42-aaaf-40ec-a8e7-850c4d9ce0f1" } ], "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": "27759b42-aaaf-40ec-a8e7-850c4d9ce0f1" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 15:08:03 +0000 (0:00:00.049) 0:03:14.397 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 15:08:03 +0000 (0:00:00.041) 0:03:14.439 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 15:08:03 +0000 (0:00:00.042) 0:03:14.481 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 15:08:03 +0000 (0:00:00.043) 0:03:14.524 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 15:08:03 +0000 (0:00:00.027) 0:03:14.552 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 15:08:03 +0000 (0:00:00.025) 0:03:14.577 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 15:08:03 +0000 (0:00:00.026) 0:03:14.604 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 15:08:03 +0000 (0:00:00.035) 0:03:14.640 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/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/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 15:08:04 +0000 (0:00:00.054) 0:03:14.695 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 15:08:04 +0000 (0:00:00.040) 0:03:14.735 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 15:08:04 +0000 (0:00:00.041) 0:03:14.776 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 15:08:04 +0000 (0:00:00.024) 0:03:14.801 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 15:08:04 +0000 (0:00:00.036) 0:03:14.837 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 15:08:04 +0000 (0:00:00.046) 0:03:14.884 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 15:08:04 +0000 (0:00:00.044) 0:03:14.929 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657120076.1085665, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657120074.6685665, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 523, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657120074.6685665, "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/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 15:08:04 +0000 (0:00:00.411) 0:03:15.340 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 15:08:04 +0000 (0:00:00.041) 0:03:15.382 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 15:08:04 +0000 (0:00:00.042) 0:03:15.424 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 15:08:04 +0000 (0:00:00.044) 0:03:15.469 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 15:08:04 +0000 (0:00:00.027) 0:03:15.497 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 15:08:04 +0000 (0:00:00.040) 0:03:15.537 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 15:08:04 +0000 (0:00:00.024) 0:03:15.562 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 15:08:06 +0000 (0:00:01.962) 0:03:17.524 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 15:08:06 +0000 (0:00:00.026) 0:03:17.551 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 15:08:06 +0000 (0:00:00.025) 0:03:17.577 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 15:08:06 +0000 (0:00:00.082) 0:03:17.659 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 15:08:07 +0000 (0:00:00.025) 0:03:17.685 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 15:08:07 +0000 (0:00:00.059) 0:03:17.745 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 15:08:07 +0000 (0:00:00.025) 0:03:17.770 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 15:08:07 +0000 (0:00:00.026) 0:03:17.796 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 15:08:07 +0000 (0:00:00.026) 0:03:17.823 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 15:08:07 +0000 (0:00:00.047) 0:03:17.871 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 15:08:07 +0000 (0:00:00.041) 0:03:17.912 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 15:08:07 +0000 (0:00:00.028) 0:03:17.940 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 15:08:07 +0000 (0:00:00.025) 0:03:17.966 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 15:08:07 +0000 (0:00:00.028) 0:03:17.995 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 15:08:07 +0000 (0:00:00.036) 0:03:18.031 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 15:08:07 +0000 (0:00:00.029) 0:03:18.061 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 15:08:07 +0000 (0:00:00.029) 0:03:18.090 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 15:08:07 +0000 (0:00:00.030) 0:03:18.120 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 15:08:07 +0000 (0:00:00.030) 0:03:18.151 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 15:08:07 +0000 (0:00:00.028) 0:03:18.179 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 15:08:07 +0000 (0:00:00.026) 0:03:18.205 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 15:08:07 +0000 (0:00:00.028) 0:03:18.233 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 15:08:07 +0000 (0:00:00.398) 0:03:18.632 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 15:08:08 +0000 (0:00:00.400) 0:03:19.032 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 15:08:08 +0000 (0:00:00.042) 0:03:19.075 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 15:08:08 +0000 (0:00:00.036) 0:03:19.111 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 15:08:08 +0000 (0:00:00.028) 0:03:19.140 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 15:08:08 +0000 (0:00:00.035) 0:03:19.175 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 15:08:08 +0000 (0:00:00.033) 0:03:19.209 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 15:08:08 +0000 (0:00:00.027) 0:03:19.236 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 15:08:08 +0000 (0:00:00.029) 0:03:19.266 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 15:08:08 +0000 (0:00:00.041) 0:03:19.307 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 15:08:08 +0000 (0:00:00.039) 0:03:19.346 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 15:08:08 +0000 (0:00:00.042) 0:03:19.388 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.039387", "end": "2022-07-06 15:08:07.768918", "rc": 0, "start": "2022-07-06 15:08:07.729531" } 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/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 15:08:09 +0000 (0:00:00.425) 0:03:19.814 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 15:08:09 +0000 (0:00:00.041) 0:03:19.856 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 15:08:09 +0000 (0:00:00.044) 0:03:19.901 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 15:08:09 +0000 (0:00:00.031) 0:03:19.932 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 15:08:09 +0000 (0:00:00.029) 0:03:19.962 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 15:08:09 +0000 (0:00:00.076) 0:03:20.038 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 15:08:09 +0000 (0:00:00.030) 0:03:20.069 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 15:08:09 +0000 (0:00:00.039) 0:03:20.109 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:47 Wednesday 06 July 2022 15:08:09 +0000 (0:00:00.039) 0:03:20.148 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 15:08:09 +0000 (0:00:00.024) 0:03:20.173 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Change volume size to "9g"] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_resize.yml:292 Wednesday 06 July 2022 15:08:09 +0000 (0:00:00.035) 0:03:20.208 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 15:08:09 +0000 (0:00:00.078) 0:03:20.286 ******** included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 15:08:09 +0000 (0:00:00.036) 0:03:20.323 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 15:08:10 +0000 (0:00:00.519) 0:03:20.843 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 15:08:10 +0000 (0:00:00.062) 0:03:20.906 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 15:08:10 +0000 (0:00:00.037) 0:03:20.943 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 15:08:10 +0000 (0:00:00.035) 0:03:20.979 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 15:08:10 +0000 (0:00:00.056) 0:03:21.036 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 15:08:10 +0000 (0:00:00.020) 0:03:21.056 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 15:08:10 +0000 (0:00:00.027) 0:03:21.083 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme0n1" ], "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 15:08:10 +0000 (0:00:00.039) 0:03:21.123 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 15:08:10 +0000 (0:00:00.035) 0:03:21.158 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 15:08:10 +0000 (0:00:00.027) 0:03:21.186 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 15:08:10 +0000 (0:00:00.026) 0:03:21.213 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 15:08:10 +0000 (0:00:00.033) 0:03:21.246 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 15:08:10 +0000 (0:00:00.029) 0:03:21.276 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 15:08:10 +0000 (0:00:00.052) 0:03:21.328 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 15:08:10 +0000 (0:00:00.026) 0:03:21.354 ******** changed: [/cache/fedora-35.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/sda", "/dev/sdb", "/dev/sdc", "/dev/mapper/foo-test1", "/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", "e2fsprogs", "dosfstools", "btrfs-progs" ], "pools": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 15:08:13 +0000 (0:00:02.782) 0:03:24.137 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 15:08:13 +0000 (0:00:00.028) 0:03:24.165 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 15:08:13 +0000 (0:00:00.024) 0:03:24.190 ******** ok: [/cache/fedora-35.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/sda", "/dev/sdb", "/dev/sdc", "/dev/mapper/foo-test1", "/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", "e2fsprogs", "dosfstools", "btrfs-progs" ], "pools": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 15:08:13 +0000 (0:00:00.054) 0:03:24.244 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 15:08:13 +0000 (0:00:00.046) 0:03:24.291 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 15:08:13 +0000 (0:00:00.039) 0:03:24.330 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 15:08:13 +0000 (0:00:00.032) 0:03:24.362 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 15:08:14 +0000 (0:00:00.735) 0:03:25.098 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 15:08:14 +0000 (0:00:00.452) 0:03:25.550 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 15:08:15 +0000 (0:00:00.737) 0:03:26.288 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 15:08:16 +0000 (0:00:00.396) 0:03:26.684 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 15:08:16 +0000 (0:00:00.026) 0:03:26.710 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_resize.yml:306 Wednesday 06 July 2022 15:08:16 +0000 (0:00:00.949) 0:03:27.660 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:1 Wednesday 06 July 2022 15:08:17 +0000 (0:00:00.059) 0:03:27.720 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpus9dv81c/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 15:08:17 +0000 (0:00:00.048) 0:03:27.769 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 15:08:17 +0000 (0:00:00.040) 0:03:27.809 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext2", "label": "", "name": "/dev/mapper/foo-test1", "size": "9G", "type": "lvm", "uuid": "27759b42-aaaf-40ec-a8e7-850c4d9ce0f1" }, "/dev/nvme0n1": { "fstype": "LVM2_member", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "50Hqu5-4AKY-BXdr-nRAc-2nju-iBtu-H9GYmt" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-15-04-36-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:19 Wednesday 06 July 2022 15:08:17 +0000 (0:00:00.452) 0:03:28.262 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002860", "end": "2022-07-06 15:08:16.672317", "rc": 0, "start": "2022-07-06 15:08:16.669457" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 ext2 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:24 Wednesday 06 July 2022 15:08:18 +0000 (0:00:00.459) 0:03:28.722 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003088", "end": "2022-07-06 15:08:17.080234", "failed_when_result": false, "rc": 0, "start": "2022-07-06 15:08:17.077146" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:33 Wednesday 06 July 2022 15:08:18 +0000 (0:00:00.409) 0:03:29.132 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['nvme0n1'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:5 Wednesday 06 July 2022 15:08:18 +0000 (0:00:00.096) 0:03:29.228 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:18 Wednesday 06 July 2022 15:08:18 +0000 (0:00:00.037) 0:03:29.266 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:1 Wednesday 06 July 2022 15:08:18 +0000 (0:00:00.050) 0:03:29.317 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme0n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:6 Wednesday 06 July 2022 15:08:18 +0000 (0:00:00.047) 0:03:29.365 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme0n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme0n1", "pv": "/dev/nvme0n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:15 Wednesday 06 July 2022 15:08:19 +0000 (0:00:00.394) 0:03:29.759 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:19 Wednesday 06 July 2022 15:08:19 +0000 (0:00:00.042) 0:03:29.801 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme0n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:23 Wednesday 06 July 2022 15:08:19 +0000 (0:00:00.042) 0:03:29.844 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:29 Wednesday 06 July 2022 15:08:19 +0000 (0:00:00.042) 0:03:29.887 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:33 Wednesday 06 July 2022 15:08:19 +0000 (0:00:00.055) 0:03:29.942 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:37 Wednesday 06 July 2022 15:08:19 +0000 (0:00:00.045) 0:03:29.988 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:41 Wednesday 06 July 2022 15:08:19 +0000 (0:00:00.026) 0:03:30.014 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme0n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme0n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:50 Wednesday 06 July 2022 15:08:19 +0000 (0:00:00.045) 0:03:30.060 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:6 Wednesday 06 July 2022 15:08:19 +0000 (0:00:00.044) 0:03:30.105 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:12 Wednesday 06 July 2022 15:08:19 +0000 (0:00:00.024) 0:03:30.130 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:16 Wednesday 06 July 2022 15:08:19 +0000 (0:00:00.024) 0:03:30.154 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:20 Wednesday 06 July 2022 15:08:19 +0000 (0:00:00.026) 0:03:30.181 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:24 Wednesday 06 July 2022 15:08:19 +0000 (0:00:00.024) 0:03:30.205 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:30 Wednesday 06 July 2022 15:08:19 +0000 (0:00:00.024) 0:03:30.230 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:36 Wednesday 06 July 2022 15:08:19 +0000 (0:00:00.025) 0:03:30.255 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:44 Wednesday 06 July 2022 15:08:19 +0000 (0:00:00.037) 0:03:30.292 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:53 Wednesday 06 July 2022 15:08:19 +0000 (0:00:00.038) 0:03:30.331 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 15:08:19 +0000 (0:00:00.047) 0:03:30.378 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 15:08:19 +0000 (0:00:00.047) 0:03:30.426 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 15:08:19 +0000 (0:00:00.030) 0:03:30.456 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 15:08:19 +0000 (0:00:00.030) 0:03:30.487 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:56 Wednesday 06 July 2022 15:08:19 +0000 (0:00:00.034) 0:03:30.522 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 15:08:19 +0000 (0:00:00.046) 0:03:30.568 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 15:08:19 +0000 (0:00:00.045) 0:03:30.613 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 15:08:19 +0000 (0:00:00.024) 0:03:30.637 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 15:08:19 +0000 (0:00:00.023) 0:03:30.661 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 15:08:20 +0000 (0:00:00.025) 0:03:30.686 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:59 Wednesday 06 July 2022 15:08:20 +0000 (0:00:00.071) 0:03:30.757 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 15:08:20 +0000 (0:00:00.047) 0:03:30.805 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 15:08:20 +0000 (0:00:00.042) 0:03:30.848 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme0n1) => { "_storage_test_pool_member_path": "/dev/nvme0n1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 15:08:20 +0000 (0:00:00.030) 0:03:30.878 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/nvme0n1) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 15:08:20 +0000 (0:00:00.047) 0:03:30.925 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:4 Wednesday 06 July 2022 15:08:20 +0000 (0:00:00.043) 0:03:30.969 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:9 Wednesday 06 July 2022 15:08:20 +0000 (0:00:00.040) 0:03:31.010 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:15 Wednesday 06 July 2022 15:08:20 +0000 (0:00:00.027) 0:03:31.038 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:21 Wednesday 06 July 2022 15:08:20 +0000 (0:00:00.029) 0:03:31.067 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:27 Wednesday 06 July 2022 15:08:20 +0000 (0:00:00.029) 0:03:31.097 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 15:08:20 +0000 (0:00:00.036) 0:03:31.133 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:62 Wednesday 06 July 2022 15:08:20 +0000 (0:00:00.037) 0:03:31.170 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 15:08:20 +0000 (0:00:00.050) 0:03:31.221 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 15:08:20 +0000 (0:00:00.046) 0:03:31.268 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 15:08:20 +0000 (0:00:00.026) 0:03:31.294 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 15:08:20 +0000 (0:00:00.026) 0:03:31.320 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 15:08:20 +0000 (0:00:00.028) 0:03:31.349 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 15:08:20 +0000 (0:00:00.029) 0:03:31.378 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 15:08:20 +0000 (0:00:00.028) 0:03:31.406 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 15:08:20 +0000 (0:00:00.027) 0:03:31.434 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 15:08:20 +0000 (0:00:00.026) 0:03:31.461 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:65 Wednesday 06 July 2022 15:08:20 +0000 (0:00:00.039) 0:03:31.500 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 15:08:20 +0000 (0:00:00.036) 0:03:31.537 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 15:08:20 +0000 (0:00:00.046) 0:03:31.583 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 15:08:20 +0000 (0:00:00.040) 0:03:31.624 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 15:08:21 +0000 (0:00:00.084) 0:03:31.709 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 15:08:21 +0000 (0:00:00.043) 0:03:31.753 ******** ok: [/cache/fedora-35.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": "27759b42-aaaf-40ec-a8e7-850c4d9ce0f1" } ], "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": "27759b42-aaaf-40ec-a8e7-850c4d9ce0f1" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 15:08:21 +0000 (0:00:00.050) 0:03:31.803 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 15:08:21 +0000 (0:00:00.041) 0:03:31.845 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 15:08:21 +0000 (0:00:00.041) 0:03:31.887 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 15:08:21 +0000 (0:00:00.045) 0:03:31.932 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 15:08:21 +0000 (0:00:00.027) 0:03:31.960 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 15:08:21 +0000 (0:00:00.025) 0:03:31.985 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 15:08:21 +0000 (0:00:00.023) 0:03:32.009 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 15:08:21 +0000 (0:00:00.132) 0:03:32.142 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/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/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 15:08:21 +0000 (0:00:00.061) 0:03:32.203 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 15:08:21 +0000 (0:00:00.052) 0:03:32.255 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 15:08:21 +0000 (0:00:00.045) 0:03:32.300 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 15:08:21 +0000 (0:00:00.031) 0:03:32.332 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 15:08:21 +0000 (0:00:00.040) 0:03:32.373 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 15:08:21 +0000 (0:00:00.044) 0:03:32.417 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 15:08:21 +0000 (0:00:00.049) 0:03:32.466 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657120093.4915667, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657120092.0355666, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 523, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657120092.0355666, "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/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 15:08:22 +0000 (0:00:00.416) 0:03:32.883 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 15:08:22 +0000 (0:00:00.040) 0:03:32.924 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 15:08:22 +0000 (0:00:00.044) 0:03:32.968 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 15:08:22 +0000 (0:00:00.039) 0:03:33.008 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 15:08:22 +0000 (0:00:00.027) 0:03:33.036 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 15:08:22 +0000 (0:00:00.046) 0:03:33.082 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 15:08:22 +0000 (0:00:00.034) 0:03:33.117 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 15:08:24 +0000 (0:00:01.933) 0:03:35.050 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 15:08:24 +0000 (0:00:00.027) 0:03:35.077 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 15:08:24 +0000 (0:00:00.026) 0:03:35.103 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 15:08:24 +0000 (0:00:00.042) 0:03:35.145 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 15:08:24 +0000 (0:00:00.023) 0:03:35.169 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 15:08:24 +0000 (0:00:00.023) 0:03:35.193 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 15:08:24 +0000 (0:00:00.025) 0:03:35.219 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 15:08:24 +0000 (0:00:00.024) 0:03:35.244 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 15:08:24 +0000 (0:00:00.023) 0:03:35.268 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 15:08:24 +0000 (0:00:00.042) 0:03:35.310 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 15:08:24 +0000 (0:00:00.046) 0:03:35.357 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 15:08:24 +0000 (0:00:00.028) 0:03:35.386 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 15:08:24 +0000 (0:00:00.026) 0:03:35.412 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 15:08:24 +0000 (0:00:00.025) 0:03:35.438 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 15:08:24 +0000 (0:00:00.040) 0:03:35.478 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 15:08:24 +0000 (0:00:00.027) 0:03:35.506 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 15:08:24 +0000 (0:00:00.028) 0:03:35.535 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 15:08:24 +0000 (0:00:00.028) 0:03:35.563 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 15:08:24 +0000 (0:00:00.030) 0:03:35.594 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 15:08:25 +0000 (0:00:00.092) 0:03:35.687 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 15:08:25 +0000 (0:00:00.029) 0:03:35.716 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 15:08:25 +0000 (0:00:00.029) 0:03:35.746 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 15:08:25 +0000 (0:00:00.401) 0:03:36.147 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 9663676416, "changed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 15:08:25 +0000 (0:00:00.397) 0:03:36.544 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "9663676416" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 15:08:25 +0000 (0:00:00.044) 0:03:36.588 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "9663676416" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 15:08:25 +0000 (0:00:00.039) 0:03:36.628 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 15:08:25 +0000 (0:00:00.026) 0:03:36.655 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 15:08:26 +0000 (0:00:00.028) 0:03:36.684 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 15:08:26 +0000 (0:00:00.029) 0:03:36.713 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 15:08:26 +0000 (0:00:00.029) 0:03:36.743 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 15:08:26 +0000 (0:00:00.028) 0:03:36.771 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 9663676416, "changed": false, "failed": false, "lvm": "9g", "parted": "9GiB", "size": "9 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 15:08:26 +0000 (0:00:00.047) 0:03:36.819 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "9663676416" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 15:08:26 +0000 (0:00:00.051) 0:03:36.870 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 15:08:26 +0000 (0:00:00.052) 0:03:36.923 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.043339", "end": "2022-07-06 15:08:25.315267", "rc": 0, "start": "2022-07-06 15:08:25.271928" } 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/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 15:08:26 +0000 (0:00:00.450) 0:03:37.373 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 15:08:26 +0000 (0:00:00.050) 0:03:37.424 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 15:08:26 +0000 (0:00:00.044) 0:03:37.468 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 15:08:26 +0000 (0:00:00.028) 0:03:37.497 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 15:08:26 +0000 (0:00:00.028) 0:03:37.525 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 15:08:26 +0000 (0:00:00.032) 0:03:37.557 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 15:08:26 +0000 (0:00:00.029) 0:03:37.587 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 15:08:26 +0000 (0:00:00.038) 0:03:37.625 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:47 Wednesday 06 July 2022 15:08:26 +0000 (0:00:00.039) 0:03:37.665 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 15:08:27 +0000 (0:00:00.024) 0:03:37.689 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Change volume size to "5g"] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_resize.yml:308 Wednesday 06 July 2022 15:08:27 +0000 (0:00:00.036) 0:03:37.726 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 15:08:27 +0000 (0:00:00.083) 0:03:37.810 ******** included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 15:08:27 +0000 (0:00:00.040) 0:03:37.850 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 15:08:27 +0000 (0:00:00.586) 0:03:38.437 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 15:08:27 +0000 (0:00:00.065) 0:03:38.502 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 15:08:27 +0000 (0:00:00.035) 0:03:38.538 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 15:08:27 +0000 (0:00:00.038) 0:03:38.577 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 15:08:27 +0000 (0:00:00.062) 0:03:38.639 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 15:08:27 +0000 (0:00:00.023) 0:03:38.663 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 15:08:28 +0000 (0:00:00.032) 0:03:38.696 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme0n1" ], "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 15:08:28 +0000 (0:00:00.046) 0:03:38.742 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 15:08:28 +0000 (0:00:00.040) 0:03:38.782 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 15:08:28 +0000 (0:00:00.031) 0:03:38.814 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 15:08:28 +0000 (0:00:00.028) 0:03:38.843 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 15:08:28 +0000 (0:00:00.032) 0:03:38.875 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 15:08:28 +0000 (0:00:00.028) 0:03:38.904 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 15:08:28 +0000 (0:00:00.053) 0:03:38.957 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 15:08:28 +0000 (0:00:00.021) 0:03:38.979 ******** changed: [/cache/fedora-35.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/sda", "/dev/sdb", "/dev/sdc", "/dev/mapper/foo-test1", "/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", "lvm2", "btrfs-progs", "dosfstools" ], "pools": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 15:08:31 +0000 (0:00:02.818) 0:03:41.798 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 15:08:31 +0000 (0:00:00.031) 0:03:41.829 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 15:08:31 +0000 (0:00:00.024) 0:03:41.853 ******** ok: [/cache/fedora-35.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/sda", "/dev/sdb", "/dev/sdc", "/dev/mapper/foo-test1", "/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", "lvm2", "btrfs-progs", "dosfstools" ], "pools": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 15:08:31 +0000 (0:00:00.046) 0:03:41.900 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 15:08:31 +0000 (0:00:00.044) 0:03:41.944 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 15:08:31 +0000 (0:00:00.046) 0:03:41.991 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 15:08:31 +0000 (0:00:00.031) 0:03:42.023 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 15:08:32 +0000 (0:00:00.742) 0:03:42.765 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 15:08:32 +0000 (0:00:00.452) 0:03:43.217 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 15:08:33 +0000 (0:00:00.721) 0:03:43.938 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 15:08:33 +0000 (0:00:00.395) 0:03:44.334 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 15:08:33 +0000 (0:00:00.026) 0:03:44.361 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_resize.yml:322 Wednesday 06 July 2022 15:08:34 +0000 (0:00:00.969) 0:03:45.331 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:1 Wednesday 06 July 2022 15:08:34 +0000 (0:00:00.063) 0:03:45.394 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpus9dv81c/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 15:08:34 +0000 (0:00:00.156) 0:03:45.550 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 15:08:34 +0000 (0:00:00.026) 0:03:45.577 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext2", "label": "", "name": "/dev/mapper/foo-test1", "size": "5G", "type": "lvm", "uuid": "27759b42-aaaf-40ec-a8e7-850c4d9ce0f1" }, "/dev/nvme0n1": { "fstype": "LVM2_member", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "50Hqu5-4AKY-BXdr-nRAc-2nju-iBtu-H9GYmt" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-15-04-36-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:19 Wednesday 06 July 2022 15:08:35 +0000 (0:00:00.413) 0:03:45.990 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002998", "end": "2022-07-06 15:08:34.333118", "rc": 0, "start": "2022-07-06 15:08:34.330120" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/mapper/foo-test1 /opt/test1 ext2 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:24 Wednesday 06 July 2022 15:08:35 +0000 (0:00:00.393) 0:03:46.383 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002907", "end": "2022-07-06 15:08:34.723668", "failed_when_result": false, "rc": 0, "start": "2022-07-06 15:08:34.720761" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:33 Wednesday 06 July 2022 15:08:36 +0000 (0:00:00.389) 0:03:46.772 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['nvme0n1'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:5 Wednesday 06 July 2022 15:08:36 +0000 (0:00:00.052) 0:03:46.825 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:18 Wednesday 06 July 2022 15:08:36 +0000 (0:00:00.041) 0:03:46.867 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:1 Wednesday 06 July 2022 15:08:36 +0000 (0:00:00.050) 0:03:46.917 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/nvme0n1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:6 Wednesday 06 July 2022 15:08:36 +0000 (0:00:00.044) 0:03:46.962 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme0n1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/nvme0n1", "pv": "/dev/nvme0n1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:15 Wednesday 06 July 2022 15:08:36 +0000 (0:00:00.395) 0:03:47.358 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:19 Wednesday 06 July 2022 15:08:36 +0000 (0:00:00.042) 0:03:47.400 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/nvme0n1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:23 Wednesday 06 July 2022 15:08:36 +0000 (0:00:00.042) 0:03:47.442 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:29 Wednesday 06 July 2022 15:08:36 +0000 (0:00:00.043) 0:03:47.486 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:33 Wednesday 06 July 2022 15:08:36 +0000 (0:00:00.040) 0:03:47.526 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:37 Wednesday 06 July 2022 15:08:36 +0000 (0:00:00.043) 0:03:47.570 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:41 Wednesday 06 July 2022 15:08:36 +0000 (0:00:00.026) 0:03:47.596 ******** ok: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme0n1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/nvme0n1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:50 Wednesday 06 July 2022 15:08:36 +0000 (0:00:00.047) 0:03:47.644 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:6 Wednesday 06 July 2022 15:08:37 +0000 (0:00:00.047) 0:03:47.691 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:12 Wednesday 06 July 2022 15:08:37 +0000 (0:00:00.026) 0:03:47.718 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:16 Wednesday 06 July 2022 15:08:37 +0000 (0:00:00.025) 0:03:47.744 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:20 Wednesday 06 July 2022 15:08:37 +0000 (0:00:00.026) 0:03:47.771 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:24 Wednesday 06 July 2022 15:08:37 +0000 (0:00:00.026) 0:03:47.797 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:30 Wednesday 06 July 2022 15:08:37 +0000 (0:00:00.027) 0:03:47.824 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:36 Wednesday 06 July 2022 15:08:37 +0000 (0:00:00.026) 0:03:47.850 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:44 Wednesday 06 July 2022 15:08:37 +0000 (0:00:00.026) 0:03:47.876 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:53 Wednesday 06 July 2022 15:08:37 +0000 (0:00:00.033) 0:03:47.910 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 15:08:37 +0000 (0:00:00.043) 0:03:47.953 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 15:08:37 +0000 (0:00:00.082) 0:03:48.036 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 15:08:37 +0000 (0:00:00.038) 0:03:48.075 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 15:08:37 +0000 (0:00:00.036) 0:03:48.112 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:56 Wednesday 06 July 2022 15:08:37 +0000 (0:00:00.033) 0:03:48.146 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 15:08:37 +0000 (0:00:00.049) 0:03:48.195 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 15:08:37 +0000 (0:00:00.048) 0:03:48.243 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 15:08:37 +0000 (0:00:00.023) 0:03:48.267 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 15:08:37 +0000 (0:00:00.023) 0:03:48.291 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 15:08:37 +0000 (0:00:00.024) 0:03:48.315 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:59 Wednesday 06 July 2022 15:08:37 +0000 (0:00:00.027) 0:03:48.342 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 15:08:37 +0000 (0:00:00.048) 0:03:48.391 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 15:08:37 +0000 (0:00:00.042) 0:03:48.433 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=/dev/nvme0n1) => { "_storage_test_pool_member_path": "/dev/nvme0n1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 15:08:37 +0000 (0:00:00.027) 0:03:48.461 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml for /cache/fedora-35.qcow2.snap => (item=/dev/nvme0n1) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:1 Wednesday 06 July 2022 15:08:37 +0000 (0:00:00.045) 0:03:48.506 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:4 Wednesday 06 July 2022 15:08:37 +0000 (0:00:00.043) 0:03:48.550 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:9 Wednesday 06 July 2022 15:08:37 +0000 (0:00:00.039) 0:03:48.589 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:15 Wednesday 06 July 2022 15:08:37 +0000 (0:00:00.027) 0:03:48.617 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:21 Wednesday 06 July 2022 15:08:37 +0000 (0:00:00.025) 0:03:48.642 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-crypttab.yml:27 Wednesday 06 July 2022 15:08:38 +0000 (0:00:00.029) 0:03:48.672 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 15:08:38 +0000 (0:00:00.034) 0:03:48.706 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:62 Wednesday 06 July 2022 15:08:38 +0000 (0:00:00.034) 0:03:48.741 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 15:08:38 +0000 (0:00:00.051) 0:03:48.793 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 15:08:38 +0000 (0:00:00.047) 0:03:48.840 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 15:08:38 +0000 (0:00:00.024) 0:03:48.865 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 15:08:38 +0000 (0:00:00.025) 0:03:48.890 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 15:08:38 +0000 (0:00:00.027) 0:03:48.917 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 15:08:38 +0000 (0:00:00.024) 0:03:48.941 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 15:08:38 +0000 (0:00:00.023) 0:03:48.965 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 15:08:38 +0000 (0:00:00.025) 0:03:48.990 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 15:08:38 +0000 (0:00:00.023) 0:03:49.014 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:65 Wednesday 06 July 2022 15:08:38 +0000 (0:00:00.035) 0:03:49.049 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 15:08:38 +0000 (0:00:00.049) 0:03:49.098 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 15:08:38 +0000 (0:00:00.047) 0:03:49.145 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 15:08:38 +0000 (0:00:00.103) 0:03:49.248 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 15:08:38 +0000 (0:00:00.139) 0:03:49.388 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 15:08:38 +0000 (0:00:00.045) 0:03:49.433 ******** ok: [/cache/fedora-35.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": "27759b42-aaaf-40ec-a8e7-850c4d9ce0f1" } ], "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": "27759b42-aaaf-40ec-a8e7-850c4d9ce0f1" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 15:08:38 +0000 (0:00:00.048) 0:03:49.482 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 15:08:38 +0000 (0:00:00.042) 0:03:49.525 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 15:08:38 +0000 (0:00:00.043) 0:03:49.568 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 15:08:38 +0000 (0:00:00.041) 0:03:49.609 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 15:08:38 +0000 (0:00:00.027) 0:03:49.636 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 15:08:38 +0000 (0:00:00.026) 0:03:49.663 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 15:08:39 +0000 (0:00:00.028) 0:03:49.691 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 15:08:39 +0000 (0:00:00.042) 0:03:49.734 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/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/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 15:08:39 +0000 (0:00:00.056) 0:03:49.791 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 15:08:39 +0000 (0:00:00.044) 0:03:49.835 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 15:08:39 +0000 (0:00:00.047) 0:03:49.882 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 15:08:39 +0000 (0:00:00.029) 0:03:49.912 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 15:08:39 +0000 (0:00:00.039) 0:03:49.951 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 15:08:39 +0000 (0:00:00.044) 0:03:49.995 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 15:08:39 +0000 (0:00:00.047) 0:03:50.042 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657120111.1635666, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1657120109.6705666, "dev": 5, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 523, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1657120109.6705666, "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/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 15:08:39 +0000 (0:00:00.400) 0:03:50.443 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 15:08:39 +0000 (0:00:00.042) 0:03:50.485 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 15:08:39 +0000 (0:00:00.043) 0:03:50.529 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 15:08:39 +0000 (0:00:00.036) 0:03:50.565 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 15:08:39 +0000 (0:00:00.023) 0:03:50.589 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 15:08:39 +0000 (0:00:00.039) 0:03:50.628 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 15:08:39 +0000 (0:00:00.027) 0:03:50.656 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 15:08:41 +0000 (0:00:01.925) 0:03:52.582 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 15:08:41 +0000 (0:00:00.027) 0:03:52.609 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 15:08:41 +0000 (0:00:00.027) 0:03:52.636 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 15:08:42 +0000 (0:00:00.041) 0:03:52.677 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 15:08:42 +0000 (0:00:00.028) 0:03:52.705 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 15:08:42 +0000 (0:00:00.027) 0:03:52.733 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 15:08:42 +0000 (0:00:00.030) 0:03:52.763 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 15:08:42 +0000 (0:00:00.081) 0:03:52.844 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 15:08:42 +0000 (0:00:00.028) 0:03:52.872 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 15:08:42 +0000 (0:00:00.048) 0:03:52.921 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 15:08:42 +0000 (0:00:00.051) 0:03:52.972 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 15:08:42 +0000 (0:00:00.036) 0:03:53.008 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 15:08:42 +0000 (0:00:00.029) 0:03:53.038 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 15:08:42 +0000 (0:00:00.029) 0:03:53.067 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 15:08:42 +0000 (0:00:00.050) 0:03:53.117 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 15:08:42 +0000 (0:00:00.027) 0:03:53.145 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 15:08:42 +0000 (0:00:00.026) 0:03:53.172 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 15:08:42 +0000 (0:00:00.029) 0:03:53.201 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 15:08:42 +0000 (0:00:00.031) 0:03:53.232 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 15:08:42 +0000 (0:00:00.028) 0:03:53.261 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 15:08:42 +0000 (0:00:00.028) 0:03:53.289 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 15:08:42 +0000 (0:00:00.027) 0:03:53.316 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 15:08:43 +0000 (0:00:00.396) 0:03:53.713 ******** ok: [/cache/fedora-35.qcow2.snap] => { "bytes": 5368709120, "changed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 15:08:43 +0000 (0:00:00.396) 0:03:54.109 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_expected_size": "5368709120" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 15:08:43 +0000 (0:00:00.043) 0:03:54.152 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 15:08:43 +0000 (0:00:00.041) 0:03:54.194 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 15:08:43 +0000 (0:00:00.028) 0:03:54.223 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 15:08:43 +0000 (0:00:00.030) 0:03:54.254 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 15:08:43 +0000 (0:00:00.029) 0:03:54.283 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 15:08:43 +0000 (0:00:00.028) 0:03:54.312 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 15:08:43 +0000 (0:00:00.029) 0:03:54.342 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "bytes": 5368709120, "changed": false, "failed": false, "lvm": "5g", "parted": "5GiB", "size": "5 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 15:08:43 +0000 (0:00:00.038) 0:03:54.380 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 15:08:43 +0000 (0:00:00.038) 0:03:54.418 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 15:08:43 +0000 (0:00:00.048) 0:03:54.466 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.033892", "end": "2022-07-06 15:08:42.853086", "rc": 0, "start": "2022-07-06 15:08:42.819194" } 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/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 15:08:44 +0000 (0:00:00.436) 0:03:54.903 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 15:08:44 +0000 (0:00:00.041) 0:03:54.945 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 15:08:44 +0000 (0:00:00.040) 0:03:54.985 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 15:08:44 +0000 (0:00:00.027) 0:03:55.013 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 15:08:44 +0000 (0:00:00.027) 0:03:55.040 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 15:08:44 +0000 (0:00:00.028) 0:03:55.069 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 15:08:44 +0000 (0:00:00.027) 0:03:55.096 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 15:08:44 +0000 (0:00:00.084) 0:03:55.181 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:47 Wednesday 06 July 2022 15:08:44 +0000 (0:00:00.136) 0:03:55.317 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 15:08:44 +0000 (0:00:00.024) 0:03:55.342 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_resize.yml:324 Wednesday 06 July 2022 15:08:44 +0000 (0:00:00.038) 0:03:55.380 ******** TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Wednesday 06 July 2022 15:08:44 +0000 (0:00:00.092) 0:03:55.472 ******** included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Wednesday 06 July 2022 15:08:44 +0000 (0:00:00.041) 0:03:55.513 ******** ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Wednesday 06 July 2022 15:08:45 +0000 (0:00:00.536) 0:03:56.050 ******** skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "_storage_copr_packages": [ { "packages": [ "vdo", "kmod-vdo" ], "repository": "rhawalsh/dm-vdo" } ], "_storage_copr_support_packages": [ "dnf-plugins-core" ], "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Wednesday 06 July 2022 15:08:45 +0000 (0:00:00.068) 0:03:56.118 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Wednesday 06 July 2022 15:08:45 +0000 (0:00:00.038) 0:03:56.157 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Wednesday 06 July 2022 15:08:45 +0000 (0:00:00.036) 0:03:56.193 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Wednesday 06 July 2022 15:08:45 +0000 (0:00:00.058) 0:03:56.252 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Wednesday 06 July 2022 15:08:45 +0000 (0:00:00.035) 0:03:56.287 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Wednesday 06 July 2022 15:08:45 +0000 (0:00:00.034) 0:03:56.321 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_pools": [ { "disks": [ "nvme0n1" ], "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Wednesday 06 July 2022 15:08:45 +0000 (0:00:00.044) 0:03:56.366 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Wednesday 06 July 2022 15:08:45 +0000 (0:00:00.042) 0:03:56.409 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Wednesday 06 July 2022 15:08:45 +0000 (0:00:00.034) 0:03:56.443 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Wednesday 06 July 2022 15:08:45 +0000 (0:00:00.032) 0:03:56.476 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Wednesday 06 July 2022 15:08:45 +0000 (0:00:00.029) 0:03:56.505 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Wednesday 06 July 2022 15:08:45 +0000 (0:00:00.028) 0:03:56.534 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Wednesday 06 July 2022 15:08:45 +0000 (0:00:00.051) 0:03:56.585 ******** TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Wednesday 06 July 2022 15:08:45 +0000 (0:00:00.025) 0:03:56.611 ******** changed: [/cache/fedora-35.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/nvme0n1", "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": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Wednesday 06 July 2022 15:08:48 +0000 (0:00:02.727) 0:03:59.338 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Wednesday 06 July 2022 15:08:48 +0000 (0:00:00.030) 0:03:59.368 ******** TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Wednesday 06 July 2022 15:08:48 +0000 (0:00:00.025) 0:03:59.394 ******** ok: [/cache/fedora-35.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/nvme0n1", "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": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Wednesday 06 July 2022 15:08:48 +0000 (0:00:00.098) 0:03:59.493 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Wednesday 06 July 2022 15:08:48 +0000 (0:00:00.091) 0:03:59.584 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Wednesday 06 July 2022 15:08:49 +0000 (0:00:00.158) 0:03:59.743 ******** redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/fedora-35.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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Wednesday 06 July 2022 15:08:49 +0000 (0:00:00.420) 0:04:00.163 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Wednesday 06 July 2022 15:08:50 +0000 (0:00:00.720) 0:04:00.884 ******** TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Wednesday 06 July 2022 15:08:50 +0000 (0:00:00.032) 0:04:00.916 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Wednesday 06 July 2022 15:08:50 +0000 (0:00:00.699) 0:04:01.615 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1657093385.4860332, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1657005647.423, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 267, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1657005500.596, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "10", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Wednesday 06 July 2022 15:08:51 +0000 (0:00:00.394) 0:04:02.010 ******** TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Wednesday 06 July 2022 15:08:51 +0000 (0:00:00.026) 0:04:02.037 ******** ok: [/cache/fedora-35.qcow2.snap] META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/tests_resize.yml:337 Wednesday 06 July 2022 15:08:52 +0000 (0:00:00.941) 0:04:02.978 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml for /cache/fedora-35.qcow2.snap TASK [Print out pool information] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:1 Wednesday 06 July 2022 15:08:52 +0000 (0:00:00.064) 0:04:03.043 ******** ok: [/cache/fedora-35.qcow2.snap] => { "_storage_pools_list": [ { "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "nvme0n1" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "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/tmpus9dv81c/tests/storage/verify-role-results.yml:6 Wednesday 06 July 2022 15:08:52 +0000 (0:00:00.047) 0:04:03.091 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:14 Wednesday 06 July 2022 15:08:52 +0000 (0:00:00.036) 0:04:03.127 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-06-15-04-36-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "4G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "ext4", "label": "boot", "name": "/dev/vda2", "size": "500M", "type": "partition", "uuid": "5f2f82d0-ae0a-4574-8811-62a31a51a870" }, "/dev/vda3": { "fstype": "vfat", "label": "", "name": "/dev/vda3", "size": "100M", "type": "partition", "uuid": "5B84-6DD7" }, "/dev/vda4": { "fstype": "", "label": "", "name": "/dev/vda4", "size": "4M", "type": "partition", "uuid": "" }, "/dev/vda5": { "fstype": "btrfs", "label": "fedora", "name": "/dev/vda5", "size": "3.4G", "type": "partition", "uuid": "fbdaf05f-1a41-4dc5-b56e-a10edb430f9a" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdb1": { "fstype": "ext4", "label": "yumcache", "name": "/dev/vdb1", "size": "2G", "type": "partition", "uuid": "e676dfc5-3e4b-4331-8ede-73c3f56d2cab" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "2G", "type": "disk", "uuid": "" }, "/dev/vdc1": { "fstype": "ext4", "label": "yumvarlib", "name": "/dev/vdc1", "size": "2G", "type": "partition", "uuid": "0c299eb4-81f5-4414-b246-b95738eb82f0" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vde": { "fstype": "", "label": "", "name": "/dev/vde", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdf": { "fstype": "", "label": "", "name": "/dev/vdf", "size": "10G", "type": "disk", "uuid": "" }, "/dev/zram0": { "fstype": "", "label": "", "name": "/dev/zram0", "size": "1.9G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:19 Wednesday 06 July 2022 15:08:52 +0000 (0:00:00.407) 0:04:03.535 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002889", "end": "2022-07-06 15:08:51.880707", "rc": 0, "start": "2022-07-06 15:08:51.877818" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 5 07:18:20 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a / btrfs subvol=root,compress=zstd:1 0 0 UUID=5f2f82d0-ae0a-4574-8811-62a31a51a870 /boot ext4 defaults 1 2 UUID=5B84-6DD7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 UUID=fbdaf05f-1a41-4dc5-b56e-a10edb430f9a /home btrfs subvol=home,compress=zstd:1 0 0 /dev/vdb1 /var/cache/dnf auto defaults,nofail,comment=cloudconfig 0 2 /dev/vdc1 /var/lib/dnf auto defaults,nofail,comment=cloudconfig 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:24 Wednesday 06 July 2022 15:08:53 +0000 (0:00:00.392) 0:04:03.927 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003005", "end": "2022-07-06 15:08:52.320205", "failed_when_result": false, "rc": 0, "start": "2022-07-06 15:08:52.317200" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:33 Wednesday 06 July 2022 15:08:53 +0000 (0:00:00.440) 0:04:04.368 ******** [WARNING]: The loop variable 'storage_test_pool' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml for /cache/fedora-35.qcow2.snap => (item={'disks': ['nvme0n1'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'absent', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:5 Wednesday 06 July 2022 15:08:53 +0000 (0:00:00.050) 0:04:04.419 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool.yml:18 Wednesday 06 July 2022 15:08:53 +0000 (0:00:00.147) 0:04:04.566 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml for /cache/fedora-35.qcow2.snap => (item=members) included: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml for /cache/fedora-35.qcow2.snap => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:1 Wednesday 06 July 2022 15:08:53 +0000 (0:00:00.048) 0:04:04.614 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_count": "0", "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:6 Wednesday 06 July 2022 15:08:53 +0000 (0:00:00.048) 0:04:04.663 ******** TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:15 Wednesday 06 July 2022 15:08:54 +0000 (0:00:00.021) 0:04:04.684 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:19 Wednesday 06 July 2022 15:08:54 +0000 (0:00:00.038) 0:04:04.723 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:23 Wednesday 06 July 2022 15:08:54 +0000 (0:00:00.045) 0:04:04.769 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:29 Wednesday 06 July 2022 15:08:54 +0000 (0:00:00.043) 0:04:04.812 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:33 Wednesday 06 July 2022 15:08:54 +0000 (0:00:00.036) 0:04:04.849 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:37 Wednesday 06 July 2022 15:08:54 +0000 (0:00:00.038) 0:04:04.887 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:41 Wednesday 06 July 2022 15:08:54 +0000 (0:00:00.023) 0:04:04.910 ******** TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:50 Wednesday 06 July 2022 15:08:54 +0000 (0:00:00.024) 0:04:04.935 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml for /cache/fedora-35.qcow2.snap TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:6 Wednesday 06 July 2022 15:08:54 +0000 (0:00:00.041) 0:04:04.977 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:12 Wednesday 06 July 2022 15:08:54 +0000 (0:00:00.023) 0:04:05.000 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:16 Wednesday 06 July 2022 15:08:54 +0000 (0:00:00.024) 0:04:05.025 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:20 Wednesday 06 July 2022 15:08:54 +0000 (0:00:00.024) 0:04:05.049 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:24 Wednesday 06 July 2022 15:08:54 +0000 (0:00:00.025) 0:04:05.075 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:30 Wednesday 06 July 2022 15:08:54 +0000 (0:00:00.026) 0:04:05.102 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:36 Wednesday 06 July 2022 15:08:54 +0000 (0:00:00.026) 0:04:05.128 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-md.yml:44 Wednesday 06 July 2022 15:08:54 +0000 (0:00:00.024) 0:04:05.153 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:53 Wednesday 06 July 2022 15:08:54 +0000 (0:00:00.040) 0:04:05.194 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-lvmraid.yml:1 Wednesday 06 July 2022 15:08:54 +0000 (0:00:00.048) 0:04:05.243 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:3 Wednesday 06 July 2022 15:08:54 +0000 (0:00:00.044) 0:04:05.287 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:8 Wednesday 06 July 2022 15:08:54 +0000 (0:00:00.027) 0:04:05.315 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-lvmraid.yml:12 Wednesday 06 July 2022 15:08:54 +0000 (0:00:00.030) 0:04:05.345 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:56 Wednesday 06 July 2022 15:08:54 +0000 (0:00:00.030) 0:04:05.376 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-thin.yml:1 Wednesday 06 July 2022 15:08:54 +0000 (0:00:00.047) 0:04:05.423 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:3 Wednesday 06 July 2022 15:08:54 +0000 (0:00:00.057) 0:04:05.481 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:8 Wednesday 06 July 2022 15:08:54 +0000 (0:00:00.027) 0:04:05.508 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:13 Wednesday 06 July 2022 15:08:54 +0000 (0:00:00.023) 0:04:05.532 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-thin.yml:17 Wednesday 06 July 2022 15:08:54 +0000 (0:00:00.023) 0:04:05.555 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:59 Wednesday 06 July 2022 15:08:54 +0000 (0:00:00.022) 0:04:05.578 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml for /cache/fedora-35.qcow2.snap TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:4 Wednesday 06 July 2022 15:08:54 +0000 (0:00:00.047) 0:04:05.625 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:8 Wednesday 06 July 2022 15:08:54 +0000 (0:00:00.038) 0:04:05.664 ******** TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:15 Wednesday 06 July 2022 15:08:55 +0000 (0:00:00.023) 0:04:05.687 ******** TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-encryption.yml:22 Wednesday 06 July 2022 15:08:55 +0000 (0:00:00.022) 0:04:05.709 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:62 Wednesday 06 July 2022 15:08:55 +0000 (0:00:00.113) 0:04:05.823 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml for /cache/fedora-35.qcow2.snap TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-members-vdo.yml:1 Wednesday 06 July 2022 15:08:55 +0000 (0:00:00.049) 0:04:05.872 ******** included: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:3 Wednesday 06 July 2022 15:08:55 +0000 (0:00:00.045) 0:04:05.918 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:8 Wednesday 06 July 2022 15:08:55 +0000 (0:00:00.026) 0:04:05.944 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:11 Wednesday 06 July 2022 15:08:55 +0000 (0:00:00.026) 0:04:05.971 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:16 Wednesday 06 July 2022 15:08:55 +0000 (0:00:00.025) 0:04:05.996 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:21 Wednesday 06 July 2022 15:08:55 +0000 (0:00:00.025) 0:04:06.022 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:24 Wednesday 06 July 2022 15:08:55 +0000 (0:00:00.024) 0:04:06.047 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:29 Wednesday 06 July 2022 15:08:55 +0000 (0:00:00.024) 0:04:06.071 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/verify-pool-member-vdo.yml:39 Wednesday 06 July 2022 15:08:55 +0000 (0:00:00.026) 0:04:06.097 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-members.yml:65 Wednesday 06 July 2022 15:08:55 +0000 (0:00:00.039) 0:04:06.137 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-pool-volumes.yml:3 Wednesday 06 July 2022 15:08:55 +0000 (0:00:00.035) 0:04:06.173 ******** [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml for /cache/fedora-35.qcow2.snap => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': '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': ['nvme0n1'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:2 Wednesday 06 July 2022 15:08:55 +0000 (0:00:00.044) 0:04:06.217 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:10 Wednesday 06 July 2022 15:08:55 +0000 (0:00:00.042) 0:04:06.260 ******** included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml for /cache/fedora-35.qcow2.snap => (item=mount) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml for /cache/fedora-35.qcow2.snap => (item=fstab) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml for /cache/fedora-35.qcow2.snap => (item=fs) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml for /cache/fedora-35.qcow2.snap => (item=device) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml for /cache/fedora-35.qcow2.snap => (item=encryption) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml for /cache/fedora-35.qcow2.snap => (item=md) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml for /cache/fedora-35.qcow2.snap => (item=size) included: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml for /cache/fedora-35.qcow2.snap => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:6 Wednesday 06 July 2022 15:08:55 +0000 (0:00:00.084) 0:04:06.344 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:10 Wednesday 06 July 2022 15:08:55 +0000 (0:00:00.049) 0:04:06.393 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:20 Wednesday 06 July 2022 15:08:55 +0000 (0:00:00.050) 0:04:06.443 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:29 Wednesday 06 July 2022 15:08:55 +0000 (0:00:00.026) 0:04:06.470 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:37 Wednesday 06 July 2022 15:08:55 +0000 (0:00:00.037) 0:04:06.508 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:46 Wednesday 06 July 2022 15:08:55 +0000 (0:00:00.025) 0:04:06.533 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:50 Wednesday 06 July 2022 15:08:55 +0000 (0:00:00.024) 0:04:06.558 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:55 Wednesday 06 July 2022 15:08:55 +0000 (0:00:00.026) 0:04:06.584 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-mount.yml:65 Wednesday 06 July 2022 15:08:55 +0000 (0:00:00.023) 0:04:06.607 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:2 Wednesday 06 July 2022 15:08:55 +0000 (0:00:00.034) 0:04:06.642 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:12 Wednesday 06 July 2022 15:08:56 +0000 (0:00:00.060) 0:04:06.702 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:19 Wednesday 06 July 2022 15:08:56 +0000 (0:00:00.025) 0:04:06.728 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:25 Wednesday 06 July 2022 15:08:56 +0000 (0:00:00.039) 0:04:06.767 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fstab.yml:34 Wednesday 06 July 2022 15:08:56 +0000 (0:00:00.028) 0:04:06.796 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:4 Wednesday 06 July 2022 15:08:56 +0000 (0:00:00.049) 0:04:06.845 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-fs.yml:10 Wednesday 06 July 2022 15:08:56 +0000 (0:00:00.028) 0:04:06.874 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:4 Wednesday 06 July 2022 15:08:56 +0000 (0:00:00.023) 0:04:06.898 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:10 Wednesday 06 July 2022 15:08:56 +0000 (0:00:00.396) 0:04:07.294 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:15 Wednesday 06 July 2022 15:08:56 +0000 (0:00:00.045) 0:04:07.339 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:21 Wednesday 06 July 2022 15:08:56 +0000 (0:00:00.024) 0:04:07.364 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:25 Wednesday 06 July 2022 15:08:56 +0000 (0:00:00.124) 0:04:07.488 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-device.yml:30 Wednesday 06 July 2022 15:08:56 +0000 (0:00:00.028) 0:04:07.517 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:3 Wednesday 06 July 2022 15:08:56 +0000 (0:00:00.024) 0:04:07.542 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 Wednesday 06 July 2022 15:08:56 +0000 (0:00:00.023) 0:04:07.565 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:15 Wednesday 06 July 2022 15:08:58 +0000 (0:00:02.000) 0:04:09.565 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:21 Wednesday 06 July 2022 15:08:58 +0000 (0:00:00.026) 0:04:09.591 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:27 Wednesday 06 July 2022 15:08:58 +0000 (0:00:00.024) 0:04:09.616 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:33 Wednesday 06 July 2022 15:08:58 +0000 (0:00:00.032) 0:04:09.648 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:39 Wednesday 06 July 2022 15:08:59 +0000 (0:00:00.031) 0:04:09.680 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:44 Wednesday 06 July 2022 15:08:59 +0000 (0:00:00.025) 0:04:09.705 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:50 Wednesday 06 July 2022 15:08:59 +0000 (0:00:00.024) 0:04:09.730 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:56 Wednesday 06 July 2022 15:08:59 +0000 (0:00:00.023) 0:04:09.753 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:62 Wednesday 06 July 2022 15:08:59 +0000 (0:00:00.024) 0:04:09.778 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:67 Wednesday 06 July 2022 15:08:59 +0000 (0:00:00.044) 0:04:09.823 ******** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:72 Wednesday 06 July 2022 15:08:59 +0000 (0:00:00.043) 0:04:09.866 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:78 Wednesday 06 July 2022 15:08:59 +0000 (0:00:00.028) 0:04:09.895 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:84 Wednesday 06 July 2022 15:08:59 +0000 (0:00:00.030) 0:04:09.926 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:90 Wednesday 06 July 2022 15:08:59 +0000 (0:00:00.027) 0:04:09.953 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:7 Wednesday 06 July 2022 15:08:59 +0000 (0:00:00.038) 0:04:09.991 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:13 Wednesday 06 July 2022 15:08:59 +0000 (0:00:00.030) 0:04:10.022 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:17 Wednesday 06 July 2022 15:08:59 +0000 (0:00:00.031) 0:04:10.053 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:21 Wednesday 06 July 2022 15:08:59 +0000 (0:00:00.030) 0:04:10.084 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:25 Wednesday 06 July 2022 15:08:59 +0000 (0:00:00.030) 0:04:10.114 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:31 Wednesday 06 July 2022 15:08:59 +0000 (0:00:00.029) 0:04:10.144 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-md.yml:37 Wednesday 06 July 2022 15:08:59 +0000 (0:00:00.032) 0:04:10.176 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:3 Wednesday 06 July 2022 15:08:59 +0000 (0:00:00.029) 0:04:10.206 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:9 Wednesday 06 July 2022 15:08:59 +0000 (0:00:00.028) 0:04:10.235 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:15 Wednesday 06 July 2022 15:08:59 +0000 (0:00:00.028) 0:04:10.263 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:20 Wednesday 06 July 2022 15:08:59 +0000 (0:00:00.029) 0:04:10.293 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:25 Wednesday 06 July 2022 15:08:59 +0000 (0:00:00.041) 0:04:10.335 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:28 Wednesday 06 July 2022 15:08:59 +0000 (0:00:00.029) 0:04:10.365 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:31 Wednesday 06 July 2022 15:08:59 +0000 (0:00:00.030) 0:04:10.395 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:36 Wednesday 06 July 2022 15:08:59 +0000 (0:00:00.029) 0:04:10.425 ******** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:39 Wednesday 06 July 2022 15:08:59 +0000 (0:00:00.027) 0:04:10.452 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:44 Wednesday 06 July 2022 15:08:59 +0000 (0:00:00.030) 0:04:10.483 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:47 Wednesday 06 July 2022 15:08:59 +0000 (0:00:00.043) 0:04:10.526 ******** ok: [/cache/fedora-35.qcow2.snap] => { "storage_test_expected_size": "5368709120" } TASK [assert] ****************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-size.yml:50 Wednesday 06 July 2022 15:08:59 +0000 (0:00:00.040) 0:04:10.566 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:6 Wednesday 06 July 2022 15:08:59 +0000 (0:00:00.023) 0:04:10.590 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:14 Wednesday 06 July 2022 15:08:59 +0000 (0:00:00.026) 0:04:10.617 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:17 Wednesday 06 July 2022 15:08:59 +0000 (0:00:00.024) 0:04:10.642 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:22 Wednesday 06 July 2022 15:09:00 +0000 (0:00:00.027) 0:04:10.669 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:26 Wednesday 06 July 2022 15:09:00 +0000 (0:00:00.026) 0:04:10.695 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:32 Wednesday 06 July 2022 15:09:00 +0000 (0:00:00.026) 0:04:10.722 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume-cache.yml:36 Wednesday 06 July 2022 15:09:00 +0000 (0:00:00.024) 0:04:10.747 ******** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpus9dv81c/tests/storage/test-verify-volume.yml:16 Wednesday 06 July 2022 15:09:00 +0000 (0:00:00.025) 0:04:10.772 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:40 Wednesday 06 July 2022 15:09:00 +0000 (0:00:00.040) 0:04:10.812 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_pool": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:47 Wednesday 06 July 2022 15:09:00 +0000 (0:00:00.088) 0:04:10.901 ******** TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpus9dv81c/tests/storage/verify-role-results.yml:57 Wednesday 06 July 2022 15:09:00 +0000 (0:00:00.024) 0:04:10.925 ******** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null, "storage_test_volume": null }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=1259 changed=26 unreachable=0 failed=3 skipped=1005 rescued=3 ignored=0 Wednesday 06 July 2022 15:09:00 +0000 (0:00:00.095) 0:04:11.021 ******** =============================================================================== fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.92s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.82s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.78s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.73s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.72s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.72s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.71s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.66s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.63s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.63s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.58s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : make sure blivet is available ------- 2.50s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.38s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.32s /tmp/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Ensure cryptsetup is present -------------------------------------------- 2.14s /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 2.08s /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 2.04s /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 2.04s /tmp/tmpus9dv81c/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/tmpfdufgi2k/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Ensure cryptsetup is present -------------------------------------------- 2.00s /tmp/tmpus9dv81c/tests/storage/test-verify-volume-encryption.yml:10 -----------